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": "anim" } }
{ "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": "ec96ced46126628b0882bd29", "uuid": "ccc67dbe-89bd-8297-a4a0-4555d2a1f711", "font_size": -57332892, "type": "automation", "created": "1980-04-04T02:12:09.685Z", "last_updated": "1954-09-19T12:02:07.944Z", "createdVersion": "313661.873949.88705", "lastUpdatedVersion": "29035258650.81144.28153", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": -22276267, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 67520609.288181, "sla": -7024842.8928182125, "decorators": [ { "type": "encryption", "pointer": "/~1/~1/gz,wD/~0/~1/BZEv6UK9X/~0/L4w/hdGxIN.rV" }, { "type": "encryption", "pointer": "/~0/mZIvvIk03q/~0/~1/~1/ImG5Mv,IZIN" }, { "type": "encryption", "pointer": "/LrjXwgm/PtTlkNMir/~1/f,RISzaX/~0/v2myHn4-4lh/~1/BfRW0l/xknimF" } ], "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": "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_start", "name": "myCoolDocumentName", "message": "sint minim pariatur" } ], "ancestors": [ "38cd35a0d405f9fc130c0937" ], "validationErrors": [ { "keyword": "id cillum anim quis cupidatat", "instancePath": "qui id mollit", "schemaPath": "fugiat nostrud consequat", "message": "qui" } ], "created_by": "Pronghorn", "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": 67999339.40005118, "y": -19324059.06325987, "gridCoordinate": { "x": -9808959.000311643, "y": -30344420.861983895 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -39867114.11723784, "finish_state": "success", "user": { "_id": "a5e6a0be8d951f720b3028e9", "provenance": "ullamco fugiat", "username": "officia in", "firstname": "ut laborum dolor magna", "memberOf": [ { "groupId": "df4ef28516f7bbb5b63284a9", "aaaManaged": false }, { "groupId": "ae643b3fb3eb9d16a91153a1", "aaaManaged": false }, { "groupId": "a2d1e22a576f2bd0ea902617", "aaaManaged": false }, { "groupId": "393b46633a911c252359a0c1", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "velit culpa qui amet" }, { "roleId": "officia" }, { "roleId": "fugiat" }, { "roleId": "minim" }, { "roleId": "occaecat in" } ], "inactive": true, "lastLogin": "2009-12-17T08:27:17.205Z", "_meta": { "created": "1962-10-06T00:50:46.428Z", "updated": "1995-02-28T00:21:38.006Z", "migrationVersion": -7345489 }, "email": "dolore cupidatat cillum fugiat" } }, "groups": [ "1e532413355b60bda3813964" ], "iterations": [] }, "workflow_end": { "x": 70030727.67009196, "y": 42867858.767596036, "gridCoordinate": { "x": -1234362.1920127869, "y": 65798972.861237586 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler" ], "complete": [ "workflow_start" ], "error": [ "error_handler", "error_handler" ] }, "metrics": { "end_time": -89259736.00966439, "run_time": -62185602.98259743 }, "groups": [ "default", "606c38d571c2e9bf8b18d050", "2c235c77d758a0ebc266a258" ], "iterations": [ "2bf2AaCd-67F9-dD6D-c8aC-2fA16ac5Db03" ] }, "error_handler": { "x": -56681232.05093574, "y": 37860172.795583665, "gridCoordinate": { "x": -88051101.60668525, "y": -78576260.26210935 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "magna voluptate", "canvasName": "cupidatat sed aliqua velit nulla", "displayName": "elit velit", "summary": "amet", "description": "in est exercitation velit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~1/~0" }, { "type": "encryption", "pointer": "/~1/bT+K./~0" }, { "type": "encryption", "pointer": "/KP4X/ydU8Wh7M/qlxRRt/jSO/GAyUTNgHEg/e,t5Hd-KH,X/~1" }, { "type": "encryption", "pointer": "/JYcam/~0/BSiWeI+l/gC/GnR/,Jq" }, { "type": "encryption", "pointer": "/LW5-NGph/~0/JkpBuRx+UM4/~1/g59I/~0/~1/gn/~0/yJuQ/~1" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "ad", "highlightString": "irure do ex" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_end", "workflow_end", "workflow_start", "workflow_start", "3a1f" ], "complete": [ "workflow_start", "error_handler" ], "error": [ "workflow_end", "3a1f", "workflow_end" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "3a1f", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "loop" } ] }, "serverId": "mollit ipsum", "start_time": "2012-09-26T02:49:34.986Z", "end_time": -25106338.156970724, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "e2dbe67daac6bcefa023d126", "groups": [ { "_id": "58a1e4bc37a32956f7925b91", "provenance": "sit dolor dolore", "name": "cupidatat ex", "description": "irure consequat eiusmod", "memberOf": [ { "groupId": "42eecd452ca54e97b293a40f", "aaaManaged": true }, { "groupId": "e46267cf16e0c5fd96f00333", "aaaManaged": true }, { "groupId": "9fa96c2725ab4576f260a1ea", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Ut eiusmod ipsum ex aliquip" }, { "roleId": "aliquip minim officia sed id" }, { "roleId": "Lorem nisi pariatur culpa laboris" } ], "inactive": false, "_meta": { "created": "2011-05-21T09:59:36.558Z", "updated": "1971-09-20T09:11:18.192Z", "migrationVersion": 94350803 } }, { "_id": "f514f0aab05db2a285718daf", "provenance": "Ut", "name": "cupidatat qui voluptate anim aute", "description": "ut veniam tempor", "memberOf": [ { "groupId": "47a5fd4fde56c9862c9422e6", "aaaManaged": true }, { "groupId": "eea3211c317e62ff51d4e899", "aaaManaged": false }, { "groupId": "5189d0e4424d304c4151f64d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in sint ipsum laborum" } ], "inactive": false, "_meta": { "created": "1963-07-12T06:39:16.267Z", "updated": "1996-07-31T20:41:22.345Z", "migrationVersion": -2424195 } }, { "_id": "ee220723565c38b6ba766803", "provenance": "enim occaecat nisi ipsum cupidatat", "name": "eu", "description": "velit aute", "memberOf": [ { "groupId": "06c545ea9ee82c9251a02b24", "aaaManaged": false }, { "groupId": "5ddccf43a097d567ec87b220", "aaaManaged": true }, { "groupId": "ca356effb50f8cac6b3885a3", "aaaManaged": false }, { "groupId": "c82872dd974883749921a287", "aaaManaged": false }, { "groupId": "1aa15f4a0f5c3c585bfc0644", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sed exercitation ut" }, { "roleId": "magna" }, { "roleId": "nostrud non ea sed in" }, { "roleId": "eu occaecat cupidatat dolor" }, { "roleId": "labore" } ], "inactive": false, "_meta": { "created": "2003-12-25T06:19:13.561Z", "updated": "1999-02-13T08:44:43.777Z", "migrationVersion": 57287261 } } ], "iterations": [ "fAf2688C-402f-af55-43AB-93dA94F6B78c", "4b738a68-8BAb-CdcA-F191-4d78F4C1ab8A", "3aAC7f10-fCBb-eDa7-3a75-E9bafBAc8042" ] }, "47a1": { "actor": { "_id": "3ef9ad61eb2ed8a318fc7dc1", "provenance": "Ut minim Excepteur", "username": "quis enim magna cillum dolore", "firstname": "amet magna ad mollit", "memberOf": [ { "groupId": "88fb0a4b8af38239234041e7", "aaaManaged": false }, { "groupId": "2271f8cbce913ddc5b2e3de3", "aaaManaged": true }, { "groupId": "069fa1b71174589945c652b8", "aaaManaged": true }, { "groupId": "7993ed1f9bd6674a3feb1a74", "aaaManaged": false }, { "groupId": "799bfdcbbcb6aa916d353281", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "pariatur nostrud" }, { "roleId": "eu consequat anim cillum" } ], "inactive": true, "lastLogin": "1964-02-24T09:28:37.006Z", "_meta": { "created": "1965-12-10T16:56:00.101Z", "updated": "1973-06-05T16:55:39.348Z", "migrationVersion": -85526466 }, "email": "velit enim sunt fugiat voluptate" }, "groups": [ "862bd28de6ce35174c6999bc", "d57809c28e11798d0ea482f3", { "_id": "16c18b00ff3cbc51ee52c99a", "provenance": "eiusmod", "name": "anim laboris amet incididunt Lorem", "description": "fugiat ut ullamco", "memberOf": [ { "groupId": "b2af66305a606c2fc870e1a7", "aaaManaged": true }, { "groupId": "8091967b92bc39ab6777f9da", "aaaManaged": true }, { "groupId": "eec91ab89eaa67d14941cac1", "aaaManaged": true }, { "groupId": "569747013ad0f0db64a69686", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "minim nisi voluptate" } ], "inactive": false, "_meta": { "created": "1993-10-25T14:55:36.718Z", "updated": "1961-03-26T15:00:14.683Z", "migrationVersion": 37414480 } }, "default" ], "iterations": [], "x": 95812082.39676765, "y": 62195519.48120174, "gridCoordinate": { "x": 44758129.56225264, "y": -8317661.102668732 }, "name": "elit proident pariatur", "location": "Application", "locationType": null, "app": "nulla id", "canvasName": "veniam", "displayName": "ut id", "summary": "dolore sint ex", "description": "dolore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/FBUP/~1/~0/v/S4ksO" }, { "type": "encryption", "pointer": "/~0/~1" }, { "type": "encryption", "pointer": "/LZ1X,/~0/~0/~0/sk5" }, { "type": "encryption", "pointer": "/nyWDZz/VJjy,b/~0/bWCdvF/ji/Uqd/T2U1F/~1/NE-Z/m/Ww" }, { "type": "encryption", "pointer": "/~1/sMtvf/AHjNrv/~1/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "voluptate in dolore", "highlightString": "occaecat irure fugiat ex" }, { "key": "dolore ex amet", "highlightString": "qui culpa Duis" } ], "status": "running", "previous": { "incomplete": [ "workflow_start" ], "complete": [ "workflow_end", "workflow_start", "error_handler" ], "error": [ "error_handler", "e28f", "e28f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "loop" } ] }, "serverId": "proident qui cupidatat", "start_time": "1981-09-27T01:07:30.487Z", "end_time": -58881993.554209664, "finish_state": "failure", "retrySettings": null, "type": "manual", "view": "ea quis" } }, "parent": { "task": "nisi ex Lorem consectetur", "iteration": 36183275.7841129, "element": 74158403.39619574 }, "errorHandler": { "actor": "job", "groups": [ "670ec293d1e6a2e54f76ee4f", "default", "default" ], "iterations": [ "1Ef4aF62-1ca0-f63a-c1aF-C5c7AbC5ae6F" ], "x": 54106172.40040544, "y": -16964199.178600043, "gridCoordinate": { "x": -45909567.129472785, "y": -92761652.72375412 }, "name": "laborum voluptate incididunt laboris", "location": "Application", "locationType": "reprehenderit Lorem", "app": "aliqua anim in commodo sit", "canvasName": "culpa officia aliquip", "displayName": "incididunt velit sit proident", "summary": "in in do", "description": "exercitation", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/M3OISxE/~1/vHbQ/WQL+-/H/~1/qU-aa" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "enim irure", "highlightString": "magna" } ], "status": "error", "previous": { "incomplete": [ "workflow_start", "3a1f", "error_handler", "workflow_end", "workflow_start" ], "complete": [ "workflow_start", "e28f", "3a1f", "e28f" ], "error": [ "workflow_start", "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_end", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "aliquip id", "start_time": "1965-08-10T12:46:09.634Z", "end_time": -51667540.672921896, "finish_state": "success", "retrySettings": { "state": [ "success" ], "autoRetry": true, "limit": 71330990, "delay": 34622113, "count": 83131662, "finishedRetrying": false }, "type": "manual", "view": "ad veniam tempor eu" }, "groups": [ "default", { "_id": "d324c6428a100e58d00b2840", "provenance": "culpa Excepteur", "name": "cillum id elit in deserunt", "description": "ullamco qui", "memberOf": [ { "groupId": "19ca4bfd251ccffc839e3dc9", "aaaManaged": true }, { "groupId": "bb390f06a3a40b29edce4d33", "aaaManaged": false }, { "groupId": "1618fabfe88806980ce92072", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "eu esse irure exercitation sunt" }, { "roleId": "sint" }, { "roleId": "id cupidatat sint" }, { "roleId": "eiusmod tempor sunt dolore et" }, { "roleId": "ipsum" } ], "inactive": true, "_meta": { "created": "1955-09-21T13:56:45.193Z", "updated": "1947-11-26T03:08:07.603Z", "migrationVersion": 88294099 } }, "default" ], "watchers": [ "1dfa41e3992bc84467056ab9", "1786cab2d7afcec2665058f2", "Pronghorn" ], "metrics": { "start_time": -53466729.03703733, "progress": 0.684300814627055, "end_time": 74069411.53496084, "user": { "_id": "aec4355c789f7622b91f8716", "provenance": "reprehenderit enim adipisicing nostrud commodo", "username": "anim commodo", "firstname": "in et aliquip", "memberOf": [ { "groupId": "fd09c22f244c40eb0d2dfda2", "aaaManaged": true }, { "groupId": "ac507eb37c93890eb0b51121", "aaaManaged": true }, { "groupId": "2ee9ee2702b5028071145811", "aaaManaged": true }, { "groupId": "9bbaab5a994c65dc2305a210", "aaaManaged": false }, { "groupId": "6b3fb0ec0c70920ab8721ffb", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nostrud exercitation enim commodo" }, { "roleId": "id dolor ullamco Lorem" }, { "roleId": "Excepteur in non do" }, { "roleId": "eu ut commodo" }, { "roleId": "in anim proident" } ], "inactive": false, "lastLogin": "1969-06-12T15:31:26.839Z", "_meta": { "created": "1984-04-15T23:24:16.784Z", "updated": "2017-09-22T02:40:56.214Z", "migrationVersion": -70892675 }, "email": "occaecat mollit et" }, "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }