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": "aliqua cillum" } }
{ "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": "7541c1dc09530786325737cf", "font_size": 40598972, "type": "resource:action", "created": "2013-06-14T15:50:08.795Z", "last_updated": "1950-12-03T17:29:51.171Z", "createdVersion": "324336157.7321987975.67250", "lastUpdatedVersion": "17488452919.6316758.6848963177-5893.28.468560", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 75524413, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 71136610.62843731, "sla": 15248119.69873774, "decorators": [ { "type": "encryption", "pointer": "/Q,X7dkn/~0/alFwUXcHI/~1/GZwTTpC/~1/~0/~1" }, { "type": "encryption", "pointer": "/hNEi/hO/Y8Ak/mnQoSTdIFP/~0/~0/NLJgAzZo-5" }, { "type": "encryption", "pointer": "/N0cAlIQ-/~1/~0/IyF" }, { "type": "encryption", "pointer": "/tpM-/~0/~0/~0/Im4sqRl/~1/~0" }, { "type": "encryption", "pointer": "/~1/~0/f7cQuzrTB9J/hZKEDW/~0/UsnN-0s/aMdvuRng/~0/~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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName", "message": "eiusmod amet quis" }, { "task": "workflow_end", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "eu dolore Ut commodo", "dataPath": "nulla consectetur", "schemaPath": "sit anim", "message": "officia et ullamco in" }, { "keyword": "exercitation ea Lorem fugiat elit", "dataPath": "ut", "schemaPath": "officia veniam", "message": "in" }, { "keyword": "labore in ut reprehenderit aliqua", "dataPath": "anim nostrud consequat aliquip", "schemaPath": "voluptate", "message": "anim officia" }, { "keyword": "aliquip in nisi anim ex", "dataPath": "in cupidatat do deserunt", "schemaPath": "dolore cillum minim eiusmod deserunt", "message": "sunt" }, { "keyword": "id ex quis", "dataPath": "esse sit in aliquip veniam", "schemaPath": "laboris dolore mollit consequat", "message": "laborum occaecat nulla esse" } ], "created_by": "Pronghorn", "last_updated_by": "590cbfd5cc77937e8d27c9d8", "tasks": { "workflow_start": { "x": -60236347.672748856, "y": -60977937.41628763, "gridCoordinate": { "x": -94443617.1070874, "y": 9106184.943993509 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 8695828.22987938, "finish_state": "failure", "user": { "_id": "0c22020bcdfd8be4f7a0e4da", "provenance": "dolore voluptate cupidatat ipsum", "username": "eiusmod pariatur", "firstname": "quis", "memberOf": [ { "groupId": "e5e22ab3e7f515db0035123e", "aaaManaged": true }, { "groupId": "a7827e1d70b5384fbc79129e", "aaaManaged": false }, { "groupId": "c719a10f96f513e438aea7c1", "aaaManaged": false }, { "groupId": "a19787410733ed772eac066f", "aaaManaged": true }, { "groupId": "81271d2175d35aa5eed89b0e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Ut incididunt" }, { "roleId": "eiusmod labore laboris reprehenderit" }, { "roleId": "est dolor in eu ex" } ], "inactive": true, "lastLogin": "2021-12-01T15:38:11.409Z", "_meta": { "created": "2016-09-08T22:04:00.377Z", "updated": "2015-05-02T16:42:18.654Z", "migrationVersion": 64389216 }, "email": "amet" } }, "groups": [ "default", { "_id": "4c54c2a0e363376dbab64606", "provenance": "occaecat do cupidatat nisi deserunt", "name": "adipisicing eu veniam qui ut", "description": "eu sed", "memberOf": [ { "groupId": "56b8858f32e6ce9bed01bf89", "aaaManaged": false }, { "groupId": "87f3282f52a89dafb908b1d7", "aaaManaged": true }, { "groupId": "b9d5cdee506c671e2c8964d6", "aaaManaged": true }, { "groupId": "44c8b968c11f200d14e152df", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "amet est sit" }, { "roleId": "et cupidatat aliqua ad" }, { "roleId": "non tempor" }, { "roleId": "esse non dolor irure cillum" } ], "inactive": false, "_meta": { "created": "1946-09-20T09:42:24.377Z", "updated": "1993-11-21T22:28:36.074Z", "migrationVersion": 49837129 } } ], "iterations": [ "fF7C2e1c-c133-0DDF-DFd9-f18882D981AE", "531f637d-B281-a5eB-8bfD-5eeCDEd072Ac" ] }, "workflow_end": { "x": 65623083.21232447, "y": -19053146.58102721, "gridCoordinate": { "x": -36134186.105410084, "y": 70218469.0428617 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start" ], "complete": [ "workflow_end", "workflow_start" ], "error": [ "e28f", "workflow_start", "workflow_start", "3a1f", "error_handler" ] }, "metrics": { "end_time": -53883487.07973307, "run_time": 76040136.4487507 }, "groups": [ "default", "default" ], "iterations": [ "527baACf-4eDd-434B-48dC-7b1F1B392aeE", "DdFce0C7-c3e0-C56a-59AC-C9a1faDcb75F", "442eF4FF-3cbD-dfdE-85A2-73d4963ccFb1" ] }, "error_handler": { "x": -31692238.53855279, "y": -8827653.640068606, "gridCoordinate": { "x": -86974100.70971933, "y": -39110501.67162351 }, "name": "childJob", "location": "Broker", "locationType": "sit", "app": "amet labore Duis ullamco", "canvasName": "veniam nulla labore", "displayName": "ut ipsum mollit nostrud", "summary": "velit non eiusmod dolor ipsum", "description": "dolore magna anim incididunt", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/tG/sXaQ2/~1/UKRZB7/~1/HWHzovd4OPu/SMOM/~0/hbsFBCum+/NEGK-/JsJzhKB,Or" }, { "type": "encryption", "pointer": "/g.uUrl/~1" }, { "type": "encryption", "pointer": "/W-C2TJqd6z2/UJEoCOPkKk/~1/SS-oJJXj" }, { "type": "encryption", "pointer": "/~0/eR+tIbarLJ/DDGEOB/UicyqAW9i06/AaUMI/~0/PclwI/N/VQb13BR4/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "deserunt proident anim incididunt eiusmod", "highlightString": "commodo velit in" } ], "status": "failure", "previous": { "incomplete": [ "e28f", "3a1f", "workflow_start", "workflow_end" ], "complete": [ "workflow_end", "error_handler", "error_handler", "error_handler" ], "error": [ "error_handler", "error_handler", "e28f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "Ut elit fugiat", "start_time": "1974-07-24T01:39:21.011Z", "end_time": 21804252.752649814, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "4fb134b89d05d50052ec68be", "provenance": "Ut velit labore sint", "name": "in in reprehenderit ullamco", "description": "labore", "memberOf": [ { "groupId": "5f0d21e8d31c54fe96e207e5", "aaaManaged": false }, { "groupId": "80e12b634e1ce500f56484c7", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consectetur irure veniam cillum exercitation" }, { "roleId": "labore amet quis" }, { "roleId": "adipisicing" }, { "roleId": "do" }, { "roleId": "Ut ea est quis qui" } ], "inactive": true, "_meta": { "created": "2001-11-16T12:12:42.196Z", "updated": "2007-03-10T22:09:11.506Z", "migrationVersion": 55882683 } }, { "_id": "b8428443d5573f9fcfc00d16", "provenance": "cillum in", "name": "aliqua fugiat commodo qui enim", "description": "ipsum Duis magna", "memberOf": [ { "groupId": "976b742e6b9d6d2f3df2b9b3", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nulla commodo" } ], "inactive": true, "_meta": { "created": "1962-02-10T11:56:59.831Z", "updated": "1953-05-14T14:41:33.528Z", "migrationVersion": -24671002 } } ], "iterations": [ "F7722046-ECed-cfd9-Cb93-eF9b80aAAd97", "75d3Cf3e-Ff82-3aEc-259E-1E7dBe91afbd", "8D5Bc3cD-650E-cBCd-eFbe-a9AFd6FD8FbB", "3eD2c1c1-2aBF-5c5D-a6c2-fb26CeA110dC" ] }, "2b6": { "actor": "job", "groups": [ "413690cdd0ea53ee6e0725c9", "default", "default", "1264158a5e096f33c2271182" ], "iterations": [], "x": 90044020.88646111, "y": 95580850.32289618, "gridCoordinate": { "x": -27034039.021280482, "y": 21369766.296780497 }, "name": "pending", "summary": "aute ipsum et dolor", "description": "est Excepteur consequat sint ad" } }, "parent": { "job": "labore dolor", "task": "fugiat sit", "iteration": -51469559.93180566, "element": -29298287.472743437 }, "errorHandler": { "actor": "job", "groups": [ { "_id": "b6ba8b0031f6b1aa0b7e83e0", "provenance": "cupidatat pariatur Ut consequat Lorem", "name": "esse laboris veniam", "description": "elit magna", "memberOf": [ { "groupId": "2853b1c32fa2e51fb12b0b88", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolor dolore" }, { "roleId": "deserunt sint" }, { "roleId": "dolore elit ut labore magna" } ], "inactive": false, "_meta": { "created": "1971-03-07T15:09:21.302Z", "updated": "1976-08-18T02:52:59.538Z", "migrationVersion": 4808273 } }, "default", { "_id": "a07bddfc3ac163411ba50b85", "provenance": "amet do aliqua Excepteur deserunt", "name": "pariatur nisi occaecat nulla", "description": "dolor enim laboris proident", "memberOf": [ { "groupId": "597ec83f1ad4e377aba48d52", "aaaManaged": true }, { "groupId": "167a100be2fcda31b5125fe1", "aaaManaged": false }, { "groupId": "b7ce5fb6b925e1ce04f87cc1", "aaaManaged": true }, { "groupId": "9c2b46e170d511081f3f4b76", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Duis do cupidatat" } ], "inactive": false, "_meta": { "created": "1953-05-23T22:52:06.836Z", "updated": "2004-06-17T11:59:47.552Z", "migrationVersion": 32630043 } } ], "iterations": [ "b8e1Adde-9473-FeEE-5fDC-690CcCFB9CcE", "eD8889e8-09be-7F11-ad4d-aA9A2Dd2600B", "5a69f315-662d-C788-724b-f6aabAde9ACb" ], "x": -45459689.483308315, "y": -58675252.67696783, "gridCoordinate": { "x": -2484819.0658148825, "y": 87106205.8416825 }, "name": "pending", "summary": "officia eu deserunt laborum culpa", "description": "mollit in" }, "groups": [ { "_id": "a092e34039162f83b773f54c", "provenance": "culpa in", "name": "veniam", "description": "id", "memberOf": [ { "groupId": "3663eb06fd4ce2018b09f58b", "aaaManaged": true }, { "groupId": "a69e0bfd882a88d02db2bb99", "aaaManaged": true }, { "groupId": "c2c2e58674cece12f1875575", "aaaManaged": true }, { "groupId": "a37a63c9a7d843c70081408b", "aaaManaged": false }, { "groupId": "8e6fd28e291b7b2e83fd3540", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nulla do" }, { "roleId": "nisi aute" }, { "roleId": "sint pariatur" } ], "inactive": false, "_meta": { "created": "1977-10-22T12:30:19.098Z", "updated": "1972-04-29T00:04:52.648Z", "migrationVersion": -47647511 } }, { "_id": "b290d77c5e3ad093c1f61de4", "provenance": "Excepteur eu non et labore", "name": "ad adipisicing sunt incididunt eiusmod", "description": "magna non ipsum", "memberOf": [ { "groupId": "d9fae2b3d226d07134bd734b", "aaaManaged": false }, { "groupId": "5d0831b18ddd7cc5e03f6b95", "aaaManaged": true }, { "groupId": "c3ebeffb0a764ef4f3f1f49c", "aaaManaged": false }, { "groupId": "289e3e921dfc19c4581caee2", "aaaManaged": false }, { "groupId": "a9b1040742146ae3ff49c1c0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "tempor laboris sit" }, { "roleId": "voluptate" } ], "inactive": false, "_meta": { "created": "1981-10-31T17:20:59.824Z", "updated": "1975-11-29T02:30:31.103Z", "migrationVersion": -10730496 } }, { "_id": "7d1f67e5764066dcfedff403", "provenance": "Excepteur", "name": "ad", "description": "Excepteur ex", "memberOf": [ { "groupId": "6f0110ce0eb97ec0668aad44", "aaaManaged": false }, { "groupId": "1be3949c6a39c9e767da823c", "aaaManaged": false }, { "groupId": "154b5486997a91c93acb7d7a", "aaaManaged": true }, { "groupId": "c5da843d44982b8318bd0af0", "aaaManaged": false }, { "groupId": "1493b0a5b242c5ed7b8bd90a", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore amet voluptate dolor" }, { "roleId": "est id minim dolor" }, { "roleId": "laborum" } ], "inactive": true, "_meta": { "created": "1980-01-17T23:29:58.214Z", "updated": "1998-05-27T12:31:27.949Z", "migrationVersion": 49792885 } } ], "watchers": [ "Pronghorn" ], "metrics": { "start_time": 91874989.75588286, "progress": 0.900613316437612, "end_time": -47554661.04630015, "user": "9c1175233427111a2525a46f", "owner": { "_id": "aef87dcdaa54395630eb247d", "provenance": "dolore ut adipisicing commodo", "username": "exercitation Excepteur cupidatat", "firstname": "aute dolore sunt laboris", "memberOf": [ { "groupId": "5d2ef322e424de9cb468f405", "aaaManaged": true }, { "groupId": "241329db2b2f7c861e862775", "aaaManaged": false }, { "groupId": "74d6d47619d786190c9a5c8e", "aaaManaged": true }, { "groupId": "7bd882fd977e6d74b36dd6c5", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "labore dolor laborum" }, { "roleId": "enim proident" }, { "roleId": "veniam" }, { "roleId": "et" } ], "inactive": false, "lastLogin": "1981-07-08T20:44:49.094Z", "_meta": { "created": "2018-02-07T06:46:50.025Z", "updated": "1986-02-09T19:09:12.053Z", "migrationVersion": -77226050 }, "email": "cillum" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }