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": "commodo dolore" } }
{ "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 retrieved search results", "data": { "_id": "f52344c1f40319554463ad02", "font_size": -65730979, "type": "automation", "created": "1965-12-24T14:36:56.438Z", "last_updated": "1971-12-27T10:57:39.542Z", "createdVersion": "47757.657.328818", "lastUpdatedVersion": "654531645.75608.44195975", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -97740399, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 10021157.119884223, "sla": -27320322.304130152, "decorators": [ { "type": "encryption", "pointer": "/~1/W" }, { "type": "encryption", "pointer": "/~1/~0/~0/bUiRJSk.bC/~1/Xayj+MD/~0" }, { "type": "encryption", "pointer": "/EyxkBLOU/~1/~1/~1/zvZ8Rv/~1" }, { "type": "encryption", "pointer": "/~0/~0/~1/w/~0/cgk7KLDVcdK/~0/pZfy0y7zD/~0/~0" }, { "type": "encryption", "pointer": "/~1/~0/~1" } ], "status": "paused", "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 } ], "warnings": [ { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "nostrud esse" } ], "ancestors": null, "validationErrors": [ { "keyword": "adipisicing eiusmod nulla sed", "instancePath": "ullamco ex exercitation labore anim", "schemaPath": "id adipisicing officia", "message": "deserunt consequat" }, { "keyword": "Ut", "instancePath": "anim cupidatat", "schemaPath": "dolore sit incididunt", "message": "aliqua" }, { "keyword": "do commodo incididunt proident", "instancePath": "id ut commodo tempor", "schemaPath": "eu laborum", "message": "qui deserunt" } ], "created_by": null, "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": 88307840.03301564, "y": 9862322.189618662, "gridCoordinate": { "x": 31491926.53589581, "y": 90605517.36192057 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -87699680.99121082, "finish_state": "success", "user": "090c2fe7fad4936f165ba2e0" }, "groups": [ { "_id": "cbc61592954603db9af047e8", "provenance": "ipsum cillum amet", "name": "incididunt sit", "description": "qui anim", "memberOf": [ { "groupId": "a5bddb0b447c708fd2fa9da3", "aaaManaged": false }, { "groupId": "77de0df331f229c21b3c251b", "aaaManaged": true }, { "groupId": "993ab04c13144e4b247c9637", "aaaManaged": true }, { "groupId": "2826f725b73c90fc30a7616c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in ullamco reprehenderit aliquip" } ], "inactive": false, "_meta": { "created": "1979-01-30T16:24:10.575Z", "updated": "1969-11-27T12:34:53.221Z", "migrationVersion": 68245501 } } ], "iterations": [ "D6dE6CAe-D17f-6179-660a-EAFde5db100B", "De725a3E-9Eba-d33F-a61f-7Cb61f3E4fA8" ] }, "workflow_end": { "x": 81247223.07048517, "y": 41463526.78729674, "gridCoordinate": { "x": -45999419.252083264, "y": -14648659.374870166 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "workflow_start" ], "complete": [ "workflow_start", "workflow_start" ], "error": [ "3a1f", "error_handler", "3a1f", "workflow_end" ] }, "metrics": { "end_time": -68130962.99745673, "run_time": -40054781.821389884 }, "groups": [ "default", { "_id": "157ea7e982637667dd402e5b", "provenance": "cupidatat irure mollit", "name": "commodo elit ea", "description": "qui dolore in elit dolore", "memberOf": [ { "groupId": "55e7020512294ff996c500c0", "aaaManaged": true }, { "groupId": "e9c255664733c2dd1f6ae422", "aaaManaged": true }, { "groupId": "4feb8e835f70595befe6bf25", "aaaManaged": false }, { "groupId": "a073ce97f4a52b1503529677", "aaaManaged": false }, { "groupId": "47cb386849bb2c9e76cbffe6", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore est ut" }, { "roleId": "nostrud amet" }, { "roleId": "id" }, { "roleId": "laboris tempor Excepteur dolor" }, { "roleId": "laboris quis ex" } ], "inactive": false, "_meta": { "created": "2023-04-06T22:00:51.466Z", "updated": "2013-02-10T23:25:56.019Z", "migrationVersion": -89781455 } }, "7b98af67e087bb83ca062d65", { "_id": "37afee65efb03ff6048bb2cf", "provenance": "ullamco sunt", "name": "sit tempor veniam", "description": "Ut Duis", "memberOf": [ { "groupId": "575bf29ffa9471c1ad097f1e", "aaaManaged": false }, { "groupId": "3637ba7889fb4c153cffff54", "aaaManaged": false }, { "groupId": "96dad436d632fbf285bdb8d9", "aaaManaged": true }, { "groupId": "871059f591c90815029e50e6", "aaaManaged": true }, { "groupId": "566a1d50caac8572ce27cb09", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sed Excepteur eiusmod laboris" }, { "roleId": "mollit dolor" }, { "roleId": "laboris sint minim in dolore" } ], "inactive": false, "_meta": { "created": "1965-09-17T12:01:19.0Z", "updated": "2019-01-15T12:10:56.508Z", "migrationVersion": -13531636 } }, "default" ], "iterations": [ "4aeF966e-BaEa-FFbF-be54-1FfbeeFC4D45" ] }, "error_handler": { "x": -67315459.41542265, "y": 79313079.60959026, "gridCoordinate": { "x": 4053572.2148599774, "y": 26733534.040526986 }, "name": "childJob", "location": "Broker", "locationType": "laborum sint ut quis", "app": "eiusmod eu", "canvasName": "adipisicing non consectetur", "displayName": "ea", "summary": "eu ut minim", "description": "aute", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/dp/~0/~1/~1/~0/B.Fop3K/~1/~1/VtslIv" }, { "type": "encryption", "pointer": "/~0/~1/~0/~0/~1" }, { "type": "encryption", "pointer": "/~1/j4W/mpFxn/yMhYQ/J-/~0" }, { "type": "encryption", "pointer": "/GzLY4kOh/Vmm/~0/~0/~0/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "enim sit", "highlightString": "adipisicing elit reprehenderit proident" }, { "key": "do", "highlightString": "quis occaecat tempor exercitation fugiat" }, { "key": "pariatur qui labore incididunt cillum", "highlightString": "aliquip" }, { "key": "cillum", "highlightString": "tempor ullamco fugiat do ex" }, { "key": "occaecat laborum in", "highlightString": "ea sunt" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_start", "workflow_start", "workflow_start", "3a1f", "workflow_start" ], "complete": [ "workflow_start", "workflow_start", "workflow_end" ], "error": [ "e28f", "3a1f", "workflow_start", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "revert" } ], "error": [ { "task": "workflow_end", "type": "revert" }, { "task": "error_handler", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "Lorem in labore eiusmod", "start_time": "2015-10-22T16:19:14.15Z", "end_time": -19836725.02041945, "finish_state": "success", "retrySettings": { "state": [ "success", "success", "success", "failure", "success" ], "autoRetry": true, "limit": 49747642, "delay": 54357519, "count": 55098492, "finishedRetrying": true }, "type": "operation", "actor": "Pronghorn", "groups": [ "58fd0f0d7f221a479ee1248e" ], "iterations": [] }, "03a": { "actor": "Pronghorn", "groups": [ "41bd299e6d1f1653bcb66179" ], "iterations": [], "x": 71487081.93442196, "y": -40760401.77114826, "gridCoordinate": { "x": -73999587.97473243, "y": -93630683.27364488 }, "name": "incididunt consequat cillum aute adipisicing", "location": "Application", "locationType": "id", "app": "magna incididunt veniam", "canvasName": "amet dolor aute proident mollit", "displayName": "culpa officia veniam mollit esse", "summary": "ut dolore", "description": "ipsum veniam nisi", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/JaLljAMZo8M/lc7/~0/mdaXdxa8q1/~0/CPi0qK5k/~1/g2PT/SWNMh1/dL/~1" }, { "type": "encryption", "pointer": "/~0/hLKxNZa14Xu/~0/~1/egoby3Yj/~1/~1/pnmgbe+/LRF9v" }, { "type": "encryption", "pointer": "/~1/~1/~0/tl+uiv6ds/~0" }, { "type": "encryption", "pointer": "/ZOfb4NE/fUN/wel/h6QWU6F/W/~1/eL.WrSfH/Sk6,/~1" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "laborum magna quis veniam ullamco", "highlightString": "tempor" }, { "key": "culpa nisi enim nulla", "highlightString": "dolore occaecat dolor ex" }, { "key": "sit esse", "highlightString": "mollit laboris exercitation" }, { "key": "cupidatat", "highlightString": "magna nisi exercitation ea enim" } ], "status": "canceled", "previous": { "incomplete": [ "error_handler", "error_handler", "e28f", "workflow_start" ], "complete": [ "e28f" ], "error": [ "error_handler", "workflow_start", "workflow_start", "3a1f", "3a1f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "revert" } ], "error": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "standard" } ] }, "serverId": "ut est fugiat anim", "start_time": "2019-02-08T23:18:28.501Z", "end_time": -55286305.729399696, "finish_state": "error", "retrySettings": null, "type": "manual", "view": "consectetur irure aliquip nostrud" } }, "parent": { "job": "aute incididunt non ut", "task": "Ut ut proident magna voluptate", "iteration": 17724276.903113753, "element": 44735400.63035789 }, "errorHandler": { "actor": "job", "groups": [ "48542efc1815a2bf08b29e16" ], "iterations": [ "53f15Dc0-24C4-0e9C-B48A-3ADD8A7fBe22" ], "x": 46598464.97044763, "y": 44306146.81718731, "gridCoordinate": { "x": -49343848.629130214, "y": 97357004.95254594 }, "name": "dolor culpa nulla Ut", "location": "Application", "locationType": "commodo Ut fugiat veniam pariatur", "app": "eu Ut ullamco", "canvasName": "nulla sint exercitation", "displayName": "aliquip ullamco do", "summary": "ea sint", "description": "cillum", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/lLnZu1/~0" }, { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/Mt/~1/sz/Pt4JVh" }, { "type": "encryption", "pointer": "/sRk//~0/~1/~1/e7Ct/~1/HIsxu.bD,/~0/jaqmB/~1/oSBSKB1Mqok" }, { "type": "encryption", "pointer": "/~1/F/lMp-WBtf/MmtUK/4/~0/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "nisi minim consectetur", "highlightString": "qui et pariatur occaecat proident" }, { "key": "ex aliqua Lorem ullamco occaecat", "highlightString": "id sed sint ullamco adipisicing" } ], "status": "incomplete", "previous": { "incomplete": [ "error_handler" ], "complete": [ "workflow_start" ], "error": [ "workflow_start", "workflow_start", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "revert" } ] }, "serverId": "incididunt cillum voluptate", "start_time": "1963-09-12T03:13:33.897Z", "end_time": 85338062.81790683, "finish_state": "success", "retrySettings": { "state": [ "error", "failure" ], "autoRetry": true, "limit": 20407428, "delay": 80245905, "count": 10297292, "finishedRetrying": true }, "type": "manual", "view": "Excepteur eiusmod in aliquip Ut" }, "groups": [ { "_id": "70bfd1b47c2cc9aad9adf5ae", "provenance": "irure sit ut nisi eu", "name": "cillum esse irure velit labore", "description": "pariatur", "memberOf": [ { "groupId": "c1b5e14308a6987ecf9b9c9f", "aaaManaged": true }, { "groupId": "28f98548d0b5b900dfb75a1d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "reprehenderit aliquip ut dolore" }, { "roleId": "veniam" }, { "roleId": "eu minim anim do" } ], "inactive": false, "_meta": { "created": "1980-03-02T09:37:19.135Z", "updated": "1956-11-27T07:30:15.739Z", "migrationVersion": 90902148 } } ], "watchers": [ "e1210370a6eab39029fff28f", "557e16b8d0e03aea58859e87", "9c10d2812add0b9dcd605570", "fbf0bfc07208cf44bfbc4cd1" ], "metrics": { "start_time": -54631989.43518282, "progress": 0.21546923669878715, "end_time": -55663365.06831613, "user": { "_id": "8967f99d8b62660c0bbaa705", "provenance": "sit proident", "username": "veniam cillum", "firstname": "officia in", "memberOf": [ { "groupId": "19e553399546ef1265123bd9", "aaaManaged": false }, { "groupId": "40f98d1dde043c6ce4ac977d", "aaaManaged": false }, { "groupId": "5d50c12d384cadbc6ef2ced2", "aaaManaged": true }, { "groupId": "e8a1ffa6dc9cf8f20a2ed944", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "velit ullamco" }, { "roleId": "id magna" } ], "inactive": false, "lastLogin": "2004-10-20T18:23:37.166Z", "_meta": { "created": "1957-10-07T17:31:25.614Z", "updated": "2003-03-18T09:13:26.203Z", "migrationVersion": 45300991 }, "email": "incididunt ex aliquip officia ea" }, "owner": "Pronghorn" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }