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": "fugiat" } }
{ "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": "54a04994a5ecaa517454e703", "font_size": 1261740, "type": "automation", "created": "2000-08-31T06:44:24.502Z", "last_updated": "1999-11-29T22:25:03.428Z", "createdVersion": "321.727451.4304610", "lastUpdatedVersion": "46979035.8883912.0826785559", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 84883354, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 35150249.264761776, "sla": -63965379.49849277, "decorators": [ { "type": "encryption", "pointer": "/~0/~1/BqL6tb/h/Q6ZS/pTnA3" }, { "type": "encryption", "pointer": "/tCjY-0fAyS" }, { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/pq.YF/~0/RBU/s4Y3JeC8/~0/Nu2T/NUp8W/yz1t-v/HE/~0" } ], "status": "canceled", "tags": [], "error": [ { "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": "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 } ], "warnings": [ { "task": "workflow_end", "name": "myCoolDocumentName", "message": "consectetur enim occaecat" }, { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": [ "5131ce40ab46f0bcd0918871" ], "validationErrors": [ { "keyword": "aliqua dolor proident", "dataPath": "ex commodo ut", "schemaPath": "officia dolore laboris incididunt id", "message": "do" } ], "created_by": "4258381e401bb1ed241a4087", "last_updated_by": null, "tasks": { "0": { "x": -78166967.18694022, "y": -39801172.02288534, "gridCoordinate": { "x": 49543417.37683189, "y": 32910889.080845162 }, "name": "nulla tempor Duis ipsum ut", "location": "Application", "locationType": null, "app": "nulla officia Lorem", "canvasName": "sit nulla nisi", "displayName": "velit sit", "summary": "irure elit esse tempor laboris", "description": "amet ut dolore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~1/jmvYG05Da/~0/~1/~0/~0/~0/~1/gh8lsOZ/XgNnIHEv3" }, { "type": "encryption", "pointer": "/~0/VUC0ho,Zw/yMW/dhlijEj+/Wl/~0" }, { "type": "encryption", "pointer": "/~0/Ztq6Kn/kh4b/Ao/JJ1v/~0/~0/~0/~0/Y+8YMD.iizE/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "veniam irure aliqua do laborum", "highlightString": "nulla culpa" }, { "key": "consectetur Excepteur", "highlightString": "in nisi est magna reprehenderit" }, { "key": "amet eiusmod in", "highlightString": "dolor dolore dolor sed" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start", "workflow_start", "3a1f", "workflow_start" ], "complete": [ "error_handler", "workflow_start", "e28f" ], "error": [ "e28f", "workflow_end", "workflow_start", "workflow_start", "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "revert" } ], "error": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "sunt laborum in Lorem et", "start_time": "1967-03-22T05:25:16.294Z", "end_time": 78472814.35810521, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "Pronghorn", "groups": [ { "_id": "4be3009101da8e3674f8165d", "provenance": "esse eiusmod", "name": "occaecat commodo dolore", "description": "culpa fugiat", "memberOf": [ { "groupId": "35d540b6c81f2176d167c237", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cillum" }, { "roleId": "adipisicing proident sed elit irure" }, { "roleId": "quis labore" } ], "inactive": false, "_meta": { "created": "1982-12-11T22:16:57.876Z", "updated": "1961-01-06T12:09:45.619Z", "migrationVersion": 12747343 } }, "default", { "_id": "187f8c4ff2cb4cdbb07e4093", "provenance": "enim", "name": "eu cupidatat nisi quis enim", "description": "ut in occaecat quis cillum", "memberOf": [ { "groupId": "33143fece4b6bb01cdbb5579", "aaaManaged": true }, { "groupId": "96d5b248ccd4fb46001d6a0b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aute occaecat labore nostrud id" }, { "roleId": "irure" }, { "roleId": "laborum in minim et" }, { "roleId": "culpa anim" }, { "roleId": "proident" } ], "inactive": true, "_meta": { "created": "2023-03-03T03:25:18.695Z", "updated": "2018-08-18T22:01:34.122Z", "migrationVersion": -8108082 } }, "c83b9bf381573a8d796f61f5" ], "iterations": [] }, "workflow_start": { "x": 79081664.45555493, "y": -22089945.702377588, "gridCoordinate": { "x": -41589441.53444049, "y": 81102413.55662602 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 45879776.41831261, "finish_state": "error", "user": "Pronghorn" }, "groups": [ "default", { "_id": "7326b155a19f53a67426561c", "provenance": "reprehenderit magna eu", "name": "dolor pariatur officia ex laborum", "description": "amet ex dolore ut", "memberOf": [ { "groupId": "afca2f8ee6c6707caac8fe90", "aaaManaged": false }, { "groupId": "87dc2054fb863db1d0fc2b27", "aaaManaged": true }, { "groupId": "56b8c0fbc976edbb249c006d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "eiusmod amet nulla" }, { "roleId": "ullamco tempor ea pariatur" } ], "inactive": true, "_meta": { "created": "1950-12-19T10:31:40.899Z", "updated": "2016-05-05T02:02:40.896Z", "migrationVersion": 75612559 } }, { "_id": "65eabdcbc737e9796e8760c2", "provenance": "tempor nostrud", "name": "dolore nostrud est exercitation", "description": "enim", "memberOf": [ { "groupId": "f194f9484ab810e26719bda7", "aaaManaged": true }, { "groupId": "670ca3998c7ced0f11c94b86", "aaaManaged": false }, { "groupId": "36c896252801390f5cb1801e", "aaaManaged": true }, { "groupId": "4b1d433f2cc17abb85be0865", "aaaManaged": true }, { "groupId": "35451102360accedbbb46030", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "labore laboris ad" }, { "roleId": "nisi in adipisicing ea" }, { "roleId": "in labore" }, { "roleId": "nulla exercitation" } ], "inactive": false, "_meta": { "created": "2006-12-03T05:35:37.737Z", "updated": "2001-11-20T11:34:32.418Z", "migrationVersion": 53511291 } }, "93cded9b2f64db695c30a351" ], "iterations": [ "e08A4FF9-BB4c-B41f-CE4a-Ae43FdEaA8a9" ] }, "workflow_end": { "x": -20964198.835084826, "y": 70359878.25218382, "gridCoordinate": { "x": 93694418.56891698, "y": 43180461.14095631 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_start", "workflow_start", "workflow_start", "error_handler" ], "complete": [ "e28f", "workflow_start", "workflow_end", "e28f" ], "error": [ "error_handler", "e28f", "workflow_start" ] }, "metrics": { "end_time": -92681814.0233689, "run_time": -50350980.664478675 }, "groups": [ { "_id": "fbcf79e08f1aed0cd0958ab7", "provenance": "ullamco enim et aliquip", "name": "dolor", "description": "dolore non", "memberOf": [ { "groupId": "d22a91456bdd476d8bf85f25", "aaaManaged": false }, { "groupId": "9d5bf874c1c93a5a55ed6e97", "aaaManaged": true }, { "groupId": "daf96507ff3e31a126ba5b6d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in" }, { "roleId": "reprehenderit Duis" }, { "roleId": "Duis" } ], "inactive": false, "_meta": { "created": "2019-12-29T06:21:19.609Z", "updated": "1981-10-27T03:10:40.566Z", "migrationVersion": 81697338 } }, "4b7080658d4a9e7454376d8e", { "_id": "ce2a70af1b926dbc729c4b01", "provenance": "occaecat", "name": "in consectetur dolore eiusmod adipisicing", "description": "exercitation", "memberOf": [ { "groupId": "c82ca68ec0c7bf4e75d7291a", "aaaManaged": true }, { "groupId": "0453841ea6700f8d11024f6b", "aaaManaged": false }, { "groupId": "78ad49190a822ccccb502696", "aaaManaged": true }, { "groupId": "6c82211a33c3d2e75885a2ef", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "esse sint voluptate" }, { "roleId": "cupidatat" }, { "roleId": "irure enim" }, { "roleId": "velit mollit pariatur aliquip do" } ], "inactive": true, "_meta": { "created": "2013-02-12T09:31:08.344Z", "updated": "2017-01-20T06:05:05.243Z", "migrationVersion": -87751792 } }, "6c80ce2dfd6e98c28a194b7c", "8355cc59a0222dfd1f5110dc" ], "iterations": [ "f4BBc5D0-a73F-68aE-699E-DC6dD832A3DC", "c7e4C882-1181-f3a6-ec21-deAEEB5553E8", "DC7fc4ec-72Dc-982D-EeFD-dD3ac43f349B" ] }, "error_handler": { "x": 98325251.83881792, "y": 81585850.2803275, "gridCoordinate": { "x": 69986233.03213513, "y": -51752483.66683367 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "anim", "canvasName": "tempor anim qui dolor", "displayName": "exercitation", "summary": "qui", "description": "sint irure ipsum dolore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/tfU" }, { "type": "encryption", "pointer": "/~1/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "aute dolore in nisi Lorem", "highlightString": "occaecat nulla ullamco" }, { "key": "laborum Lorem", "highlightString": "reprehenderit qui ad sunt" }, { "key": "fugiat id sit esse Duis", "highlightString": "quis cillum cupidatat" }, { "key": "aliqua", "highlightString": "dolor tempor id magna in" }, { "key": "dolore dolor", "highlightString": "fugiat nostrud voluptate occaecat" } ], "status": "canceled", "previous": { "incomplete": [ "3a1f", "e28f", "workflow_end", "workflow_start", "workflow_end" ], "complete": [ "workflow_start", "error_handler", "error_handler" ], "error": [ "error_handler" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "3a1f", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "standard" } ] }, "serverId": "dolor ut nisi", "start_time": "1978-03-18T17:42:47.025Z", "end_time": -63585615.85069098, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "default", "0f4c764d1c3853262b1e1def" ], "iterations": [ "EFeC3D1A-0FC9-22A2-32fd-0cE594B889cb", "edEE8C4d-aEaD-7dd9-505e-98bD396f0B5e", "bFA2a81D-Ab4b-0AD6-DC9C-CC8B8c41eA5e" ] } }, "parent": { "task": "cupidatat dolor ipsum et", "iteration": 18174867.026751325, "element": -79230551.30689391 }, "errorHandler": null, "groups": [ { "_id": "0c62b080859ba92954b90ba8", "provenance": "magna reprehenderit Excepteur", "name": "deserunt nulla ea reprehenderit", "description": "ut", "memberOf": [ { "groupId": "f1bfd1268a8b84097bae8048", "aaaManaged": true }, { "groupId": "81b00ad930cd96aa1bac60b7", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolor exercitation sint sunt" }, { "roleId": "mollit" }, { "roleId": "ea culpa eiusmod elit" }, { "roleId": "labore incididunt sed" } ], "inactive": false, "_meta": { "created": "1994-05-01T12:09:40.56Z", "updated": "1983-01-13T13:12:15.048Z", "migrationVersion": 42385374 } }, { "_id": "3a94e537820a3b0d6ee4fc87", "provenance": "enim ex", "name": "qui ea eu pariatur reprehenderit", "description": "tempor commodo non magna eiusmod", "memberOf": [ { "groupId": "c0aaaf8d4b62487459dda408", "aaaManaged": true }, { "groupId": "ced15ba0b8952c4636d7ddf5", "aaaManaged": true }, { "groupId": "358cbaead310f61e6d762f4d", "aaaManaged": true }, { "groupId": "df26aa106ea69f362a67520d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "id pariatur nulla ut fugiat" }, { "roleId": "sunt labore amet occaecat deserunt" }, { "roleId": "qui" }, { "roleId": "dolor" } ], "inactive": false, "_meta": { "created": "1999-02-28T03:48:46.559Z", "updated": "2000-03-27T20:28:33.69Z", "migrationVersion": -6306446 } } ], "watchers": [ "62fe1f129e1579f1e741643c", "Pronghorn" ], "metrics": { "start_time": 49287522.81815797, "progress": 0.6970154451455952, "end_time": 77101753.65566346, "user": "Pronghorn", "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }