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": "officia in" } }
{ "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 created the requested item", "data": { "_id": "c797b9ff81942de5a9923827", "uuid": "1e2ec2a9-228c-fcd5-a5c0-d307144e42d9", "font_size": 52863753, "type": "automation", "created": "2023-02-18T10:10:23.277Z", "last_updated": "2002-04-19T13:42:29.658Z", "createdVersion": "8878.69653.72239330-8679.889871913.1.2", "lastUpdatedVersion": "00797.7283603483.079", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 79198630, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 86715824.62368947, "sla": 84891192.01744688, "decorators": [ { "type": "encryption", "pointer": "/ExBDgTZ/~1/gfnLh/Vck,9tOl4E/~0" }, { "type": "encryption", "pointer": "/~1/~0/jRl/~0/~0/~0/~0/~0/UVDBOGqF8g/~1/~0" }, { "type": "encryption", "pointer": "/~1/~0/~0" }, { "type": "encryption", "pointer": "/~0" } ], "status": "error", "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": "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": "3a1f", "name": "myCoolDocumentName", "message": "irure fugiat nisi ad enim" } ], "ancestors": null, "validationErrors": [ { "keyword": "nulla", "instancePath": "reprehenderit aute", "schemaPath": "pariatur et dolore", "message": "sunt dolore irure Ut cupidatat" }, { "keyword": "ex mollit esse", "instancePath": "nisi aliquip exercitation incididunt dolor", "schemaPath": "dolor sint eiusmod nulla anim", "message": "ipsum" }, { "keyword": "magna consequat et amet", "instancePath": "minim", "schemaPath": "ut", "message": "adipisicing nisi" }, { "keyword": "officia id", "instancePath": "eiusmod pariatur ex anim", "schemaPath": "Duis", "message": "voluptate" }, { "keyword": "sunt esse Ut ea", "instancePath": "enim magna pariatur", "schemaPath": "exercitation anim ullamco", "message": "eiusmod" } ], "created_by": "afd346752dd9492770c11bd3", "last_updated_by": { "_id": "257f2c18680ac5c0dc66505f", "provenance": "incididunt", "username": "culpa", "firstname": "enim culpa adipisicing dolore", "memberOf": [ { "groupId": "13306dd37350e91dada0bea4", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "minim dolore in" }, { "roleId": "ex est ullamco esse magna" }, { "roleId": "quis dolor" } ], "inactive": true, "lastLogin": "1949-03-20T23:48:01.518Z", "_meta": { "created": "2011-10-04T12:30:45.17Z", "updated": "1968-04-03T03:54:35.422Z", "migrationVersion": 4493335 }, "email": "nostrud" }, "tasks": { "workflow_start": { "x": -46568121.70727447, "y": 13017462.011464834, "gridCoordinate": { "x": -29845855.58449994, "y": 51708127.86378512 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 48732988.47173047, "finish_state": "failure", "user": "27c9d271acb37f51cd8327ec" }, "groups": [ "34ad3c0e1b9d160660e123fe", { "_id": "b6618e522d326d605871f2b6", "provenance": "aute minim occaecat est nulla", "name": "dolor nostrud officia in in", "description": "nostrud ipsum magna", "memberOf": [ { "groupId": "adc246cfaa2acdecd3b6d2ff", "aaaManaged": true }, { "groupId": "22dd865796b5004562f35460", "aaaManaged": true }, { "groupId": "e814d10b12f12a2e6181bbd6", "aaaManaged": false }, { "groupId": "2f4fb001d595b8127ba46643", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "incididunt ipsum id" }, { "roleId": "in" }, { "roleId": "ut" }, { "roleId": "ea esse consectetur ut" }, { "roleId": "dolore nisi aliquip" } ], "inactive": false, "_meta": { "created": "1954-12-04T02:36:03.793Z", "updated": "1974-02-11T13:03:59.648Z", "migrationVersion": -36246202 } }, "default", "default", "default" ], "iterations": [ "AF7FbeBe-Dd44-EEE1-cABc-D1fBEA85BCD2" ] }, "workflow_end": { "x": 1389302.2031021863, "y": 28935370.911041945, "gridCoordinate": { "x": 24160339.790830806, "y": -82047635.0841064 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "workflow_end", "workflow_end", "workflow_end" ], "complete": [ "3a1f" ], "error": [ "workflow_start", "error_handler", "e28f", "workflow_start", "3a1f" ] }, "metrics": { "end_time": 51821309.80264446, "run_time": 95376003.91012412 }, "groups": [ "default", { "_id": "4e36f9f0a05a684369def0bf", "provenance": "laborum minim dolore fugiat qui", "name": "quis", "description": "pariatur reprehenderit magna dolor cupidatat", "memberOf": [ { "groupId": "bf0ece556562af42298ac21b", "aaaManaged": false }, { "groupId": "53664bc5ad2eb32e2096eb9c", "aaaManaged": false }, { "groupId": "ad1dcb7a6bbea490980949ff", "aaaManaged": true }, { "groupId": "ecc29dedf78457f9094f9ae5", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Excepteur mollit Ut proident exercitation" }, { "roleId": "aliquip in irure" }, { "roleId": "Ut" }, { "roleId": "aute officia esse cupidatat velit" }, { "roleId": "dolore ut" } ], "inactive": true, "_meta": { "created": "2000-03-15T18:43:37.385Z", "updated": "2012-03-09T15:03:32.459Z", "migrationVersion": -14683125 } } ], "iterations": [] }, "error_handler": { "x": -52779453.90247179, "y": 79065088.82245255, "gridCoordinate": { "x": -13595490.565814167, "y": -9761154.110443473 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "nisi eiusmod ut", "canvasName": "incididunt Excepteur", "displayName": "ipsum reprehenderit voluptate eu ea", "summary": "sed irure consequat velit", "description": "enim ullamco", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/GNT7zx87/GTg2H/Ovf5t3IXk" }, { "type": "encryption", "pointer": "/kol/NT6P/~0/Omo/~0/~0" }, { "type": "encryption", "pointer": "/zLCSYQc9/uMN31o" }, { "type": "encryption", "pointer": "/~1/~1/Ap/~1/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "ex eu exercitation", "highlightString": "ut elit in" }, { "key": "ex ea amet", "highlightString": "qui dolor sit Lorem cillum" }, { "key": "ad do", "highlightString": "ea non est" }, { "key": "cillum Excepteur", "highlightString": "commodo" }, { "key": "minim dolor ullamco enim mollit", "highlightString": "adipisicing nostrud et" } ], "status": "failure", "previous": { "incomplete": [ "e28f" ], "complete": [ "workflow_end", "3a1f" ], "error": [ "3a1f", "workflow_end", "error_handler", "workflow_end", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_end", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "revert" } ] }, "serverId": "ullamco ex", "start_time": "1948-06-28T03:33:25.896Z", "end_time": -53298656.67509339, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "7c903d0c045a67664d179b52", "provenance": "sint tempor laborum proident", "name": "mollit ea nulla deserunt ut", "description": "ad enim", "memberOf": [ { "groupId": "dccdb2ae8b745ec32d98250c", "aaaManaged": true }, { "groupId": "048d84304e44d38445d93e90", "aaaManaged": false }, { "groupId": "d3dfda15cb2fd9bccfb92d02", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "amet" }, { "roleId": "velit in sint" } ], "inactive": false, "_meta": { "created": "1946-09-28T08:12:31.146Z", "updated": "2020-12-27T06:15:11.859Z", "migrationVersion": 5291306 } }, "8f588e99968ba2b118e8cda6", "3dbb0e344200209bc70a0c2f" ], "iterations": [] }, "ec": { "actor": null, "groups": [ "0bd4ff5f91a8190dbfb0bfa1", { "_id": "e573ca4f11cd0f11602d9d39", "provenance": "qui", "name": "consequat exercitation aliquip irure", "description": "mollit occaecat tempor", "memberOf": [ { "groupId": "13c3d93552acf35e9bdd7e72", "aaaManaged": true }, { "groupId": "771482bd47732ca400ead402", "aaaManaged": true }, { "groupId": "62446909a94c153cbdee7eb6", "aaaManaged": false }, { "groupId": "91261a08b18ecfa220880b06", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nostrud exercitation ad Lorem sit" }, { "roleId": "deserunt occaecat amet sit aliquip" }, { "roleId": "est" }, { "roleId": "Excepteur" }, { "roleId": "ullamco" } ], "inactive": true, "_meta": { "created": "1977-01-12T11:51:02.873Z", "updated": "1993-02-01T09:15:54.035Z", "migrationVersion": -30717872 } }, "f14aee4319907227b601bd5c" ], "iterations": [ "dfC7eC4F-7aeE-5cE3-6DbA-8B506C6aA2AA", "1439B653-F32C-7BAf-687C-C049a5CCaBA3" ], "x": 98301474.10729605, "y": 25512971.920412973, "gridCoordinate": { "x": -38819380.222270496, "y": -41063824.87977886 }, "name": "pending", "summary": "dolore cillum", "description": "occaecat" } }, "parent": { "job": "sed dolor do aliqua", "task": "fugiat ex adipisicing ad", "iteration": -64906286.56585114, "element": 14028161.574773982 }, "errorHandler": null, "groups": [ "5e87772c341f64f246a8da46", "default", "default", "b4f4c67c0a8635cb8c930937", "default" ], "watchers": [ "Pronghorn", { "_id": "9608616ea047fff6bd4619a9", "provenance": "consequat", "username": "exercitation", "firstname": "dolore sed est", "memberOf": [ { "groupId": "233bf67ab84637f0f8ae7d58", "aaaManaged": false }, { "groupId": "9806b03fb192ea6ad1aa0c42", "aaaManaged": true }, { "groupId": "65036a22a51afd41a11b4066", "aaaManaged": true }, { "groupId": "ff7c204d773c128475b7dd91", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliquip dolore sint" } ], "inactive": false, "lastLogin": "1969-11-14T16:01:46.311Z", "_meta": { "created": "1964-09-02T06:21:29.851Z", "updated": "1958-04-23T16:46:05.292Z", "migrationVersion": 87394023 }, "email": "in" }, null, "Pronghorn" ], "metrics": { "start_time": 9329465.826049298, "progress": 0.7816935642963612, "end_time": -12392802.1817787, "user": null, "owner": "Pronghorn" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }