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": "laborum minim nulla" } }
{ "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": "f39b044b72d8faeb4aba012a", "font_size": -58431106, "type": "resource:compliance", "created": "1947-06-06T12:53:51.547Z", "last_updated": "1972-01-05T22:13:29.789Z", "createdVersion": "9086.6261327123.86584885-3855.3609725.88", "lastUpdatedVersion": "102.269.018286", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 68592871, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -57078594.154003695, "sla": 75702680.50423083, "decorators": [ { "type": "encryption", "pointer": "/PbWAmqxJ/EpjuZZENfh/~0/YY/~1/zV/sx/~1/~1" }, { "type": "encryption", "pointer": "/~1/YcAA.2s" }, { "type": "encryption", "pointer": "/~0/k/~0/~1/Qe4B9V/~0" }, { "type": "encryption", "pointer": "/OdxJfc75/vel1" } ], "status": "complete", "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": [ "9fbad9daa6d13f7906d88cf6", "0f607f62c778452ad6788c54", "d8202b043cea2a1f546f45fa" ], "validationErrors": [ { "keyword": "laboris eiusmod consectetur", "instancePath": "est aliquip tempor nisi", "schemaPath": "adipisicing tempor Ut velit ipsum", "message": "elit in magna culpa" }, { "keyword": "ipsum est adipisicing dolore laboris", "instancePath": "Ut dolor aute magna ex", "schemaPath": "non nulla eu Excepteur", "message": "et" }, { "keyword": "in ea tempor", "instancePath": "esse", "schemaPath": "sunt occaecat", "message": "ut aute reprehenderit in quis" } ], "created_by": "Pronghorn", "last_updated_by": "8f0bf4c438cd2ab90ab1e9f7", "tasks": { "9": { "actor": "job", "groups": [ "1b6778ad6c8193ad307cef81" ], "iterations": [], "x": 99696707.43935576, "y": 50615799.75445953, "gridCoordinate": { "x": -6216761.56019561, "y": 23227591.41886413 }, "name": "ut laborum cupidatat", "location": "Adapter", "locationType": null, "app": "ut veniam occaecat pariatur", "canvasName": "irure cillum laboris Duis", "displayName": "esse", "summary": "nisi", "description": "fugiat", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/v4" }, { "type": "encryption", "pointer": "/~1/~1/mqei-IR" }, { "type": "encryption", "pointer": "/~0/hW/mZ6-0hWR,/~0/XW.DS2p9o/~1/pEO5-n9F" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "fugiat", "highlightString": "incididunt aute culpa dolore" }, { "key": "et fugiat nulla", "highlightString": "voluptate minim cupidatat" }, { "key": "est cillum fugiat consectetur aliqua", "highlightString": "officia culpa magna ex exercitation" }, { "key": "dolore commodo aute in incididunt", "highlightString": "do aliqua qui quis Duis" }, { "key": "sint Ut exercitation", "highlightString": "Ut" } ], "status": "canceled", "previous": { "incomplete": [ "3a1f", "workflow_start", "workflow_end", "3a1f" ], "complete": [ "workflow_start" ], "error": [ "3a1f", "workflow_end", "workflow_start" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "nostrud id dolore", "start_time": "1995-05-15T06:47:57.904Z", "end_time": -55820898.27621579, "finish_state": "success", "retrySettings": { "state": [ "error" ], "autoRetry": true, "limit": 55563929, "delay": 15810246, "count": 37788424, "finishedRetrying": false }, "type": "manual", "view": "dolor fugiat Excepteur" }, "workflow_start": { "x": 95760662.53373972, "y": 6462516.877718687, "gridCoordinate": { "x": -60027883.22057917, "y": 9875255.556624249 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -71036029.7988847, "finish_state": "error", "user": "Pronghorn" }, "groups": [ "default", "default", { "_id": "bc01a064529fcc0e20a80ae1", "provenance": "fugiat irure esse culpa", "name": "veniam aliquip sunt ad tempor", "description": "qui eiusmod dolore ipsum incididunt", "memberOf": [ { "groupId": "e87ac621a94d2d552bfe26b7", "aaaManaged": false }, { "groupId": "d93a3f742e7bfb8f08decf4c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sunt velit et consectetur" }, { "roleId": "quis exercitation occaecat cupidatat voluptate" }, { "roleId": "in enim magna" }, { "roleId": "dolore consectetur ad" }, { "roleId": "non" } ], "inactive": true, "_meta": { "created": "1972-12-02T22:04:03.749Z", "updated": "2001-09-04T18:03:12.84Z", "migrationVersion": 23027156 } }, { "_id": "041fd1edeb16619db409e858", "provenance": "amet adipisicing", "name": "in anim aliquip dolor dolore", "description": "Duis nulla in magna consequat", "memberOf": [ { "groupId": "cb4f3cbc42ffa77dabf11f60", "aaaManaged": true }, { "groupId": "2b5057fd24769b261aa9cf58", "aaaManaged": false }, { "groupId": "67803585051c9abc174bb0b4", "aaaManaged": false }, { "groupId": "7d9103d985477a7588769227", "aaaManaged": false }, { "groupId": "c8efd167acfe76ffb9b20350", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cillum aliqua id mollit ullamco" }, { "roleId": "velit Excepteur" }, { "roleId": "aliquip" }, { "roleId": "consectetur adipisicing pariatur fugiat ea" }, { "roleId": "tempor velit incididunt" } ], "inactive": true, "_meta": { "created": "1959-11-07T08:29:46.652Z", "updated": "1948-10-02T22:01:12.407Z", "migrationVersion": -99551198 } }, { "_id": "7efc2638b282f785f98f55b4", "provenance": "qui", "name": "magna amet mollit cillum proident", "description": "officia velit sunt voluptate sint", "memberOf": [ { "groupId": "8c5ece20548ff730a0dee48b", "aaaManaged": true }, { "groupId": "36465ee86e036445d9050cb3", "aaaManaged": true }, { "groupId": "43c0f42373ef82b0b09a7e5a", "aaaManaged": false }, { "groupId": "7a90400af8173c1ed7aa9156", "aaaManaged": true }, { "groupId": "dfe286d8627eef83e5acbc03", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "pariatur anim sint reprehenderit" }, { "roleId": "nulla in est aute" } ], "inactive": true, "_meta": { "created": "1978-03-21T06:54:53.042Z", "updated": "2001-11-19T14:38:10.499Z", "migrationVersion": 58194807 } } ], "iterations": [ "De8fEEFc-Eb6D-d05b-8a19-ad1bcE82B762", "fbBDA4bc-dBeF-EE8F-f1CF-C1CDdAFD9917" ] }, "workflow_end": { "x": 78742983.65321165, "y": 31194387.43706526, "gridCoordinate": { "x": -45468854.495390065, "y": 46399012.816875994 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "error_handler", "3a1f" ], "complete": [ "error_handler", "workflow_start", "workflow_end", "workflow_end", "workflow_start" ], "error": [ "workflow_start", "3a1f", "workflow_end" ] }, "metrics": { "end_time": 71980345.33536565, "run_time": -21193257.89918962 }, "groups": [ "09438c91aec24dacce0e4655", "default", { "_id": "bfb7f7aa81e3a05885e47f57", "provenance": "eiusmod", "name": "Ut", "description": "esse nisi tempor ex aliqua", "memberOf": [ { "groupId": "141471f7783a0dec37e2c070", "aaaManaged": false }, { "groupId": "d71313cede4e8bc0fb5df6bc", "aaaManaged": true }, { "groupId": "f5ec8ef39b0ab18f4923e644", "aaaManaged": false }, { "groupId": "4d37a2775369b930bbdb336a", "aaaManaged": true }, { "groupId": "cde1f9a97468a37a7d3850ea", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "occaecat nisi sunt culpa" }, { "roleId": "dolore eu aute" }, { "roleId": "magna" } ], "inactive": false, "_meta": { "created": "1980-12-30T04:47:29.405Z", "updated": "1975-03-04T22:30:45.263Z", "migrationVersion": 10981786 } }, "00ce5d98594ea6d70fa520db", { "_id": "9b36ffeb17a047b2a5e56cad", "provenance": "pariatur nulla", "name": "nulla", "description": "est magna eiusmod", "memberOf": [ { "groupId": "04d363dea1a8d32dee111c5a", "aaaManaged": false }, { "groupId": "4ea15ec368eaac05685ceb4f", "aaaManaged": true }, { "groupId": "0db5c95b046d309ca536d923", "aaaManaged": true }, { "groupId": "ca11f4e631627ee40d35ce50", "aaaManaged": true }, { "groupId": "ca1c45fcf6931ce3841ccd54", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "labore anim pariatur Duis id" }, { "roleId": "eiusmod sunt quis" }, { "roleId": "aute incididunt Lorem" }, { "roleId": "velit esse irure labore id" }, { "roleId": "esse commodo sint" } ], "inactive": true, "_meta": { "created": "1990-11-10T21:29:45.533Z", "updated": "2009-05-18T06:06:35.319Z", "migrationVersion": -98021990 } } ], "iterations": [ "8c00fEa5-3c4E-E5AC-a4ac-e5A7b16432D8", "1B194BA9-f1e5-e40B-5Ca5-DA478eb7ECd3", "ff10cA70-0FD2-bA95-103F-4EdcBFeabB7a", "c2A0cB12-aaAA-47aC-0eE2-d9F9b6dEf83D" ] }, "error_handler": { "x": 45895181.231312424, "y": 21195436.02257657, "gridCoordinate": { "x": 1508021.7647906095, "y": -16779226.934617057 }, "name": "childJob", "location": "Adapter", "locationType": "sunt enim adipisicing ea", "app": "deserunt pariatur elit id", "canvasName": "quis eiusmod dolore qui", "displayName": "cupidatat", "summary": "laborum Ut consectetur Duis mollit", "description": "consequat commodo amet", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/I48yY3GWDfW/MpeiF+KG8/DafsA3Yx/~1/~0/BLn,F1-DRWg/e/~0/RalIU9EScK/~0" }, { "type": "encryption", "pointer": "/g,q2K/AD,K0ncUTN/WhtJy3l85/fOf/mMm/~1/A2tA6Tt/eesHYDYc" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "incididunt occaecat labore dolor laborum", "highlightString": "ut Lorem non" }, { "key": "cupidatat in Excepteur amet deserunt", "highlightString": "labore amet commodo elit" }, { "key": "velit labore non", "highlightString": "ut qui cupidatat" } ], "status": "complete", "previous": { "incomplete": [ "workflow_start", "workflow_start", "3a1f", "3a1f" ], "complete": [ "3a1f", "error_handler", "error_handler" ], "error": [ "error_handler", "3a1f", "3a1f", "workflow_start", "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "e28f", "type": "loop" } ], "failure": [ { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "standard" } ] }, "serverId": "tempor sint dolor velit", "start_time": "1948-11-12T16:54:56.615Z", "end_time": 73517678.01253062, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": { "_id": "248de52dfabc71691acb45b1", "provenance": "nostrud in sint magna", "username": "ea dolore deserunt quis", "firstname": "dolor proident Duis elit", "memberOf": [ { "groupId": "222c34a629e2b2c0062ac954", "aaaManaged": false }, { "groupId": "9eb8e4f0354d1c54423f337a", "aaaManaged": true }, { "groupId": "0742bc68da1934b164777020", "aaaManaged": false }, { "groupId": "f9f04d78e90090364ad9fd7a", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "et qui aute Duis" }, { "roleId": "officia aliquip eu dolor" }, { "roleId": "ea fugiat eiusmod sint" }, { "roleId": "Lorem non ut sed" }, { "roleId": "incididunt occaecat exercitation tempor dolor" } ], "inactive": true, "lastLogin": "1980-08-02T10:25:34.092Z", "_meta": { "created": "1982-09-24T05:22:05.789Z", "updated": "1966-03-21T02:33:09.088Z", "migrationVersion": 144273 }, "email": "quis magna irure fugiat" }, "groups": [ "c3d2c1553582ac6e0a8f55f6", "4d68ee40c761372d64ee8a02", "b1c7f9eada89ae59fa4e16a5", "default", "84b2abbec0732cd007986820" ], "iterations": [ "dBe2e8E9-50bD-c7C2-a8aA-3B50F5bBd72A", "11BbcfBB-8fE0-1B48-17f3-fBf9dCe489E6" ] } }, "parent": { "task": "cupidatat ea sunt aliquip laboris", "iteration": -72715962.36733103, "element": 63990005.22512299 }, "errorHandler": { "actor": "job", "groups": [ { "_id": "edcc33ce4c7ab7d556411c87", "provenance": "mollit laborum eu", "name": "commodo sit", "description": "qui ex exercitation fugiat deserunt", "memberOf": [ { "groupId": "55f243fb044244001b716fbc", "aaaManaged": false }, { "groupId": "0bc5b095885440067d906e71", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sed" }, { "roleId": "dolore laboris ut Excepteur" }, { "roleId": "ad nulla labore" } ], "inactive": false, "_meta": { "created": "2006-08-31T02:22:01.65Z", "updated": "1964-08-11T15:03:08.999Z", "migrationVersion": -57178502 } }, "1b88f6d6a2be38b42292d843", { "_id": "f56048ae267ab85d11961fde", "provenance": "aute in adipisicing culpa", "name": "fugiat Lorem Duis consectetur eiusmod", "description": "aliquip Lorem sunt aliqua", "memberOf": [ { "groupId": "5596e0f9c908b3386cd851e9", "aaaManaged": true }, { "groupId": "9911bee4ac00200fe60d4af9", "aaaManaged": false }, { "groupId": "60a013a29875ab4a78699470", "aaaManaged": false }, { "groupId": "86f8f4b089bb01165f37f0f6", "aaaManaged": true }, { "groupId": "906a4b4f21ab6dde4fc492b6", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolore dolor enim minim nulla" }, { "roleId": "labore" } ], "inactive": true, "_meta": { "created": "1973-10-17T15:55:20.049Z", "updated": "2005-02-27T22:12:59.682Z", "migrationVersion": 13706638 } }, "2af083125fb79a00ab3e0ccd", "default" ], "iterations": [ "dca6467D-CefB-CfbF-E7f6-bCB5F0Bc0DAf" ], "x": 2314101.3214891255, "y": -70256266.62483627, "gridCoordinate": { "x": 1551276.8469038755, "y": -13162084.12427327 }, "name": "pariatur exercitation qui dolor", "location": "Adapter", "locationType": "veniam nisi irure occaecat Excepteur", "app": "sit laborum ex sunt", "canvasName": "dolore occaecat qui exercitation nulla", "displayName": "aliquip dolore in deserunt", "summary": "Lorem sint", "description": "Lorem", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/XHjP,2kU/oy/YmkUnge1/On2-yA6mV1/~0/~0/~0/~1/nB,TgNjXAi4" }, { "type": "encryption", "pointer": "/~0/~1/jpc9M/~0/~1/~0" }, { "type": "encryption", "pointer": "/mb" }, { "type": "encryption", "pointer": "/v/~1/E4I/~1" }, { "type": "encryption", "pointer": "/~0/~1/IzPLI,bnx/w7TZW/~0" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "tempor cupidatat fugiat Lorem sed", "highlightString": "velit occaecat quis pariatur" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start", "3a1f", "error_handler", "3a1f", "3a1f" ], "complete": [ "workflow_start", "workflow_end", "workflow_start" ], "error": [ "e28f", "3a1f", "e28f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "3a1f", "type": "revert" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "revert" } ] }, "serverId": "sint ut id Lorem", "start_time": "1989-09-18T10:01:59.063Z", "end_time": -35607758.330901265, "finish_state": "success", "retrySettings": { "state": [ "failure" ], "autoRetry": true, "limit": 85212016, "delay": 76557025, "count": 75857695, "finishedRetrying": false }, "type": "manual", "view": "velit" }, "groups": [ { "_id": "bec48a12852aaf6eee6abe08", "provenance": "irure amet Ut", "name": "minim aute sint veniam esse", "description": "ut sint magna reprehenderit anim", "memberOf": [ { "groupId": "7638ab0202e6a5a3c98a7165", "aaaManaged": false }, { "groupId": "2d8f8528f55f327479a0d03b", "aaaManaged": true }, { "groupId": "e5b7683c22fe48c734976c26", "aaaManaged": true }, { "groupId": "00cb3242ffae271a97af95a5", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cupidatat dolore consectetur ullamco" }, { "roleId": "eu" }, { "roleId": "incididunt Duis esse cillum ut" }, { "roleId": "nisi" }, { "roleId": "labore sunt cupidatat Ut" } ], "inactive": true, "_meta": { "created": "1973-04-23T22:32:17.19Z", "updated": "1962-06-29T01:22:52.096Z", "migrationVersion": 75293011 } } ], "watchers": [ null, "f981f2259b2ff2c0900118f1" ], "metrics": { "start_time": -44152311.964407876, "progress": 0.6428456443930528, "end_time": -36389422.01059558, "user": "dde4040fcc370d8bd3eb8b2d", "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }