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": "consequat Lorem ut labore" } }
{ "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": "12281b5885c592fe5eba9bb4", "font_size": 94355931, "type": "automation", "created": "2023-11-16T19:54:11.821Z", "last_updated": "1955-08-08T23:50:19.073Z", "createdVersion": "6.39445.34044527381", "lastUpdatedVersion": "40097311.79436192826.645", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -67306556, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 13758521.1769633, "sla": -86117704.10276453, "decorators": [ { "type": "encryption", "pointer": "/~0/d6RTTbjHu7E/pO/O/ov/~0/JwxCN/ianM+jW9ut/~0" }, { "type": "encryption", "pointer": "/mWh/o3psk/~0/SjKPZU,i/Exc+w/~0/~0/~1" } ], "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 } ], "warnings": [ { "task": "e28f", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "fugiat consequat labore amet exercitation" } ], "ancestors": null, "validationErrors": [ { "keyword": "enim tempor non", "instancePath": "velit labore consectetur", "schemaPath": "sed officia dolore nisi", "message": "commodo dolor eu" }, { "keyword": "dolor in", "instancePath": "et sint", "schemaPath": "pariatur do sint in", "message": "voluptate" }, { "keyword": "dolore eiusmod consequat Lorem", "instancePath": "labore", "schemaPath": "proident Duis", "message": "proident sunt nostrud nisi cupidatat" } ], "created_by": "Pronghorn", "last_updated_by": "e62b53b1487fd3d1e3c58f6c", "tasks": { "workflow_start": { "x": 31539941.279719397, "y": 88921989.89186549, "gridCoordinate": { "x": -89292.69660490751, "y": -6883279.38758491 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -80377027.87523639, "finish_state": "success", "user": "Pronghorn" }, "groups": [ "072a0181de240a9f3ec90a1f", { "_id": "4fe9e2e1871397139efc0063", "provenance": "sed id", "name": "elit ut incididunt", "description": "esse et sunt eiusmod", "memberOf": [ { "groupId": "5bd78d2a6e5e2c0b4fc30005", "aaaManaged": true }, { "groupId": "b5cc0f1f30d818fc7812e18c", "aaaManaged": true }, { "groupId": "fcc4dcd3d0433d9e5be42369", "aaaManaged": true }, { "groupId": "48cf4086d2f577cf2a562ffa", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ipsum exercitation" } ], "inactive": true, "_meta": { "created": "2024-01-09T10:56:04.427Z", "updated": "1993-02-24T17:43:00.087Z", "migrationVersion": -50921122 } } ], "iterations": [ "02cfCEeB-Af7C-95D0-bF94-DCC2625CBB03", "1BeeCfaE-4a47-0316-fACa-FBA3844D0CDd", "9CADBdD3-333d-Fb1e-4119-c6B5eFCE91D7", "d276264f-0B08-2eFF-9aEF-91afc11FAb67" ] }, "workflow_end": { "x": -46936120.187848605, "y": -42200636.34996753, "gridCoordinate": { "x": -42052146.513017654, "y": 43668250.21821055 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "error_handler", "error_handler", "error_handler" ], "complete": [ "workflow_start" ], "error": [ "e28f", "3a1f" ] }, "metrics": { "end_time": 33291286.93902211, "run_time": -62833762.260319404 }, "groups": [ "ee22548d8026baeacbfec32e", "7e5fb16a8b633748714ebd8e", "e59344f8dd0e633dff09bf32", { "_id": "af32b69219ada46a58c9e201", "provenance": "est commodo nisi cupidatat laborum", "name": "elit", "description": "officia adipisicing est", "memberOf": [ { "groupId": "2e542f79af5b53c950cdd5ad", "aaaManaged": true }, { "groupId": "8ba056b05351bbdf31b44b0b", "aaaManaged": false }, { "groupId": "d35aeefd18d75b53aedac65c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolor ex nisi aliqua esse" }, { "roleId": "eiusmod cupidatat sed" }, { "roleId": "non commodo dolore dolor" } ], "inactive": true, "_meta": { "created": "1965-10-28T11:19:05.857Z", "updated": "1978-04-18T15:24:19.614Z", "migrationVersion": -77080810 } }, "default" ], "iterations": [ "e766808B-78a6-38a3-cf1e-7323D7Dd2AF8", "05C9bA31-c34b-E07C-cdd1-D7B9508f5cEd" ] }, "error_handler": { "x": -14206947.846768439, "y": 1025511.3491842002, "gridCoordinate": { "x": -10842774.63004151, "y": -88230950.20732054 }, "name": "childJob", "location": "Application", "locationType": "Excepteur", "app": "in", "canvasName": "cillum", "displayName": "ea Duis", "summary": "in elit adipisicing", "description": "Ut magna dolor ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "in minim", "highlightString": "laborum aliqua" } ], "status": "failure", "previous": { "incomplete": [ "error_handler", "error_handler", "workflow_start" ], "complete": [ "e28f", "error_handler", "workflow_end" ], "error": [ "error_handler", "workflow_start", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "standard" } ] }, "serverId": "laborum sed sit sunt", "start_time": "2014-01-15T05:25:22.465Z", "end_time": -56935357.1815582, "finish_state": "error", "retrySettings": { "state": [ "success", "success", "failure", "failure" ], "autoRetry": true, "limit": 81808748, "delay": 18723740, "count": 73862644, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "9b355ed3b9898e31f28c4720" ], "iterations": [ "05c3DF04-1Fbc-63dA-AA40-EFCBb3D1dFC9" ] }, "fb2": { "actor": "$var.a17.pPzAiY", "groups": [ { "_id": "09e1cc0c4078670b8cd8be80", "provenance": "consequat dolore", "name": "qui in veniam", "description": "proident", "memberOf": [ { "groupId": "c95972a03589e07c009f3023", "aaaManaged": true }, { "groupId": "8e91b0b60bc2a1d0bf1d2db8", "aaaManaged": false }, { "groupId": "a505ff6c0decb5345f11411c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "occaecat proident deserunt" }, { "roleId": "exercitation ex" } ], "inactive": false, "_meta": { "created": "1976-03-30T11:36:32.029Z", "updated": "1971-12-04T01:09:34.571Z", "migrationVersion": 22547020 } } ], "iterations": [ "Ea84e94E-1AEA-8F8C-738C-BD4C8eeb7e51" ], "x": -77759460.29049176, "y": -14152175.763923272, "gridCoordinate": { "x": 61683997.48629078, "y": 33372883.925216183 }, "name": "Lorem", "location": "Application", "locationType": null, "app": "qui", "canvasName": "Excepteur qui sit", "displayName": "consectetur ullamco deserunt occaecat", "summary": "ex nisi dolor voluptate", "description": "aliquip ipsum aute culpa ullamco", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/l+tG/~0/~0/~1/yaW/WyCGTp/~1/k10bol/~0/~1/d" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "in quis", "highlightString": "est in mollit incididunt Ut" }, { "key": "sint ad Ut", "highlightString": "amet" } ], "status": "complete", "previous": { "incomplete": [ "3a1f" ], "complete": [ "workflow_end" ], "error": [ "error_handler", "error_handler", "e28f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "e28f", "type": "revert" } ] }, "serverId": "velit nulla aute", "start_time": "1995-11-06T00:30:02.412Z", "end_time": 8596263.214628711, "finish_state": "failure", "retrySettings": { "state": [ "success", "success", "success", "failure" ], "autoRetry": false, "limit": 53358124, "delay": 50249732, "count": 25067528, "finishedRetrying": true }, "type": "automatic" } }, "parent": { "task": "commodo sed aute sit", "iteration": 2907179.7017643005, "element": -90587004.37330937 }, "errorHandler": null, "groups": [ "default", { "_id": "88770b084a825998a32f527f", "provenance": "mollit qui", "name": "ullamco dolore occaecat esse", "description": "dolor cupidatat tempor commodo", "memberOf": [ { "groupId": "3085ea41695a89635de46a4c", "aaaManaged": false }, { "groupId": "afb8bc1f18a4ec7c3554db6f", "aaaManaged": true }, { "groupId": "e6b038ba9d3e3ea7d91f86fd", "aaaManaged": false }, { "groupId": "6a155fd63595cf0e520cd063", "aaaManaged": true }, { "groupId": "672659d973ee77544337df97", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "tempor adipisicing ex" }, { "roleId": "cillum proident" }, { "roleId": "sunt elit" }, { "roleId": "aute ut cupidatat sed" }, { "roleId": "mollit reprehenderit nostrud" } ], "inactive": true, "_meta": { "created": "1965-03-16T09:50:12.265Z", "updated": "1950-08-26T01:28:05.685Z", "migrationVersion": -47463654 } } ], "watchers": [ { "_id": "16ced099b76ae852ad6fb1da", "provenance": "in ex sit", "username": "occaecat tempor fugiat ut nisi", "firstname": "deserunt tempor laboris ut", "memberOf": [ { "groupId": "85ae7c97386bb1ba81b4cd89", "aaaManaged": true }, { "groupId": "995edb557f53b9ab7d3cea79", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ut fugiat reprehenderit" }, { "roleId": "irure ullamco" }, { "roleId": "Lorem ea id" }, { "roleId": "do ad" } ], "inactive": false, "lastLogin": "1964-10-14T01:43:47.117Z", "_meta": { "created": "2009-11-09T21:05:42.613Z", "updated": "1968-07-08T11:55:55.059Z", "migrationVersion": 22746120 }, "email": "veniam amet in consequat quis" }, { "_id": "998a1117512ef0a106bd744c", "provenance": "ut enim esse aute sit", "username": "magna esse dolore incididunt ea", "firstname": "anim", "memberOf": [ { "groupId": "78218bc24b8fddc3054ccac9", "aaaManaged": false }, { "groupId": "de3eb4cc41ccf0f67279592b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sint velit" }, { "roleId": "mollit magna sed proident voluptate" }, { "roleId": "dolore labore do mollit" }, { "roleId": "proident" }, { "roleId": "dolore cupidatat aliquip anim" } ], "inactive": false, "lastLogin": "2000-08-24T20:21:06.311Z", "_meta": { "created": "1981-03-21T07:05:34.489Z", "updated": "1971-11-08T08:15:23.458Z", "migrationVersion": -28786260 }, "email": "minim qui in" } ], "metrics": { "start_time": -14784804.93096584, "progress": 0.37730230709112655, "end_time": -98588181.46535549, "user": "1ab0030c7ed71367173ffb3d", "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }