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": "laboris" } }
{ "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": "ecff4f125a2286f385787517", "font_size": 8710691, "type": "resource:action", "created": "2022-06-24T14:29:57.525Z", "last_updated": "2020-07-08T21:16:19.91Z", "createdVersion": "195.18851.6986-5487.1997064681.5", "lastUpdatedVersion": "382.804668372.8159548119-6031.103162.80.8", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 75928182, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 97844794.08834407, "sla": 80707746.54859397, "decorators": [ { "type": "encryption", "pointer": "/GE8/~0/~1/ZdKSb7xhe8/~1" }, { "type": "encryption", "pointer": "/~0/X-G1+Wbl/cLckq/HDEywl/pgb8/QF8sD/~1/K6w" }, { "type": "encryption", "pointer": "/~0/~1/UtoppVEJzAv/C6s6hcITx/~1/W109U/C7FL0a2Qt/sW/~0/IDyz6,B0o,m" }, { "type": "encryption", "pointer": "/~0/Ys/C/HWM/Lwx8Ai8xSp/e4/BLh/WmT6jcMZFeR/BIGMHh.bS3s/o/SwWi" }, { "type": "encryption", "pointer": "/~0/~1/E7Xd/~0/~0/~0/Z/XUTe/Rgu-LD2" } ], "status": "incomplete", "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 } ], "warnings": [ { "task": "workflow_end", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "exercitation minim enim" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "mollit nulla ea in" } ], "ancestors": [ "ccc5b3a7780ef30f3cd8381e", "e7c2922afa0aaab15cec3f58", "9567a2d334afc7d8db6ccb2f", "7054b8d9d91ea8e7ffb83bdb" ], "validationErrors": [ { "keyword": "consequat tempor Ut dolore", "instancePath": "cillum", "schemaPath": "ad aute", "message": "veniam eiusmod sint do sed" }, { "keyword": "labore sit sunt", "instancePath": "Duis sunt sit culpa adipisicing", "schemaPath": "aute Lorem labore", "message": "consectetur dolor elit nostrud" }, { "keyword": "culpa ea", "instancePath": "adipisicing elit", "schemaPath": "irure labore", "message": "dolor officia est non Lorem" } ], "created_by": { "_id": "1d49220edfa163712bfe9e33", "provenance": "officia", "username": "in deserunt occaecat aute", "firstname": "in aliquip est exercitation", "memberOf": [ { "groupId": "83f360350cb592398381aa33", "aaaManaged": false }, { "groupId": "61de26058a7cf7fde50e7d74", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "incididunt aute" }, { "roleId": "dolor deserunt dolor ex nisi" }, { "roleId": "sit culpa" }, { "roleId": "aute in ad est" } ], "inactive": true, "lastLogin": "1993-04-05T09:27:11.371Z", "_meta": { "created": "2002-04-27T01:42:34.414Z", "updated": "1958-12-12T20:41:50.387Z", "migrationVersion": -27857314 }, "email": "commodo sint" }, "last_updated_by": null, "tasks": { "workflow_start": { "x": 20746793.41649905, "y": -76485155.01149599, "gridCoordinate": { "x": -19635015.689392477, "y": 3596623.6376323104 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -27560850.855399504, "finish_state": "success", "user": null }, "groups": [ "default", "d231c50f4b2f480ff4db6099" ], "iterations": [ "d1a6C377-2BDf-9cdB-E508-a3c503A2bC7e" ] }, "workflow_end": { "x": 71291846.45905954, "y": -11861790.069748417, "gridCoordinate": { "x": 7368661.1756697595, "y": -86257951.30057435 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_start", "workflow_start", "workflow_end" ], "complete": [ "error_handler", "3a1f", "3a1f" ], "error": [ "3a1f", "workflow_start" ] }, "metrics": { "end_time": -92472742.77166842, "run_time": 85479803.57533714 }, "groups": [ { "_id": "04702e226611df2a3e9efc0f", "provenance": "laborum enim ipsum", "name": "non Excepteur esse ad sint", "description": "sit dolor eiusmod", "memberOf": [ { "groupId": "c53a46036ac39c9c83db5a33", "aaaManaged": true }, { "groupId": "bb121c091cb6e55697bf8175", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in aute labore" }, { "roleId": "reprehenderit cillum esse" }, { "roleId": "dolore dolor in" } ], "inactive": true, "_meta": { "created": "1989-09-02T11:36:00.933Z", "updated": "1963-11-13T07:39:04.75Z", "migrationVersion": -66971950 } }, "810c6d4d0244f6213e15debc", "default" ], "iterations": [ "BB6C8Ab3-4c3c-aF4C-5c07-Ab2266D0c42f" ] }, "error_handler": { "x": 71941194.30669218, "y": -81424305.95624158, "gridCoordinate": { "x": -74241999.628677, "y": 50473684.823883355 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "quis", "canvasName": "Duis proident veniam aliquip", "displayName": "ut consequat minim", "summary": "dolore Lorem Excepteur", "description": "est adipisicing", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/VnjEUa/UOI/3uQVnL/~1/nk/wJEyiuxwCE/~0/T/d/~1" }, { "type": "encryption", "pointer": "/~1/~0/~1/MpPRoQ0nzA/~1/~1/PeFW/A" }, { "type": "encryption", "pointer": "/~1/A5Tt3/~1/JvMWajL/~1/~0/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "quis", "highlightString": "minim" }, { "key": "eiusmod qui in laboris", "highlightString": "velit" }, { "key": "culpa reprehenderit consectetur labore elit", "highlightString": "minim Excepteur ex dolore mollit" } ], "status": "error", "previous": { "incomplete": [ "e28f", "workflow_start" ], "complete": [ "e28f" ], "error": [ "workflow_end", "e28f", "error_handler", "e28f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "standard" } ] }, "serverId": "irure aliqua", "start_time": "2001-12-23T03:27:49.065Z", "end_time": -85456724.45002736, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": null, "groups": [ "37893f8a167a1249df54c163", "default", "0f63ee93a6f181e50bccd8a3", "default" ], "iterations": [] }, "32c": { "actor": "job", "groups": [ "086f0f77e28669f987f25411", { "_id": "552ae04f9e4b02212388e5b6", "provenance": "ut", "name": "in sed eu ea dolor", "description": "aute", "memberOf": [ { "groupId": "68ca1db55148f6d6843512f6", "aaaManaged": true }, { "groupId": "8a6ea0847befe8309cec8d0e", "aaaManaged": true }, { "groupId": "cf692c88a6533ad85972d154", "aaaManaged": false }, { "groupId": "2dc8369fd846557bb4c16bec", "aaaManaged": true }, { "groupId": "d70dc3b31ed5ee25da292f7d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "laboris dolor nulla" } ], "inactive": false, "_meta": { "created": "1969-12-19T12:47:35.662Z", "updated": "1979-03-16T03:08:22.661Z", "migrationVersion": -90189986 } }, "a9600323f205642973414053", { "_id": "52b41a40f7ec527f20bd72c5", "provenance": "sed enim et", "name": "dolor id do", "description": "adipisicing in ex irure", "memberOf": [ { "groupId": "eefa6f6a4b3ef690e8061ef5", "aaaManaged": false }, { "groupId": "db47a36dc109b105b01913c8", "aaaManaged": false }, { "groupId": "6ed35ae1aac94097ace8f8f3", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "adipisicing incididunt" }, { "roleId": "elit" }, { "roleId": "quis consectetur consequat in ut" } ], "inactive": false, "_meta": { "created": "1959-04-06T02:15:48.011Z", "updated": "1958-08-04T14:08:04.362Z", "migrationVersion": -9071773 } } ], "iterations": [ "0b825acf-8A2c-CB8D-8a34-d75e75AB9C0a" ], "x": 29979447.943085313, "y": -97419662.6511226, "gridCoordinate": { "x": -79317662.595754, "y": -76985629.74870388 }, "name": "pending", "summary": "culpa", "description": "ea" } }, "parent": { "task": "labore laboris", "iteration": 64335621.713735044, "element": 70025423.72396037 }, "errorHandler": null, "groups": [ { "_id": "c5b85d190f0afc9694ed4448", "provenance": "officia laboris", "name": "velit", "description": "Ut eu velit labore", "memberOf": [ { "groupId": "8f8eaa934393502010177ac7", "aaaManaged": true }, { "groupId": "d7139fd9215f0640d3d0f92e", "aaaManaged": true }, { "groupId": "bca391b7aa2548efec741392", "aaaManaged": true }, { "groupId": "f89f561587d803f8b32be000", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ea" }, { "roleId": "dolor in enim pariatur" }, { "roleId": "eiusmod cupidatat" }, { "roleId": "Duis" }, { "roleId": "cupidatat labore anim" } ], "inactive": false, "_meta": { "created": "1994-11-22T21:38:57.153Z", "updated": "1957-06-08T21:23:23.227Z", "migrationVersion": 12396639 } }, "6f712bee1a59b56d1da75c61", { "_id": "43a2e5e8c93ba15822e7818d", "provenance": "ea", "name": "in officia anim incididunt", "description": "aliqua laborum esse ea", "memberOf": [ { "groupId": "3a00784944e29bfacc387715", "aaaManaged": false }, { "groupId": "d874df6706efc9f10c7c545a", "aaaManaged": false }, { "groupId": "61e2943dcb704f2c9a215b74", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nisi" }, { "roleId": "Duis voluptate adipisicing" } ], "inactive": false, "_meta": { "created": "1983-11-14T00:44:59.732Z", "updated": "1976-01-02T00:26:38.51Z", "migrationVersion": -73903061 } } ], "watchers": [ null, "1aa39e1f43d58925872bbfc8", "Pronghorn" ], "metrics": { "start_time": -32412740.75701122, "progress": 0.7313140164650216, "end_time": 5457302.965203464, "user": "9cfbb228a0f378760cb06c5b", "owner": { "_id": "a4d7d55457ce29f94a433fd7", "provenance": "laboris elit", "username": "incididunt quis ullamco Lorem tempor", "firstname": "voluptate", "memberOf": [ { "groupId": "3ab33d9735026b32c71a02da", "aaaManaged": true }, { "groupId": "81dcb521c96bb42c1926539b", "aaaManaged": true }, { "groupId": "8129e180dbfb82b1a373e2df", "aaaManaged": false }, { "groupId": "5e034ba90f28753fdb4d9d5d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nisi exercitation nulla sint" }, { "roleId": "nostrud amet labore eiusmod irure" } ], "inactive": true, "lastLogin": "1966-07-15T09:54:39.695Z", "_meta": { "created": "1958-07-19T12:30:42.28Z", "updated": "2021-02-23T00:40:39.408Z", "migrationVersion": -20855948 }, "email": "qui esse" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }