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": "minim fugiat mollit" } }
{ "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": "c260f9cd7cbae4b6bb35fa32", "font_size": -47487252, "type": "resource:action", "created": "2017-02-18T04:08:47.953Z", "last_updated": "1989-06-06T10:57:05.552Z", "createdVersion": "35.48347432038.77725226", "lastUpdatedVersion": "0.6.583595224-9449.2313651453.003506", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 3517345, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -19559787.484043896, "sla": 42469999.822024316, "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~1" }, { "type": "encryption", "pointer": "/~1/KDRIKM/G/~1/~1/EPgOAjnYX/~1/bmtD3St/Ydnmg1KxKf0/~1/~0" }, { "type": "encryption", "pointer": "/VNL8MYqcBP9/~1" }, { "type": "encryption", "pointer": "/y2Aenx/~1/G7uLM/~0/vKzTcy/~0/iV2/z" } ], "status": "paused", "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": "error_handler", "name": "myCoolDocumentName", "message": "irure Ut laborum" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "culpa" } ], "ancestors": null, "validationErrors": [ { "keyword": "cillum id", "dataPath": "et occaecat est", "schemaPath": "dolore ea dolor in", "message": "enim in est" }, { "keyword": "sed nulla ea pariatur anim", "dataPath": "cillum in commodo", "schemaPath": "elit nostrud", "message": "aliqua velit esse labore" } ], "created_by": null, "last_updated_by": null, "tasks": { "workflow_start": { "x": -69508446.73622632, "y": -65504219.02846164, "gridCoordinate": { "x": 27536377.548860535, "y": 75178560.86441728 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 12867349.752676606, "finish_state": "error", "user": "5440a604fe916473300c4a78" }, "groups": [ "b6dcab23044d8ea180e88a72", "default", "94dfdc658b4ec6996a786900", "default" ], "iterations": [ "D54475D1-9588-1f48-6673-B6AAbd2a8f8f", "F30c28Ed-CC1E-51da-0f62-63ECdCBE8B81" ] }, "workflow_end": { "x": 21528060.61855115, "y": 71181377.87084979, "gridCoordinate": { "x": -63825040.4571838, "y": -72413490.99833338 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start" ], "complete": [ "workflow_start", "workflow_start", "workflow_end", "3a1f" ], "error": [ "workflow_start", "3a1f", "error_handler" ] }, "metrics": { "end_time": -90833089.16636996, "run_time": 23937215.894461647 }, "groups": [ "default", "default", "default", "default" ], "iterations": [ "D4127472-DEee-8bDD-46e5-cE3A426f3d8E", "eFebDC0D-FCca-aFcC-44eB-A7E48CA72fc7", "46e22c0B-Eebd-EFE8-BdeF-cbFC23aC5681", "b4702e5C-a11D-0f1E-C72B-66d6ee403EcE" ] }, "error_handler": { "x": -16028595.3706142, "y": 67864661.15393949, "gridCoordinate": { "x": 41537162.93149409, "y": -70530923.32783067 }, "name": "childJob", "location": "Broker", "locationType": "adipisicing officia ullamco", "app": "laborum magna sit minim", "canvasName": "anim Duis", "displayName": "veniam", "summary": "in", "description": "irure nulla fugiat anim eiusmod", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "anim Ut cillum aliquip", "highlightString": "amet" }, { "key": "velit", "highlightString": "officia fugiat anim Excepteur non" }, { "key": "sint", "highlightString": "sint et Ut officia aliquip" } ], "status": "canceled", "previous": { "incomplete": [ "error_handler", "workflow_end" ], "complete": [ "workflow_start" ], "error": [ "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "error_handler", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "revert" } ] }, "serverId": "sed nostrud deserunt proident Lorem", "start_time": "1995-02-26T14:01:05.638Z", "end_time": 45383444.10635418, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "66f6ff98295be13ae7c11c72", "provenance": "nostrud non", "name": "Ut", "description": "tempor ea culpa", "memberOf": [ { "groupId": "c9243d167c4e1a297e3874c7", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ut Excepteur dolore officia qui" }, { "roleId": "Duis sed esse" } ], "inactive": false, "_meta": { "created": "1950-04-12T20:30:15.774Z", "updated": "1958-04-05T06:28:54.846Z", "migrationVersion": -57666018 } }, { "_id": "3addaedf52d7cd1f46aaf73d", "provenance": "amet incididunt", "name": "do", "description": "esse", "memberOf": [ { "groupId": "9e7362314ceb3460cf203276", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliqua id" }, { "roleId": "eu laborum adipisicing" }, { "roleId": "adipisicing mollit in ut" } ], "inactive": false, "_meta": { "created": "2016-12-29T17:02:56.736Z", "updated": "1978-04-02T13:54:22.428Z", "migrationVersion": -58245700 } }, "9eed04f9a74b9f95a7071a29", "default", "default" ], "iterations": [] }, "c9cf": { "actor": "88c0c56cfa88e231349bbe3f", "groups": [ "90d3d1bf2203b95486af8e8d", "ffcd30e025a4088d1176ff5d", { "_id": "ba0bc15c369c9536082a467d", "provenance": "laboris aliquip labore esse", "name": "ea elit aliqua", "description": "ut sint in laboris enim", "memberOf": [ { "groupId": "789a5acf599c2698042b9462", "aaaManaged": true }, { "groupId": "693b0f12ce278b13293ecddd", "aaaManaged": false }, { "groupId": "9ebfe2b906798a75d4c3a9d0", "aaaManaged": true }, { "groupId": "06ba60ed3c0555e2d676d660", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "culpa fugiat voluptate sunt elit" } ], "inactive": false, "_meta": { "created": "1988-08-16T14:22:36.901Z", "updated": "1968-08-04T11:44:55.084Z", "migrationVersion": -79580936 } }, { "_id": "9a9e276e03787e806d583e49", "provenance": "minim adipisicing enim nisi", "name": "quis ut", "description": "exercitation et", "memberOf": [ { "groupId": "5d33db9a016ba1efd9946026", "aaaManaged": true }, { "groupId": "3846179379754be76e173994", "aaaManaged": false }, { "groupId": "16af9f0165614855f6816997", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "amet" } ], "inactive": true, "_meta": { "created": "2011-09-23T16:46:24.786Z", "updated": "1989-05-10T18:05:32.076Z", "migrationVersion": 95590132 } } ], "iterations": [ "5EB2D0B8-C5A8-dEc3-15D7-910d69BfAa4e", "730f6DcB-70D1-88bf-9eDB-ACc46E81Dd1f" ], "x": -36327175.2584581, "y": -96866132.1845128, "gridCoordinate": { "x": -36157207.79895919, "y": -49825418.1328333 }, "name": "irure cillum", "location": "Application", "locationType": "Lorem ad incididunt laboris", "app": "Duis et eu Ut laboris", "canvasName": "consectetur", "displayName": "nisi consectetur ullamco laborum exercitation", "summary": "ea incididunt", "description": "laboris ex proident", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/Ds/~1" }, { "type": "encryption", "pointer": "/uvORNK/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "ut Duis", "highlightString": "quis dolor aliqua magna et" }, { "key": "incididunt sint cillum Excepteur", "highlightString": "amet non quis incididunt eiusmod" }, { "key": "non", "highlightString": "minim reprehenderit qui" }, { "key": "esse veniam", "highlightString": "esse velit occaecat aute" }, { "key": "ut", "highlightString": "officia" } ], "status": "canceled", "previous": { "incomplete": [ "3a1f", "workflow_start", "error_handler", "workflow_start" ], "complete": [ "e28f", "workflow_start", "workflow_start", "e28f" ], "error": [ "workflow_start", "error_handler" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "revert" } ] }, "serverId": "aliquip veniam Ut in enim", "start_time": "2004-09-06T21:33:35.015Z", "end_time": 79268233.38182989, "finish_state": "error", "retrySettings": null, "type": "manual", "view": "dolore" } }, "parent": { "job": "ex in incididunt cupidatat mollit", "task": "aute consectetur et anim", "iteration": -76430932.57895078, "element": -97403758.27759355 }, "errorHandler": null, "groups": [ { "_id": "84485cc11af2a0e649265a34", "provenance": "cillum do eu", "name": "occaecat dolor est sint", "description": "pariatur Duis", "memberOf": [ { "groupId": "e7a9a62490166f962c8b9a0b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "qui nulla pariatur dolor" }, { "roleId": "velit qui" }, { "roleId": "sit consectetur irure proident" }, { "roleId": "ad nostrud aliqua ea" } ], "inactive": false, "_meta": { "created": "1998-01-01T01:24:40.641Z", "updated": "1970-04-11T09:11:24.851Z", "migrationVersion": 6730632 } }, "333f8dfaee8df4b1b0c6fe85", { "_id": "b7d1b59a478b38133d19a0f7", "provenance": "ut", "name": "in ad ex", "description": "cupidatat", "memberOf": [ { "groupId": "48a87b62c494c4f34448122f", "aaaManaged": false }, { "groupId": "2a493b5b0baf13ac92ecb45c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Lorem mollit" }, { "roleId": "officia in aute Excepteur sint" }, { "roleId": "sint" } ], "inactive": false, "_meta": { "created": "2022-04-30T14:46:49.189Z", "updated": "1966-06-23T09:46:41.497Z", "migrationVersion": -18449218 } }, "7b07a3fc371e9a16b8d5ef13" ], "watchers": [ "2d503b933cfc1e9b05818376", { "_id": "0a2c256b04c88ad5ceeedab4", "provenance": "eiusmod culpa ut consequat ex", "username": "et dolor in", "firstname": "dolor exercitation", "memberOf": [ { "groupId": "a3115203fa0dcdd786540de4", "aaaManaged": true }, { "groupId": "568e711fcb7f9d7f61e2f8e3", "aaaManaged": false }, { "groupId": "29e8eb0b7bff096b3e64b7e5", "aaaManaged": true }, { "groupId": "1c20a2aef6295969a8fc158b", "aaaManaged": false }, { "groupId": "ee9a81a6ec6dbe168edfeaf0", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in id minim labore nostrud" }, { "roleId": "dolore amet minim" }, { "roleId": "eiusmod" }, { "roleId": "minim do" } ], "inactive": true, "lastLogin": "2021-02-25T02:41:06.688Z", "_meta": { "created": "2002-01-26T08:00:08.378Z", "updated": "2003-05-16T17:50:56.497Z", "migrationVersion": -43843001 }, "email": "sit in voluptate do" } ], "metrics": { "start_time": 26668967.853724897, "progress": 0.9984889749663788, "end_time": 26404899.777416006, "user": "Pronghorn", "owner": "b3a646a999ba8241552ed03e" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }