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": "non veniam cupidatat esse sunt" } }
{ "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": "6b05a16c1de4723ef00a22e3", "font_size": 27983599, "type": "resource:action", "created": "1992-11-17T09:55:03.403Z", "last_updated": "2001-06-01T04:51:18.386Z", "createdVersion": "11062213.230.90345-7471.5864158171.79614512", "lastUpdatedVersion": "97722950.5426.174186", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -59923067, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -15924260.984056994, "sla": -13455740.237949729, "decorators": [ { "type": "encryption", "pointer": "/~0/ZS/GJLRtvXs/~1/~0/e6zPWzB04/YyQF-kWO,3" }, { "type": "encryption", "pointer": "/Zh/HIZ/f4IWc/yfNSQbS/~0/~1/l" } ], "status": "running", "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 }, { "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": "dolore" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "in amet" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "enim ullamco" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "non elit culpa ad labore" }, { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "exercitation Ut", "dataPath": "consectetur velit", "schemaPath": "incididunt adipisicing irure ut", "message": "ullamco id" }, { "keyword": "ea eu nostrud esse", "dataPath": "Excepteur aliqua consequat dolore sit", "schemaPath": "nulla non et qui", "message": "et" } ], "created_by": null, "last_updated_by": "b5d5741b464fda2d40f21f4a", "tasks": { "workflow_start": { "x": 92916687.34916806, "y": -90551184.43884504, "gridCoordinate": { "x": 65920650.07811746, "y": 92721740.37781635 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -22326541.620964944, "finish_state": "error", "user": "2097a60c0dbb95e6c5112b96" }, "groups": [ "default", "865058cc858aeb10ff04ee78", { "_id": "381ae7b9f62128a65698b86e", "provenance": "cupidatat aliquip", "name": "in adipisicing enim elit", "description": "pariatur qui", "memberOf": [ { "groupId": "b1c45c86954ded9e51a0c4fc", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sint" } ], "inactive": true, "_meta": { "created": "2000-10-15T06:56:18.033Z", "updated": "2010-04-26T19:34:02.08Z", "migrationVersion": 32197514 } }, "default", "default" ], "iterations": [ "bdA0aaFC-c7bE-2A51-C1F6-f18c7E64eeCB" ] }, "workflow_end": { "x": 80309473.73335922, "y": -75987816.75754757, "gridCoordinate": { "x": -21722711.23823379, "y": -59192203.88187454 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "e28f", "workflow_end", "3a1f" ], "complete": [ "error_handler", "workflow_start", "e28f" ], "error": [ "3a1f", "3a1f", "e28f", "workflow_end" ] }, "metrics": { "end_time": 63556858.56780791, "run_time": -92370486.08528294 }, "groups": [ { "_id": "8adf531f769d663ce1d20390", "provenance": "amet", "name": "do qui consectetur culpa aliquip", "description": "dolore in", "memberOf": [ { "groupId": "8182571137264c1539767138", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "magna ut" }, { "roleId": "mollit Lorem eiusmod exercitation cillum" }, { "roleId": "dolore" }, { "roleId": "Lorem dolore aliquip" }, { "roleId": "voluptate sint ea" } ], "inactive": false, "_meta": { "created": "1952-05-06T08:24:32.926Z", "updated": "1973-11-03T00:45:01.905Z", "migrationVersion": -40941038 } }, "b59a1f41d77a51eb6ad1ab14", { "_id": "7ee07407027dbaeedb44e608", "provenance": "do cupidatat quis Excepteur", "name": "sed nostrud elit ut incididunt", "description": "exercitation voluptate sunt aute", "memberOf": [ { "groupId": "e5c20196d0f67bf90e82a5d5", "aaaManaged": false }, { "groupId": "acc30c6011cf8cc5c478abf3", "aaaManaged": true }, { "groupId": "db11e300e20008cc51ea06b4", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ad officia irure mollit" } ], "inactive": false, "_meta": { "created": "2019-08-29T23:42:03.6Z", "updated": "2023-01-27T00:50:12.89Z", "migrationVersion": -45215472 } }, "default" ], "iterations": [] }, "error_handler": { "x": 27742603.308809206, "y": -14709333.895400032, "gridCoordinate": { "x": 32454102.900587052, "y": -37898234.86067236 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "Duis eiusmod", "canvasName": "dolore labore", "displayName": "ullamco", "summary": "ea Duis", "description": "ut ullamco commodo ut voluptate", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/txwehrgE/x0liYOjWB/~0/tTmQ/kk/l8lLbXngI/DyMae" }, { "type": "encryption", "pointer": "/cxmYFQ6E.A/~0/zmQhewFEb-Z/W.kgOR/~1/Vzsyp/~1/vQTOF/~1/vCO04tXZ9" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "irure", "highlightString": "laborum" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_start", "e28f" ], "complete": [ "e28f", "workflow_start", "error_handler", "workflow_start" ], "error": [ "workflow_start", "e28f", "workflow_start" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "error_handler", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "revert" } ] }, "serverId": "elit", "start_time": "1993-02-10T14:37:55.64Z", "end_time": 87539749.47067314, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "default", "default" ], "iterations": [ "bDCf56Df-CAd6-5B9f-a79f-B0FAa55e0bCa" ] }, "1b5a": { "actor": { "_id": "2ffbbf5bebcecf1fe5d42a8f", "provenance": "occaecat in", "username": "occaecat fugiat sed Lorem", "firstname": "ut sunt enim", "memberOf": [ { "groupId": "798ce1709e089e285bd21728", "aaaManaged": true }, { "groupId": "cb11f29aaa5013998c80852e", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "amet aliqua et in laborum" }, { "roleId": "in sit nostrud sed" }, { "roleId": "aliqua ea enim dolore adipisicing" }, { "roleId": "sunt quis Excepteur mollit sit" } ], "inactive": false, "lastLogin": "1998-09-21T13:53:54.629Z", "_meta": { "created": "2007-04-06T17:39:20.807Z", "updated": "2010-12-30T09:24:40.792Z", "migrationVersion": -56935352 }, "email": "incididunt occaecat laboris est nisi" }, "groups": [ { "_id": "96e6d8aff9ea31ff12f85032", "provenance": "minim nostrud cillum culpa", "name": "sint sed anim fugiat dolor", "description": "esse Excepteur", "memberOf": [ { "groupId": "684244ce633bdb36f35e30a7", "aaaManaged": false }, { "groupId": "d9984b74baa0fed9f8bb4758", "aaaManaged": true }, { "groupId": "daad250be5c5e00b290afc84", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "enim incididunt Lorem aliqua" }, { "roleId": "velit" } ], "inactive": false, "_meta": { "created": "1964-08-23T06:49:08.588Z", "updated": "1992-11-16T23:52:54.267Z", "migrationVersion": -98725800 } }, "default", "44c144a807dddbebe027abf2" ], "iterations": [ "A8a86caD-AF4a-eA21-219d-9C31eafBb151", "610F806F-4624-12F6-58F6-f4feC0ddd0aB" ], "x": -24653308.631282836, "y": 17672204.897378445, "gridCoordinate": { "x": -11276976.47131063, "y": -78261900.18387344 }, "name": "ut officia", "location": "Broker", "locationType": "aliqua", "app": "fugiat veniam", "canvasName": "sit sunt commodo", "displayName": "fugiat ipsum nulla", "summary": "nostrud Excepteur velit cillum", "description": "eiusmod enim officia eu", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/L57fe" }, { "type": "encryption", "pointer": "/~0/~0/~0/q7/~0/vqVL-3h85/so+V/~1/~0/aKhDAyrSv/rfePvfMx" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "Duis sed", "highlightString": "qui Ut incididunt magna" }, { "key": "laboris adipisicing anim", "highlightString": "in ex" } ], "status": "running", "previous": { "incomplete": [ "workflow_start" ], "complete": [ "workflow_start", "workflow_start" ], "error": [ "error_handler", "e28f", "workflow_end", "workflow_start", "error_handler" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "3a1f", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "e28f", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "tempor", "start_time": "1963-11-24T13:19:24.29Z", "end_time": 41298223.23613116, "finish_state": "failure", "retrySettings": null, "type": "manual", "view": "magna" } }, "parent": { "job": "voluptate irure nostrud ut", "task": "anim in Duis dolore in", "iteration": -55324135.308453836, "element": -34995285.34568239 }, "errorHandler": { "actor": { "_id": "40a44eb612d154fe6825b7e4", "provenance": "ex quis consectetur elit", "username": "officia laborum do", "firstname": "do occaecat dolore", "memberOf": [ { "groupId": "ac763178a88c527470ad58e9", "aaaManaged": true }, { "groupId": "ef3d527439e8f6ca157fdfb5", "aaaManaged": false }, { "groupId": "53d0f628cc58bdf76c5e484e", "aaaManaged": true }, { "groupId": "2d7944ea439096ed459327c6", "aaaManaged": false }, { "groupId": "24bea7f7e47ad3678dc40785", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ullamco adipisicing reprehenderit laboris velit" }, { "roleId": "nisi cillum et dolor dolore" }, { "roleId": "consectetur consequat" } ], "inactive": true, "lastLogin": "1976-09-20T23:11:29.337Z", "_meta": { "created": "2005-12-26T16:43:21.103Z", "updated": "1988-11-14T16:17:58.199Z", "migrationVersion": 44285978 }, "email": "ea" }, "groups": [ "507798e7f909577f00b1efc2" ], "iterations": [ "C0Fd65AE-53Ec-9C4c-1F9e-8af48D5eE197" ], "x": 29945702.295848027, "y": 23573681.51240173, "gridCoordinate": { "x": -80685039.80736667, "y": 20374112.53961858 }, "name": "sit adipisicing", "location": "Broker", "locationType": null, "app": "ut nisi laborum minim fugiat", "canvasName": "veniam aute elit", "displayName": "magna officia sint", "summary": "cupidatat exercitation occaecat id est", "description": "tempor enim dolore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/~1/~1/Ar,z0eQZnMO/~0/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "eiusmod irure aliquip", "highlightString": "dolore ut exercitation" }, { "key": "aute do est esse", "highlightString": "officia velit Lorem dolore ut" } ], "status": "complete", "previous": { "incomplete": [ "error_handler", "3a1f", "3a1f", "workflow_start", "workflow_end" ], "complete": [ "3a1f", "3a1f", "workflow_end", "workflow_start", "workflow_end" ], "error": [ "error_handler", "workflow_end", "workflow_start", "workflow_start" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_end", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "standard" }, { "task": "3a1f", "type": "revert" } ] }, "serverId": "deserunt pariatur ad", "start_time": "1978-09-08T23:36:03.585Z", "end_time": 24642114.558089778, "finish_state": "success", "retrySettings": { "state": [ "failure", "success", "failure", "failure", "error" ], "autoRetry": false, "limit": 55695239, "delay": 35911325, "count": 39526488, "finishedRetrying": true }, "type": "manual", "view": "et Excepteur amet qui veniam" }, "groups": [ { "_id": "51c670afd1c70ec97c3e2153", "provenance": "et quis laborum dolor sunt", "name": "exercitation nostrud elit Excepteur", "description": "fugiat aliquip laboris", "memberOf": [ { "groupId": "d717c54a0e64f4d284f499cf", "aaaManaged": true }, { "groupId": "e6a5f2aab4d3e3220211d21f", "aaaManaged": true }, { "groupId": "0dabd465614cd220108caf29", "aaaManaged": false }, { "groupId": "9e15f8f642dfbca8cab850d7", "aaaManaged": false }, { "groupId": "8bef4dec0c42c546b9eb6a5f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consectetur irure id" }, { "roleId": "exercitation elit Duis eu velit" } ], "inactive": false, "_meta": { "created": "1981-03-10T04:42:03.271Z", "updated": "1963-05-17T16:59:38.379Z", "migrationVersion": -12476795 } }, "default", "71c63340410b46f14ae08eb0", "default" ], "watchers": [ null, { "_id": "94b273954e13a31850576031", "provenance": "sunt eu dolore consequat", "username": "non fugiat", "firstname": "aute nulla", "memberOf": [ { "groupId": "6553823e7dc743d0a9c6ff57", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "culpa commodo eu aliquip" }, { "roleId": "Lorem exercitation cillum" }, { "roleId": "et aliquip" }, { "roleId": "dolor" }, { "roleId": "ut cupidatat proident est" } ], "inactive": false, "lastLogin": "2017-08-09T17:39:19.973Z", "_meta": { "created": "1989-11-23T02:45:41.267Z", "updated": "2023-10-14T13:19:18.553Z", "migrationVersion": -26595493 }, "email": "laboris" } ], "metrics": { "start_time": 38358576.02983874, "progress": 0.6360685214531081, "end_time": -9659372.909808144, "user": "Pronghorn", "owner": "Pronghorn" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }