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": "nostrud dolore aliqua enim" } }
{ "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": "587e1a8252a8033571a5adbe", "font_size": 64419070, "type": "automation", "created": "2009-11-15T22:48:00.953Z", "last_updated": "1967-02-03T18:05:36.66Z", "createdVersion": "47504134569.28493368384.50", "lastUpdatedVersion": "39623970.02312.5360", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -75128141, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 80888607.19534668, "sla": -44166180.076583, "decorators": [ { "type": "encryption", "pointer": "/BIpJ9sUCe6/~0/N/FTrZak/k/USQLbzd/n4dB8J49dDZ/~1/~0/~1/~0/YkO7" }, { "type": "encryption", "pointer": "/~1/~1" }, { "type": "encryption", "pointer": "/~0/yN+3/g,waDuU/Y91K5cU/iCKc+jHt,/Qz" }, { "type": "encryption", "pointer": "/D8/C+Vt4RI7P.T/uabtpJ/~1/om/euvh/~0/z/~1/NT" } ], "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": "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": "error_handler", "name": "myCoolDocumentName", "message": "veniam Excepteur sit labore" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "consequat quis" } ], "ancestors": [ "2ec8842534bc77c68699b6e7" ], "validationErrors": [ { "keyword": "culpa in", "instancePath": "non", "schemaPath": "incididunt ad", "message": "Ut" } ], "created_by": null, "last_updated_by": "5763251a9ec6aafe5e483af2", "tasks": { "workflow_start": { "x": 5349984.903485, "y": -7889214.468575031, "gridCoordinate": { "x": -73196242.19411649, "y": 80776702.5661267 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 85355065.03986517, "finish_state": "error", "user": "cff60f95a1b8b83da3b76cb9" }, "groups": [ { "_id": "bc7e577a4e4bf2acc33348f6", "provenance": "adipisicing magna est officia nostrud", "name": "commodo", "description": "Excepteur fugiat ullamco", "memberOf": [ { "groupId": "bb6bdc79eac0cca4b41da0d4", "aaaManaged": true }, { "groupId": "d789e37a7068c71332a3b226", "aaaManaged": false }, { "groupId": "02014d15caf563d5b62158a5", "aaaManaged": false }, { "groupId": "2fe3442c9a72ca4585518412", "aaaManaged": false }, { "groupId": "0a5b01c7bcb4f9b1f1ae3abe", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "anim irure id in labore" }, { "roleId": "fugiat ea consectetur" } ], "inactive": true, "_meta": { "created": "1946-09-28T08:38:31.881Z", "updated": "1997-11-14T13:23:03.465Z", "migrationVersion": 42581661 } }, { "_id": "3a65aebbc89247d9797cae56", "provenance": "aliqua dolor minim", "name": "ipsum commodo", "description": "ex eiusmod ut consequat", "memberOf": [ { "groupId": "db16a3a5dc21cc547a533f45", "aaaManaged": true }, { "groupId": "d999805b5acf51f50f951bdc", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "officia ad et labore" }, { "roleId": "Duis eu consequat exercitation" } ], "inactive": false, "_meta": { "created": "2007-10-07T08:32:06.947Z", "updated": "2023-10-29T17:03:50.023Z", "migrationVersion": 56400252 } }, { "_id": "dc34d640176853c5d5e70faa", "provenance": "voluptate Ut sint non irure", "name": "voluptate", "description": "ullamco", "memberOf": [ { "groupId": "1b6e3da629afb73a88572784", "aaaManaged": false }, { "groupId": "dbe7da86014fda4979f33fda", "aaaManaged": false }, { "groupId": "2ab9c5227340a8c4cdb57bbf", "aaaManaged": false }, { "groupId": "748fc8d55d54209097564a91", "aaaManaged": true }, { "groupId": "0a619c4ee368e31bf1fd3ede", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "cillum ad adipisicing" }, { "roleId": "nisi occaecat Duis mollit ea" } ], "inactive": true, "_meta": { "created": "2021-03-13T07:05:33.824Z", "updated": "2011-09-28T17:20:09.71Z", "migrationVersion": -64178999 } }, { "_id": "674dbd46e94197e88dc95fc2", "provenance": "magna sit anim velit ut", "name": "elit consectetur pariatur exercitation minim", "description": "ipsum", "memberOf": [ { "groupId": "e76bca2c55e31c2371c961c1", "aaaManaged": true }, { "groupId": "a127cea57e341c9222b89c4d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "minim pariatur ea" }, { "roleId": "sed" }, { "roleId": "laborum veniam aliqua occaecat" }, { "roleId": "consequat cillum magna minim" }, { "roleId": "Lorem consectetur ut ut" } ], "inactive": true, "_meta": { "created": "1988-10-29T09:55:29.007Z", "updated": "1958-10-19T08:44:16.512Z", "migrationVersion": 61011447 } }, { "_id": "849b29247d349988e1a6a06e", "provenance": "velit sed aliquip nostrud", "name": "eiusmod eu laborum nulla", "description": "sint reprehenderit", "memberOf": [ { "groupId": "92b3e37ed998cf4362ce57f1", "aaaManaged": true }, { "groupId": "86f00fd34f747df81f33ee87", "aaaManaged": true }, { "groupId": "2eaf4648172af9c94cb40cdc", "aaaManaged": true }, { "groupId": "9f2915a543b1445f1b5d4264", "aaaManaged": true }, { "groupId": "42adb0a2316a27d121b4c43f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "voluptate adipisicing pariatur sit" }, { "roleId": "pariatur incididunt labore eu" } ], "inactive": true, "_meta": { "created": "1959-03-15T07:38:04.887Z", "updated": "2007-06-18T06:00:37.132Z", "migrationVersion": 85135210 } } ], "iterations": [] }, "workflow_end": { "x": -93000609.07643718, "y": -36502441.90011023, "gridCoordinate": { "x": 12921562.252814934, "y": -99788255.8725773 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "e28f", "e28f" ], "complete": [ "3a1f", "workflow_start", "workflow_end", "workflow_start", "workflow_start" ], "error": [ "workflow_start", "workflow_start", "3a1f" ] }, "metrics": { "end_time": 12055238.048442617, "run_time": -92261465.36370079 }, "groups": [ "default", "d597e951b2039e2ade019db5", { "_id": "9d797765309d261c4df7f343", "provenance": "incididunt nulla id", "name": "nulla", "description": "adipisicing", "memberOf": [ { "groupId": "68c8f7b01bec0357e6e15296", "aaaManaged": true }, { "groupId": "38b639a762abc6b0bac591c3", "aaaManaged": true }, { "groupId": "4a3c895725ffe8e649130dfa", "aaaManaged": false }, { "groupId": "dc3c8521a31308fa79a36098", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut eu quis sed ea" }, { "roleId": "veniam elit labore officia Lorem" }, { "roleId": "ex ipsum quis sunt" } ], "inactive": false, "_meta": { "created": "1982-03-19T04:01:13.431Z", "updated": "2012-07-05T08:35:42.724Z", "migrationVersion": -87321417 } }, "default", "9645cb63dd728c9ee5c27554" ], "iterations": [] }, "error_handler": { "x": -42345161.45975591, "y": -69525772.06142983, "gridCoordinate": { "x": -93404084.83536385, "y": -33261115.620462835 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "sint sit commodo", "canvasName": "ullamco veniam dolore in nostrud", "displayName": "fugiat sint irure sit", "summary": "ad cupidatat", "description": "proident dolor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/oqCjWFu7+I/~0/L6CF/n9kp+JPc-LC/dIz4X-rXs4//CD" }, { "type": "encryption", "pointer": "/bgT8S/UXxu6uV/ZBGc+E1" }, { "type": "encryption", "pointer": "/DC3iG3/~1/~1/~1/~1" }, { "type": "encryption", "pointer": "/~0/KDEPocYx07/TTlK/Ob4vl/Pdp/~0/~1/~1" }, { "type": "encryption", "pointer": "/r-UAEY9xmS" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "cillum id eu", "highlightString": "in cillum ut consequat" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_end", "workflow_end", "error_handler", "workflow_start" ], "complete": [ "e28f", "workflow_start" ], "error": [ "3a1f" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "loop" } ] }, "serverId": "dolore aliquip elit labore dolor", "start_time": "1944-05-05T18:06:24.247Z", "end_time": 20610631.30107397, "finish_state": "success", "retrySettings": { "state": [ "failure", "success", "error" ], "autoRetry": true, "limit": 74082656, "delay": 41438428, "count": 59052621, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ { "_id": "1d130f8e49e0ed32265dc883", "provenance": "laborum", "name": "commodo sed dolor enim", "description": "id ea qui proident do", "memberOf": [ { "groupId": "3121db5f5174dec6f11dd588", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ex consectetur id" }, { "roleId": "in Duis in eiusmod anim" }, { "roleId": "pariatur adipisicing" }, { "roleId": "sit eiusmod" } ], "inactive": true, "_meta": { "created": "2008-02-21T05:24:26.763Z", "updated": "1963-03-03T22:26:22.362Z", "migrationVersion": 80854754 } } ], "iterations": [] }, "09": { "actor": "Pronghorn", "groups": [ "23bdc66622aa624cee32ba4b", "default", { "_id": "749ad7593f6e73e3004e0823", "provenance": "voluptate minim", "name": "veniam ullamco irure occaecat", "description": "quis", "memberOf": [ { "groupId": "8b2a0d6aa8a62ca41bdb1a7f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ipsum nostrud voluptate Duis Ut" }, { "roleId": "cillum" }, { "roleId": "voluptate" }, { "roleId": "non incididunt aliquip" }, { "roleId": "dolore" } ], "inactive": true, "_meta": { "created": "2019-07-08T07:24:08.616Z", "updated": "1965-12-28T22:57:18.95Z", "migrationVersion": 98356981 } } ], "iterations": [ "CbA6DE6C-Fd22-e2ee-bBFB-EaDC4e1b5BbF", "baBBC14b-99b0-fbfC-EBEb-fE84b6FAb1e6", "644efc0c-bcC3-AcdE-eD66-B23d18290E1b", "Bbd63E87-38A4-D237-A1C9-6b9c9f1afa43" ], "x": -49836222.96986603, "y": -49252072.854146786, "gridCoordinate": { "x": 92919003.27417183, "y": -19934536.841481656 }, "name": "mollit", "location": "Broker", "locationType": null, "app": "Duis elit eu", "canvasName": "childJob", "displayName": "magna commodo laboris incididunt qui", "summary": "dolore in proident tempor do", "description": "consequat dolor aliqua dolore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/d" }, { "type": "encryption", "pointer": "/k6xv1dh/j0/RM/StsJ/~1/~0/Iz/IahXWPQX.k" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "sed consectetur do fugiat", "highlightString": "elit ut mollit" } ], "status": "error", "previous": { "incomplete": [ "e28f" ], "complete": [ "workflow_start", "3a1f", "3a1f", "e28f" ], "error": [ "workflow_start", "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "loop" } ], "failure": [ { "task": "error_handler", "type": "standard" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_end", "type": "loop" } ], "error": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_end", "type": "loop" } ] }, "serverId": "id dolor fugiat", "start_time": "1963-02-22T12:18:55.819Z", "end_time": 45378833.579573154, "finish_state": "error", "retrySettings": null, "loop": { "atLeastOneComplete": true, "finishedCount": -96438328.09757504, "outgoing": [ "aute amet commodo tempor minim", null, null, "dolore ipsum dolor consectetur" ] }, "childJobs": [ { "_id": "in sunt cupidatat", "name": "exercitation ut", "iteration": 45759064.98511952 }, { "_id": "reprehenderit", "name": "dolor incididunt et", "iteration": 41267191.20998788 }, { "_id": "reprehenderit ut aute", "name": "do tempor magna Lorem dolor", "iteration": -93228861.57652137 } ] } }, "parent": { "job": "consequat", "task": "anim id", "iteration": 482469.641885519, "element": -12109026.800180674 }, "errorHandler": { "actor": "Pronghorn", "groups": [ "29786758d3f1408dc0799188", "default", "d4c56051b37ed25083de1ecb" ], "iterations": [ "bCA3Bdda-A74a-46Ae-0d51-F4A889e3A255", "d7Ac0ef5-08Ea-fEdf-E392-fC98cbeEBE7C" ], "x": -15863918.798353449, "y": -51038759.606497, "gridCoordinate": { "x": 67295574.74164182, "y": -19826362.245099634 }, "name": "reprehenderit in sed aliquip", "location": "Broker", "locationType": null, "app": "est nostrud", "canvasName": "childJob", "displayName": "dolore id deserunt labore", "summary": "reprehenderit dolor", "description": "cillum laborum", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/Ob/~0/~0/~0/~1/UkikTWy6/~0/~1/lj/~0/mMrDikvX" }, { "type": "encryption", "pointer": "/EeRD3F9dlL/j5PdI/~1/kHza/Zg/~0/s.5f1.G4,/~1" }, { "type": "encryption", "pointer": "/p/DZ4agyOMkAG/YEOSB3/~0/~1/~1/XT2UA/~0" }, { "type": "encryption", "pointer": "/l/LYT3muzuo/mUqcyf4lZ5/nI.WS5/ICpG/sOm9P0Lu/~0/~1/~1/Ku2B" }, { "type": "encryption", "pointer": "/Z7l8" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "Lorem", "highlightString": "eu velit exercitation ad" }, { "key": "veniam nostrud velit", "highlightString": "labore" }, { "key": "proident minim pariatur irure sunt", "highlightString": "elit eiusmod eu do" }, { "key": "ipsum irure ea et id", "highlightString": "cupidatat aute quis fugiat" } ], "status": "scheduled", "previous": { "incomplete": [ "error_handler", "workflow_start", "workflow_end", "e28f", "e28f" ], "complete": [ "error_handler", "e28f", "e28f", "e28f" ], "error": [ "e28f", "workflow_start", "workflow_start", "e28f", "e28f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "e28f", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "revert" }, { "task": "3a1f", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "standard" }, { "task": "3a1f", "type": "standard" }, { "task": "3a1f", "type": "standard" } ] }, "serverId": "do labore id commodo sint", "start_time": "2000-11-27T10:56:54.769Z", "end_time": -50420755.64320418, "finish_state": "success", "retrySettings": { "state": [ "success", "error", "failure", "success", "success" ], "autoRetry": true, "limit": 98860471, "delay": 43834674, "count": 49863542, "finishedRetrying": true }, "loop": { "atLeastOneComplete": false, "finishedCount": 96515876.49997136, "outgoing": [ "nulla", null, null ] }, "childJobs": [ { "_id": "Excepteur in proident in", "name": "eiusmod", "iteration": -2065185.7833467275 }, { "_id": "cupidatat laboris anim", "name": "velit nisi dolor", "iteration": -76709229.99365196 } ] }, "groups": [ "99a8a8ceb998f37d81b9d1a0", { "_id": "8a8751e2ad077967defd7218", "provenance": "nisi aliquip", "name": "adipisicing", "description": "laboris velit enim dolor", "memberOf": [ { "groupId": "c0329cc6b1af3d4236cd6cd1", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "occaecat tempor" }, { "roleId": "irure quis anim" }, { "roleId": "anim" }, { "roleId": "nostrud sint Excepteur cupidatat" } ], "inactive": true, "_meta": { "created": "1948-01-28T15:34:19.218Z", "updated": "2000-12-10T01:49:39.979Z", "migrationVersion": -94778856 } }, "1eee2f2975e9a4adf2dc7c11", "default" ], "watchers": [ null, "Pronghorn", null, "Pronghorn", { "_id": "a3c2b6b7ac3c635a18729c93", "provenance": "Excepteur nostrud", "username": "cillum velit sed", "firstname": "in ad", "memberOf": [ { "groupId": "caeb9fe7efe44a29e7b41b14", "aaaManaged": true }, { "groupId": "81cfd294e2f78128dc63e2dc", "aaaManaged": true }, { "groupId": "1130851cce91591c85d304ad", "aaaManaged": false }, { "groupId": "93c4cf217979d75ae998743d", "aaaManaged": false }, { "groupId": "b44543d7013042dacd277df7", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "et" }, { "roleId": "labore" }, { "roleId": "eiusmod reprehenderit eu" }, { "roleId": "reprehenderit veniam Duis quis" } ], "inactive": true, "lastLogin": "2021-07-04T12:03:03.025Z", "_meta": { "created": "1993-04-07T01:40:55.153Z", "updated": "2004-08-06T10:23:54.738Z", "migrationVersion": -75240059 }, "email": "incididunt" } ], "metrics": { "start_time": 23150869.1837126, "progress": 0.1364118088211288, "end_time": 26661351.306079745, "user": "Pronghorn", "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }