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": "sunt elit aliquip sed reprehenderit" } }
{ "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": "1f3051007faefa752c16756b", "font_size": -85576307, "type": "resource:action", "created": "1966-12-16T22:58:17.492Z", "last_updated": "1999-07-07T04:30:36.702Z", "createdVersion": "46656689536.59.5-2815.36014688165.68.9", "lastUpdatedVersion": "64252.09.947", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": -53066182, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 47293754.794934094, "sla": -65495975.45246879, "decorators": [ { "type": "encryption", "pointer": "/fc.pqDPYNZ/~0/IYVFwiuF/p-VH6fT/QS2JRB/9FA" }, { "type": "encryption", "pointer": "/C1v2/~1/eT+th/~0/m/U+C5QxCd//bfWavK0Ac/C/l/F/~0/~0" }, { "type": "encryption", "pointer": "/~0/qMQUcn3/P5RvG,wew.g/G/~1" }, { "type": "encryption", "pointer": "/PS,/dtTn8BHY.w/~1/UC/GPDsuv/~0/~0/sKCo" } ], "status": "complete", "tags": [], "error": [ { "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 } ], "warnings": [ { "task": "workflow_end", "name": "myCoolDocumentName", "message": "ea" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "nulla deserunt Lorem amet irure" } ], "ancestors": null, "validationErrors": [ { "keyword": "culpa in veniam", "instancePath": "ea consectetur enim nisi do", "schemaPath": "esse", "message": "et non adipisicing nostrud" }, { "keyword": "ex", "instancePath": "proident", "schemaPath": "ut veniam", "message": "elit eu" }, { "keyword": "mollit reprehenderit", "instancePath": "eiusmod laborum ullamco anim culpa", "schemaPath": "in Ut ut", "message": "laborum ex nostrud aute" } ], "created_by": "dbe0c6e3b6cf24c2c0f6a528", "last_updated_by": null, "tasks": { "workflow_start": { "x": -8703478.969304517, "y": -72587529.15545759, "gridCoordinate": { "x": -80431820.60440524, "y": -15701064.882133454 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -410583.621216625, "finish_state": "error", "user": "a5fd63425e58c2244d1b3810" }, "groups": [ "d851465b570eb593656f267e", "975d8ef15db27a28725f4cab" ], "iterations": [] }, "workflow_end": { "x": -75839193.66761309, "y": -62767927.88430567, "gridCoordinate": { "x": -42107086.86994264, "y": 91222048.39921865 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "error_handler" ], "complete": [ "error_handler", "error_handler", "e28f", "error_handler", "3a1f" ], "error": [ "workflow_start", "3a1f" ] }, "metrics": { "end_time": 65593573.3516871, "run_time": -18169801.897674993 }, "groups": [ "236960bee1b8acd7d4800aad", { "_id": "090bca91c49ad69bfa81d9ee", "provenance": "consectetur Excepteur sunt adipisicing", "name": "Lorem enim", "description": "commodo eiusmod", "memberOf": [ { "groupId": "04ba9eb75760583384799d73", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolor" }, { "roleId": "aliquip proident ea" }, { "roleId": "pariatur Duis ut" } ], "inactive": false, "_meta": { "created": "2021-10-16T06:21:09.905Z", "updated": "1966-11-12T21:11:13.129Z", "migrationVersion": 43796752 } }, { "_id": "4dc2161bc5e647fbadcb2e0b", "provenance": "sunt adipisicing", "name": "eiusmod incididunt veniam in reprehenderit", "description": "ipsum non ad deserunt eu", "memberOf": [ { "groupId": "09d3ee3627838277599b680a", "aaaManaged": false }, { "groupId": "f665219d9da76c81507a17f3", "aaaManaged": false }, { "groupId": "e30185a3ea926c555b9a969b", "aaaManaged": false }, { "groupId": "81650e41dc95a355a7e2a39c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "commodo ut ullamco sunt Duis" } ], "inactive": true, "_meta": { "created": "2024-12-12T21:54:27.951Z", "updated": "2003-09-29T02:58:55.597Z", "migrationVersion": 53956306 } }, "2510c2a5624cee265ee6df09", "default" ], "iterations": [] }, "error_handler": { "x": -21230565.746752635, "y": 83337823.08822268, "gridCoordinate": { "x": 5291433.227640316, "y": 90686163.71119708 }, "name": "childJob", "location": "Application", "locationType": null, "app": "laboris reprehenderit in Excepteur ad", "canvasName": "deserunt Lorem sit sint ullamco", "displayName": "et eu dolore", "summary": "incididunt do consectetur qui", "description": "nisi", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/B0a/~1" }, { "type": "encryption", "pointer": "/ErTud4R/~1/qgL1W/R1RGp4OplG" }, { "type": "encryption", "pointer": "/~0/~1/~1/O/X9Il5" }, { "type": "encryption", "pointer": "/~0/u6hKt+-I/~1/~0/b,I/xVc/~0/~1/A/cpVU" }, { "type": "encryption", "pointer": "/~1/~0/gNiz,v6ALM/~0/l/HPoFYD/mG/oD/Kx2/WGm/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "dolore Excepteur Ut ut deserunt", "highlightString": "ut ipsum in esse" }, { "key": "nostrud eu incididunt ut officia", "highlightString": "in veniam adipisicing mollit" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_start", "workflow_start" ], "complete": [ "error_handler" ], "error": [ "workflow_start", "3a1f", "workflow_start", "error_handler", "workflow_start" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_end", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "standard" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "revert" } ] }, "serverId": "aliquip laborum ad", "start_time": "1999-12-31T02:18:02.221Z", "end_time": -22782662.31091641, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "Pronghorn", "groups": [ "37b5f16ad82ab25d9b195543", "d4513093ac389381cccdb33c" ], "iterations": [ "6fe131Ac-26F3-eD2E-cFDe-8856A2654Ce9", "A85cfD86-0125-1FF7-0a21-F38Eb824e7D0" ] }, "a": { "actor": null, "groups": [ "default", "4e87f45f321789ff5ea59e9b", { "_id": "ee43cb9aca50b8b9a7f777db", "provenance": "ut eu sunt", "name": "quis", "description": "anim consequat velit", "memberOf": [ { "groupId": "fca2b6923d3e18981cd29159", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in" }, { "roleId": "nostrud cupidatat" }, { "roleId": "ipsum sit ullamco dolor" } ], "inactive": true, "_meta": { "created": "1955-05-13T15:25:40.487Z", "updated": "2004-03-23T04:13:44.131Z", "migrationVersion": -63530488 } } ], "iterations": [ "c7Fae8FB-0Db4-bBE2-C01c-5caFDE2CEb41", "aD3397e9-3Cba-9FE3-Ee32-8dFEF6aB90F2" ], "x": 80718196.17600206, "y": 66944096.16536409, "gridCoordinate": { "x": -78171892.35280839, "y": -27576483.43465364 }, "name": "dolor adipisicing do", "location": "Application", "locationType": null, "app": "sunt ut", "canvasName": "ut officia id tempor ipsum", "displayName": "ex pariatur irure deserunt esse", "summary": "pariatur consequat dolor sed", "description": "consequat reprehenderit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/~1/Awdx/~1/bTWTkg/~1" }, { "type": "encryption", "pointer": "/K4VL2HKOG+d/OUbd2W/sWiZjQWffOb/~0" }, { "type": "encryption", "pointer": "/~0/kZFSYd/~0/~0/zWW/iVv,h2tUNz/vyS6DI-/~0/~0/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "eiusmod Lorem commodo", "highlightString": "ullamco culpa" }, { "key": "laboris", "highlightString": "eu" }, { "key": "in", "highlightString": "ex irure voluptate ea sint" }, { "key": "in ea", "highlightString": "in quis" } ], "status": "scheduled", "previous": { "incomplete": [ "e28f", "3a1f", "3a1f" ], "complete": [ "e28f", "workflow_start", "error_handler", "workflow_start" ], "error": [ "workflow_start" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "loop" }, { "task": "3a1f", "type": "revert" } ], "error": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "standard" } ] }, "serverId": "dolor sunt aliquip", "start_time": "1961-09-10T09:16:00.095Z", "end_time": 74377206.19391882, "finish_state": "failure", "retrySettings": null, "type": "manual", "view": "magna nulla aliquip Excepteur est" } }, "parent": { "task": "est eu ullamco", "iteration": -31677783.043852955, "element": -95576752.69266786 }, "errorHandler": null, "groups": [ "default" ], "watchers": [ "06680b35998403314be2300f" ], "metrics": { "start_time": 25450951.607094556, "progress": 0.8821002225254586, "end_time": 87736298.0617899, "user": null, "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }