Summary
Finish a manual task
Description
Work a manual Task.
Route
POST /operations-manager/jobs/:jobId/tasks/:taskId/finish
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
jobId | string | yes | The id of the Job containing the Task to be worked. |
taskId | string | yes | The id of the Task to be worked. |
taskData | object | yes | The data used to complete the manual Task. |
{ "taskData": { "finish_state": "ullamco occaecat ex ipsum" } }
{ "type": "object", "properties": { "taskData": { "title": "taskData", "type": "object", "properties": { "finish_state": { "type": "string" }, "variables": { "type": "object" } }, "required": [ "finish_state", "variables" ] } }, "required": [ "taskData" ], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
result | object | The result of the finish manual Task operation. |
{ "message": "Successfully imported 3 of 4 documents", "data": { "_id": "6c1b1d46380428df932a39be", "font_size": -64468169, "type": "automation", "created": "1980-09-25T09:51:00.321Z", "last_updated": "1952-03-27T20:44:44.125Z", "createdVersion": "440722.78866121798.69070-1038.0643927.0916.9", "lastUpdatedVersion": "153.1.87019241577-7148.661382.4712384.0921", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 7731517, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -99369853.28684363, "sla": 71892298.46060425, "decorators": [ { "type": "encryption", "pointer": "/mHHZo+axx/~1/~1/~1/lUEzsiZc/~1/~1/H/RvKkW8w1WR/jQS72JwW/~1" }, { "type": "encryption", "pointer": "/J6/VzcvTg/~0/~1" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/~1/kVGcRi6boTE/l,leWtIa-d/~0/JXVpF/~1/oaly/TEbQFew1C/hkTi" }, { "type": "encryption", "pointer": "/~0/~0/eAtZPQQSN/NNkQn/~1/dimTQy/ufEsps1p" } ], "status": "running", "tags": [], "error": [ { "task": "job", "message": "Job has no available transitions. c841 could have led to the workflow end task, but did not. These tasks performed in a way that the end of the workflow could not be reached.", "timestamp": 1627323002574 }, { "task": "f9a9", "message": { "code": 500, "message": { "apiVersion": "1", "method": "transformations.run", "error": { "code": 500, "message": "Missing one of the following required instances: arg2, arg1", "errors": [] } } }, "timestamp": 1627323002561 }, { "task": "job", "message": "Job has no available transitions. c841 could have led to the workflow end task, but did not. These tasks performed in a way that the end of the workflow could not be reached.", "timestamp": 1627323002574 }, { "task": "f9a9", "message": { "code": 500, "message": { "apiVersion": "1", "method": "transformations.run", "error": { "code": 500, "message": "Missing one of the following required instances: arg2, arg1", "errors": [] } } }, "timestamp": 1627323002561 } ], "warnings": [ { "task": "workflow_end", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "ad elit" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "irure anim in" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "eu proident magna in commodo" } ], "ancestors": null, "validationErrors": [ { "keyword": "in sit Lorem", "instancePath": "voluptate anim fugiat", "schemaPath": "dolore labore cillum cupidatat", "message": "eiusmod incididunt et ipsum Ut" }, { "keyword": "elit in esse", "instancePath": "in id", "schemaPath": "sit", "message": "culpa elit pariatur sint" } ], "created_by": null, "last_updated_by": null, "tasks": { "workflow_start": { "x": 398756.21201987565, "y": 70345659.80620396, "gridCoordinate": { "x": -70798522.57327466, "y": 57182721.852971256 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 27175567.773874804, "finish_state": "failure", "user": "382845845292a41e1d516283" }, "groups": [ { "_id": "ed610a91479a3c7c8e5d1216", "provenance": "exercitation enim est amet ex", "name": "Excepteur adipisicing", "description": "cupidatat enim ex anim Excepteur", "memberOf": [ { "groupId": "a23526429ec21ebfe2e2fa09", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ad cillum voluptate aliquip" }, { "roleId": "fugiat ullamco" }, { "roleId": "incididunt sit id enim" }, { "roleId": "in et ad qui est" } ], "inactive": false, "_meta": { "created": "2004-12-29T15:31:33.313Z", "updated": "1990-03-02T01:27:09.354Z", "migrationVersion": -66510438 } } ], "iterations": [ "d6dB887c-D73A-08D5-D250-9D53B1A0De45" ] }, "workflow_end": { "x": -38717300.64835259, "y": 38677636.96516499, "gridCoordinate": { "x": 23113825.688671425, "y": -62026529.452515654 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f" ], "complete": [ "workflow_start" ], "error": [ "workflow_start", "workflow_end" ] }, "metrics": { "end_time": 5917856.497686192, "run_time": -20740905.316672757 }, "groups": [ { "_id": "27a2cd8bbb2f77dc9977eb22", "provenance": "minim ullamco nostrud", "name": "sit", "description": "ex Excepteur esse", "memberOf": [ { "groupId": "685fb7e24bca733034046cf7", "aaaManaged": true }, { "groupId": "ba3f5d9eff38361fc8ccc7c3", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Ut qui ut" }, { "roleId": "consectetur eu pariatur laboris veniam" }, { "roleId": "officia eu proident eiusmod in" } ], "inactive": false, "_meta": { "created": "1994-06-30T10:01:55.114Z", "updated": "1950-05-05T21:43:30.443Z", "migrationVersion": 11106587 } }, "default" ], "iterations": [ "A9d70C66-3F9b-bdf4-033a-fc2E6daeDa0E" ] }, "error_handler": { "x": -31633095.390637994, "y": 5437828.221627235, "gridCoordinate": { "x": 36305398.15792048, "y": -29490992.052853167 }, "name": "childJob", "location": "Application", "locationType": null, "app": "consequat eu in", "canvasName": "ullamco amet in non laboris", "displayName": "et cupidatat", "summary": "enim", "description": "ut voluptate eu labore elit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/ztXH/jBg4h/XtXAGUvh/~1/W24-4c3/cGT+WGku5/~0/~0/alfWZF/~0" }, { "type": "encryption", "pointer": "/T/~1/m0+t/~1/~1/~0/~1/TBcCqZC" }, { "type": "encryption", "pointer": "/~1/l+a/B1L9/~0/~1/~0/m.u-Q9E/~0/~1" }, { "type": "encryption", "pointer": "/kZWoIZ.g+va/Hvp8/o.z/~0/NsAZ/1XkFrQ/~0/Yf2c4kAa2/~1" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "tempor amet nisi", "highlightString": "irure nulla" }, { "key": "aliqua eiusmod anim tempor proident", "highlightString": "do in magna consequat veniam" }, { "key": "do ullamco incididunt", "highlightString": "ut qui dolor ipsum anim" }, { "key": "dolore Duis aliquip irure", "highlightString": "laborum officia nulla consequat pariatur" } ], "status": "failure", "previous": { "incomplete": [ "workflow_end", "3a1f", "workflow_start" ], "complete": [ "workflow_start" ], "error": [ "e28f", "e28f", "workflow_end" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "3a1f", "type": "standard" } ] }, "serverId": "aute", "start_time": "1995-03-30T08:57:57.72Z", "end_time": -17501669.456599116, "finish_state": "error", "retrySettings": { "state": [ "error", "failure", "success", "error" ], "autoRetry": false, "limit": 42855983, "delay": 70716062, "count": 47608605, "finishedRetrying": false }, "type": "operation", "actor": { "_id": "03f5a6ac37db7322dedc623e", "provenance": "nostrud proident enim", "username": "pariatur aute", "firstname": "tempor anim do reprehenderit", "memberOf": [ { "groupId": "7d3b1792bf0be9abf29575ce", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut ipsum culpa in" }, { "roleId": "ad anim incididunt nisi" }, { "roleId": "ad aute mollit" }, { "roleId": "qui nulla" }, { "roleId": "cupidatat mollit reprehenderit" } ], "inactive": false, "lastLogin": "1973-01-10T16:28:50.655Z", "_meta": { "created": "1986-01-31T16:07:24.631Z", "updated": "1980-11-10T08:09:29.006Z", "migrationVersion": 7782305 }, "email": "ut reprehenderit dolor cillum minim" }, "groups": [ "49723438b7af9a5970178a40", "default", "248f1d8481312f35029aef20", "3719633859a053d1d1fa1ec3", { "_id": "7e6ed8bd369067a953349468", "provenance": "do culpa ex sit", "name": "sunt Excepteur deserunt", "description": "cupidatat eiusmod do est sunt", "memberOf": [ { "groupId": "dbef2c2d852aad45f61c333d", "aaaManaged": false }, { "groupId": "42bbdf64618fabbb599a9aa5", "aaaManaged": true }, { "groupId": "d130e5d05cd80ecf657befff", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "fugiat" }, { "roleId": "dolor ea id ipsum laboris" }, { "roleId": "ullamco commodo" }, { "roleId": "nostrud ipsum non reprehenderit" }, { "roleId": "velit elit pariatur id incididunt" } ], "inactive": false, "_meta": { "created": "1959-02-27T14:32:46.765Z", "updated": "1985-02-07T13:25:46.783Z", "migrationVersion": -73553122 } } ], "iterations": [ "9E30DE37-C890-1e33-a14F-1cfc52777650", "EafFAaBE-aBea-32C5-13Df-5d437bBC7A8C", "667AFb27-F9Ba-dd75-c41b-5A70506BDB5c" ] }, "f4f": { "actor": "2dd5f1f66ace4f209013ee9f", "groups": [ { "_id": "5ea6677e957039ef9533a866", "provenance": "pariatur dolor veniam", "name": "minim", "description": "tempor laborum", "memberOf": [ { "groupId": "251774136e7c8bda5eaadcf9", "aaaManaged": true }, { "groupId": "e9d3556f0f756cb4823a9734", "aaaManaged": true }, { "groupId": "381eede07e74370b9125681d", "aaaManaged": false }, { "groupId": "255fbb4f29e26178d2834494", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "amet laboris laborum id Lorem" }, { "roleId": "nisi dolor deserunt ex dolore" }, { "roleId": "ea" } ], "inactive": true, "_meta": { "created": "1985-04-24T20:57:56.363Z", "updated": "1977-04-24T07:35:24.318Z", "migrationVersion": 42167511 } }, "d2b29bb17c8dcb52a448504f", { "_id": "1c5e90ea58dc91c4962126e5", "provenance": "Ut eiusmod consectetur Excepteur", "name": "elit aliquip incididunt magna", "description": "culpa fugiat", "memberOf": [ { "groupId": "ba2b9770c833ee489bf8f82b", "aaaManaged": false }, { "groupId": "4a5060a3cf977de750ecc9a4", "aaaManaged": false }, { "groupId": "7b6ff7e4d15a4c6e84245c8d", "aaaManaged": false }, { "groupId": "5286d0edcde6e08b477d4984", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "occaecat" }, { "roleId": "qui in dolore nostrud" }, { "roleId": "adipisicing" }, { "roleId": "dolor occaecat sed ut eu" } ], "inactive": false, "_meta": { "created": "1990-02-10T23:28:33.473Z", "updated": "1947-02-10T23:48:59.348Z", "migrationVersion": -71319739 } } ], "iterations": [], "x": 30368231.763379112, "y": -97184638.04222606, "gridCoordinate": { "x": 32667474.320896164, "y": -65546065.022140846 }, "name": "pending", "summary": "sit deserunt pariatur aliquip ex", "description": "deserunt et adipisicing nostrud dolor" } }, "parent": { "task": "Duis Lorem in", "iteration": -40674972.58607693, "element": -78688134.3199564 }, "errorHandler": { "actor": "Pronghorn", "groups": [ { "_id": "1ecbc2bf216b6c0af3adf1c7", "provenance": "amet officia voluptate aute", "name": "do elit ad in consectetur", "description": "ad proident", "memberOf": [ { "groupId": "b29bb90214a37f9119411849", "aaaManaged": true }, { "groupId": "f1c90aa8691f2e29dc231768", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ipsum" }, { "roleId": "esse ea enim cupidatat veniam" } ], "inactive": false, "_meta": { "created": "1976-03-10T05:30:38.904Z", "updated": "1998-11-17T11:39:48.372Z", "migrationVersion": 63468382 } } ], "iterations": [ "95DE465A-4Cad-91EA-f223-20F453117899", "faEfE675-fa98-dEdA-6ad4-f71e1Bacb90B", "7dBBB96A-00F3-AE40-C54F-27cDaeF7E707" ], "x": 66113578.63535726, "y": -99766314.54917376, "gridCoordinate": { "x": -80612233.69839077, "y": -82535564.43156436 }, "name": "pending", "summary": "do", "description": "sit magna ut sint" }, "groups": [ "default", "625e0abb5c23a18910f1ba25", "c37252b2a61f477efb536b03", { "_id": "88d8e379c4d9613414601b23", "provenance": "commodo reprehenderit veniam", "name": "enim", "description": "incididunt sunt mollit", "memberOf": [ { "groupId": "8f03043959e0fb4757e5b566", "aaaManaged": false }, { "groupId": "fb036579ce3757ccc6e1653e", "aaaManaged": true }, { "groupId": "b9ceb2de4485cc69ee68d679", "aaaManaged": false }, { "groupId": "ae8c464a03601f86a2782228", "aaaManaged": false }, { "groupId": "e437cc74bafc9ffa249de5a7", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "proident culpa in" }, { "roleId": "velit tempor eu esse" }, { "roleId": "labore id ullamco" }, { "roleId": "culpa" } ], "inactive": true, "_meta": { "created": "1968-12-22T09:19:46.438Z", "updated": "1947-06-22T10:00:06.15Z", "migrationVersion": -16042300 } } ], "watchers": [ { "_id": "ecd3e47b23874f2cea6e06b4", "provenance": "dolor", "username": "in ut labore", "firstname": "sint", "memberOf": [ { "groupId": "858be741f215b053744c9284", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ullamco" }, { "roleId": "mollit dolor incididunt sint" }, { "roleId": "consequat occaecat in irure" }, { "roleId": "pariatur ullamco ut" }, { "roleId": "dolor id consectetur" } ], "inactive": true, "lastLogin": "2022-03-09T05:12:14.362Z", "_meta": { "created": "2016-06-03T23:13:14.875Z", "updated": "1977-08-16T03:28:58.791Z", "migrationVersion": 48943407 }, "email": "laborum eu consequat nulla" }, null, "10080d1992e5f7740883174f" ], "metrics": { "start_time": -32877891.05265531, "progress": 0.981921040059035, "end_time": 90958373.2178643, "user": "Pronghorn", "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }