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": "nisi est pariatur" } }
{ "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": "320fa66ab71059a85043d6c1", "font_size": -83555823, "type": "automation", "created": "2014-05-28T22:16:58.533Z", "last_updated": "2011-08-10T01:33:32.094Z", "createdVersion": "602119398.6.0", "lastUpdatedVersion": "30517711.3114040.368464445", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": 22595369, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -23062793.940950096, "sla": -69571104.60402624, "decorators": [ { "type": "encryption", "pointer": "/iTITD1dB/o/y5i/ULt-kF++q,/~1/~1/~0" }, { "type": "encryption", "pointer": "/hkh9M8r4qTs/m/f/19soIU/agHicl/~0/WEQ5GZ/iNB-tV" } ], "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": "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "nostrud qui voluptate et ut" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "aute" }, { "task": "workflow_end", "name": "myCoolDocumentName" } ], "ancestors": [ "72559eb7362f35eee80c88cf" ], "validationErrors": [ { "keyword": "proident esse laborum minim dolor", "dataPath": "ullamco veniam aute Excepteur eu", "schemaPath": "dolore culpa ex", "message": "occaecat sit irure" }, { "keyword": "amet elit incididunt culpa", "dataPath": "sit amet mollit esse", "schemaPath": "elit", "message": "minim elit" }, { "keyword": "dolore ullamco dolor et in", "dataPath": "commodo", "schemaPath": "aliqua", "message": "quis culpa" }, { "keyword": "Lorem velit officia in", "dataPath": "dolor deserunt qui", "schemaPath": "nulla esse dolor", "message": "id veniam aute culpa mollit" }, { "keyword": "id in ullamco", "dataPath": "est ad ullamco", "schemaPath": "aliquip", "message": "in non incididunt dolore laboris" } ], "created_by": "Pronghorn", "last_updated_by": "e6036e94f811a77edd93a2b9", "tasks": { "workflow_start": { "x": 14714829.890439063, "y": 80710699.38065323, "gridCoordinate": { "x": 88004279.80120498, "y": 49697795.46208528 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -95669958.0836101, "finish_state": "failure", "user": "1fa2b0f24b2541882f23f34d" }, "groups": [ { "_id": "6c95c79edb793a12a6e7bebb", "provenance": "qui sint", "name": "consequat deserunt", "description": "nulla consectetur", "memberOf": [ { "groupId": "e31c3217961a0b382cce8252", "aaaManaged": false }, { "groupId": "9eeeb77d84cefae0917272fc", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nulla deserunt dolore exercitation" }, { "roleId": "ex dolore Lorem" } ], "inactive": true, "_meta": { "created": "1960-05-28T19:22:07.38Z", "updated": "1952-04-15T22:45:01.288Z", "migrationVersion": 96494860 } }, { "_id": "d4f518e7e52433e72d24fe67", "provenance": "est Lorem mollit", "name": "in", "description": "velit deserunt qui amet dolor", "memberOf": [ { "groupId": "f5e7c035889b9b727f716c32", "aaaManaged": true }, { "groupId": "692b96c8f252613803fd8ed1", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "qui eiusmod nisi occaecat dolor" }, { "roleId": "deserunt sint ullamco pariatur nulla" }, { "roleId": "voluptate commodo" } ], "inactive": false, "_meta": { "created": "1983-03-26T14:49:10.228Z", "updated": "2022-09-17T09:27:26.609Z", "migrationVersion": 22814824 } }, { "_id": "f513788030d51c807f403384", "provenance": "velit Excepteur ex et minim", "name": "esse nostrud", "description": "id nostrud occaecat", "memberOf": [ { "groupId": "4c3916abd8b9d6c9422c352a", "aaaManaged": true }, { "groupId": "9bbd8298cc818411d8620cfa", "aaaManaged": false }, { "groupId": "70513e75ff16b1ec26b8405a", "aaaManaged": true }, { "groupId": "2364c19cda9791fe292aeef2", "aaaManaged": true }, { "groupId": "846a3f2bd8ab10d03fd96b0c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sit deserunt" }, { "roleId": "proident est sed aliquip" }, { "roleId": "aliqua" } ], "inactive": true, "_meta": { "created": "1993-10-12T19:35:37.136Z", "updated": "1983-05-21T00:55:00.248Z", "migrationVersion": -9412251 } }, "default", { "_id": "0e4cddfc57821945413533e5", "provenance": "consectetur veniam amet", "name": "incididunt amet dolor", "description": "exercitation", "memberOf": [ { "groupId": "7fdfe89b164d5329a1d557d4", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ad" }, { "roleId": "exercitation irure" } ], "inactive": true, "_meta": { "created": "2004-04-11T01:19:22.637Z", "updated": "2003-07-24T17:04:50.225Z", "migrationVersion": 22438017 } } ], "iterations": [ "eeFbC378-b34B-5B47-aE5e-f980FefB10f5" ] }, "workflow_end": { "x": -85574320.45652407, "y": -56780839.484328195, "gridCoordinate": { "x": -6713662.665028825, "y": 62466824.22167474 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "e28f" ], "complete": [ "error_handler", "3a1f", "3a1f", "workflow_start" ], "error": [ "workflow_start", "error_handler", "error_handler" ] }, "metrics": { "end_time": 87325661.4025959, "run_time": -78020051.33347541 }, "groups": [ { "_id": "d3b70ae4227f66af4f62f16a", "provenance": "ad", "name": "dolore", "description": "occaecat incididunt", "memberOf": [ { "groupId": "a487671b839282dc8ab09079", "aaaManaged": true }, { "groupId": "22888e723ec826fdf4f59fd3", "aaaManaged": true }, { "groupId": "018c050e5f418097e65cfbcf", "aaaManaged": false }, { "groupId": "78c06d7ae525009f0ebaafe5", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "enim nisi" }, { "roleId": "non fugiat nulla" }, { "roleId": "qui" } ], "inactive": true, "_meta": { "created": "1956-04-22T20:46:14.961Z", "updated": "1968-03-26T05:42:06.638Z", "migrationVersion": -35095806 } }, "260dbe1868424fa8e60b18a6" ], "iterations": [] }, "error_handler": { "x": 89491949.7799128, "y": -61032795.81495347, "gridCoordinate": { "x": -42972999.21144439, "y": 1750137.5272071362 }, "name": "childJob", "location": "Adapter", "locationType": "nulla id", "app": "quis Duis dolore", "canvasName": "minim laborum", "displayName": "sint Lorem nisi", "summary": "in pariatur", "description": "in est in minim", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/R78vgq89/~0/~0/~1/~0/Ib" }, { "type": "encryption", "pointer": "/~0/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "enim nisi anim esse et", "highlightString": "dolore incididunt tempor velit laboris" }, { "key": "eiusmod laboris consequat aute fugiat", "highlightString": "quis sed ad exercitation" } ], "status": "running", "previous": { "incomplete": [ "workflow_start", "workflow_start", "workflow_end", "workflow_start" ], "complete": [ "workflow_start" ], "error": [ "workflow_end", "workflow_start", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "loop" }, { "task": "e28f", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "error_handler", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "standard" } ] }, "serverId": "nisi", "start_time": "1946-03-07T18:36:11.82Z", "end_time": -82783647.51582776, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": null, "groups": [ "865bdf941e13fd17976e7057", "e8778ee66d8084d3edad3ddd" ], "iterations": [] }, "b2e": { "actor": "Pronghorn", "groups": [ { "_id": "1115a8e8944cbff9f162a0d9", "provenance": "aliquip ex fugiat reprehenderit ipsum", "name": "anim qui", "description": "proident in labore et", "memberOf": [ { "groupId": "5984a4b0d7a96188846d15b7", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nisi in culpa" } ], "inactive": false, "_meta": { "created": "2008-11-02T14:05:10.707Z", "updated": "1956-07-27T15:52:15.906Z", "migrationVersion": 20290362 } }, "default", "default", "default" ], "iterations": [ "AbCBda6e-49D9-4e9a-54CD-C4eABcD3d605", "05CDc79c-648A-ee68-ec4F-100f9Cb524a4" ], "x": -67313351.93430556, "y": -93122385.14709765, "gridCoordinate": { "x": 35009446.58816555, "y": 41954379.919845045 }, "name": "pariatur Ut", "location": "Adapter", "locationType": null, "app": "sit cupidatat sint nostrud nisi", "canvasName": "sunt in incididunt dolor qui", "displayName": "pariatur", "summary": "anim", "description": "commodo", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/ICIk4P/~1/~0/FEHxQEypa" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "non", "highlightString": "elit ipsum eiusmod nostrud Excepteur" }, { "key": "ut commodo sunt exercitation consectetur", "highlightString": "in quis" } ], "status": "failure", "previous": { "incomplete": [ "3a1f", "error_handler", "3a1f", "e28f" ], "complete": [ "3a1f", "error_handler", "workflow_start", "error_handler", "workflow_start" ], "error": [ "error_handler", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "3a1f", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_end", "type": "standard" } ] }, "serverId": "laborum sed elit ut", "start_time": "1966-10-25T03:52:08.99Z", "end_time": 78318245.1369806, "finish_state": "success", "retrySettings": { "state": [ "success" ], "autoRetry": false, "limit": 73779054, "delay": 2787119, "count": 35654376, "finishedRetrying": false }, "type": "manual", "view": "ut tempor esse" } }, "parent": { "job": "deserunt qui cupidatat culpa", "task": "mollit irure in voluptate consectetur", "iteration": -69509909.94418657, "element": -24944313.77974373 }, "errorHandler": { "actor": "job", "groups": [ { "_id": "b6372e60c9861b107c7db655", "provenance": "reprehenderit exercitation cillum aliquip", "name": "est proident nisi consequat", "description": "tempor", "memberOf": [ { "groupId": "3c45bac75244cd091e11b07b", "aaaManaged": true }, { "groupId": "c201fd2125ecad9cbc05ae90", "aaaManaged": false }, { "groupId": "c293cd5487afd670d498bd8d", "aaaManaged": false }, { "groupId": "c99b2876adbcc43d11354bf9", "aaaManaged": true }, { "groupId": "b7b8e70d746ee0ae42397a34", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consequat culpa" }, { "roleId": "sed esse adipisicing" }, { "roleId": "non" }, { "roleId": "enim commodo magna voluptate dolore" } ], "inactive": false, "_meta": { "created": "1992-10-03T22:14:31.831Z", "updated": "1963-04-25T03:43:31.712Z", "migrationVersion": 18274885 } }, "default", { "_id": "c5492de3e2f02c832d8ee914", "provenance": "ad sint amet aute", "name": "pariatur", "description": "pariatur aliquip sint enim", "memberOf": [ { "groupId": "7003e61a6219c017d5267b1c", "aaaManaged": false }, { "groupId": "3142d764ad5fc15a22c02e99", "aaaManaged": false }, { "groupId": "9d0dddd0be0119ae827c2fee", "aaaManaged": true }, { "groupId": "7074fbecb63db849a88f8b15", "aaaManaged": false }, { "groupId": "fe56ded7b1255a3e27b28800", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore nulla in in dolor" }, { "roleId": "dolore tempor" } ], "inactive": false, "_meta": { "created": "1956-05-21T05:15:21.783Z", "updated": "1971-10-22T10:05:08.869Z", "migrationVersion": -68689195 } } ], "iterations": [], "x": 35714080.65619123, "y": 95971831.98268303, "gridCoordinate": { "x": -1441539.8314746171, "y": -58255315.44686542 }, "name": "do qui incididunt deserunt", "location": "Adapter", "locationType": null, "app": "ea nulla culpa aliqua", "canvasName": "elit", "displayName": "esse aute sit cillum", "summary": "ullamco incididunt", "description": "tempor elit veniam esse officia", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/cC1IeQshq/~1/tiQsKpqoK,/ggTHJAGXM/UTYv5c+/eyYCnn6P3/BDYeY/~0/V/JJ" }, { "type": "encryption", "pointer": "/~1/~1" }, { "type": "encryption", "pointer": "/u/NrAAwM-dJkr/~1/kEHIyQqhgEG" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "officia eu", "highlightString": "in enim eu" }, { "key": "quis dolore sint cillum fugiat", "highlightString": "amet dolore in" }, { "key": "incididunt ea", "highlightString": "proident non velit sunt" }, { "key": "in", "highlightString": "incididunt" }, { "key": "in amet adipisicing exercitation", "highlightString": "in nulla ut aliquip voluptate" } ], "status": "complete", "previous": { "incomplete": [ "3a1f", "workflow_start", "3a1f", "workflow_start", "workflow_end" ], "complete": [ "e28f", "e28f" ], "error": [ "e28f", "workflow_end", "workflow_end", "error_handler" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "loop" } ] }, "serverId": "reprehenderit", "start_time": "1983-09-15T21:03:54.603Z", "end_time": 61095625.625863016, "finish_state": "error", "retrySettings": null, "type": "manual", "view": "ipsum esse" }, "groups": [ { "_id": "e665d15dc42c85e4055e436b", "provenance": "labore Ut est in", "name": "ad aliquip labore Lorem quis", "description": "consequat in pariatur enim incididunt", "memberOf": [ { "groupId": "19a8c141fb3d0c4e4ece8500", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "laboris enim adipisicing" } ], "inactive": true, "_meta": { "created": "1946-09-17T01:50:17.035Z", "updated": "1996-08-16T20:52:31.828Z", "migrationVersion": -12748818 } }, { "_id": "1ae0c146a287c8d2c4f60a5d", "provenance": "fugiat quis Lorem dolor minim", "name": "laborum elit", "description": "exercitation qui", "memberOf": [ { "groupId": "8518b64096917c19d9f6e75d", "aaaManaged": false }, { "groupId": "4d259c21b97e4ff6566ebafd", "aaaManaged": true }, { "groupId": "0a3274aa0857f0a01179194f", "aaaManaged": false }, { "groupId": "d9084139cd6805988c53471d", "aaaManaged": false }, { "groupId": "f6b39dd3d7182b1f47ac215b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "mollit velit fugiat sint" }, { "roleId": "ut eu ad fugiat" }, { "roleId": "ad ut" }, { "roleId": "amet exercitation est eiusmod" }, { "roleId": "ipsum cupidatat ullamco tempor" } ], "inactive": false, "_meta": { "created": "1965-08-08T07:46:22.746Z", "updated": "1966-05-26T14:38:56.774Z", "migrationVersion": 16339038 } } ], "watchers": [ "620f9d827f356e5ff782cfad", "Pronghorn" ], "metrics": { "start_time": 22731619.44650796, "progress": 0.03207825512134588, "end_time": 76957379.99742368, "user": "Pronghorn", "owner": "5c9b24c5ab0c8988e98fc33d" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }