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 in ea" } }
{ "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 imported 3 of 4 documents", "data": { "_id": "612cf7b46d073f35a5f0f64d", "font_size": 20665074, "type": "automation", "created": "2009-09-13T22:39:29.835Z", "last_updated": "1996-08-14T04:15:34.943Z", "createdVersion": "34558.07643.4634397", "lastUpdatedVersion": "5066.914779288.032675-2687.2.072.85163061", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": -23777578, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -33250456.555967033, "sla": -45472586.36849398, "decorators": [ { "type": "encryption", "pointer": "/ASFe1Lo7jCr/Xr4nCZt/~0/~0/iAyblBnTjm/bRSQ9lbr1h" }, { "type": "encryption", "pointer": "/~1/~0/~1/~1/Qd9v/~1/tjXgboC/op/ut6yyU9o/Axi4cYg/ENkX17E" } ], "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": "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_start", "name": "myCoolDocumentName", "message": "qui" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "in incididunt sunt" }, { "task": "e28f", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "aliquip aute nisi id", "dataPath": "cupidatat amet deserunt incididunt aliqua", "schemaPath": "labore consequat", "message": "ullamco aliquip fugiat consectetur ex" }, { "keyword": "aliqua Ut dolore Excepteur", "dataPath": "officia aliquip eiusmod cupidatat", "schemaPath": "reprehenderit amet non", "message": "dolor eu" }, { "keyword": "do ut Excepteur aliqua in", "dataPath": "non ullamco Excepteur", "schemaPath": "commodo velit consequat", "message": "ullamco deserunt" }, { "keyword": "aute quis", "dataPath": "esse adipisicing enim ut tempor", "schemaPath": "occaecat", "message": "sunt incididunt" }, { "keyword": "quis dolor voluptate ex reprehenderit", "dataPath": "elit", "schemaPath": "et adipisicing officia", "message": "mollit nostrud eiusmod esse" } ], "created_by": null, "last_updated_by": null, "tasks": { "1": { "actor": null, "groups": [ "b11f7274714024631031577c", "default", { "_id": "3ab9bd3078ea84663b21fa05", "provenance": "non Ut et cillum", "name": "mollit ut laboris", "description": "nisi et commodo nulla", "memberOf": [ { "groupId": "6f596fbb8b1b587ff0579738", "aaaManaged": false }, { "groupId": "9cc66bbe1847857c248cd8f4", "aaaManaged": false }, { "groupId": "e20153e97e1598810aa4035c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut in consectetur" }, { "roleId": "fugiat commodo ea consectetur" } ], "inactive": true, "_meta": { "created": "1956-05-24T05:20:56.381Z", "updated": "2013-03-19T20:55:31.017Z", "migrationVersion": 80051505 } }, { "_id": "c2c26fe888c5d875905ef07b", "provenance": "est qui", "name": "et", "description": "fugiat voluptate", "memberOf": [ { "groupId": "9c6cc9caba3d937e2f7ad07e", "aaaManaged": false }, { "groupId": "1cdd4eda4b0f5002f8e52b3e", "aaaManaged": false }, { "groupId": "aae8810034a9938872f601c8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sint reprehenderit sunt" }, { "roleId": "velit culpa anim dolor nulla" } ], "inactive": false, "_meta": { "created": "1979-11-08T08:03:08.92Z", "updated": "1973-11-06T04:33:23.006Z", "migrationVersion": 73670112 } } ], "iterations": [ "aa7Fccd0-ddFb-e163-c6Cc-FEE0CE04Cb4b" ], "x": 81062423.5207625, "y": -22563518.089213952, "gridCoordinate": { "x": 21241918.40858312, "y": -996640.406810686 }, "name": "enim ullamco reprehenderit anim", "location": "Adapter", "locationType": "Excepteur magna incididunt ipsum et", "app": "ipsum consectetur Excepteur Duis", "canvasName": "culpa fugiat", "displayName": "non", "summary": "sit cupidatat culpa in elit", "description": "aliqua Ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/k/oPB16/rLX/~1/~1/h,CN/~1/z09+sMDAoo/CsSiwjXq" }, { "type": "encryption", "pointer": "/LBc5-Q/~1/TyXPmwFC/~1/mc1k/~1/~1/~1/P+vNm3i7oxh" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/GxczYTneg/~0" }, { "type": "encryption", "pointer": "/Tr4tsr-m/~0/O+d9olAdE/~1/pYa4a6HDmf/~0/~0/PgLhX1WLU/Ppv/~1/~1" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "sunt consequat id commodo anim", "highlightString": "sint" }, { "key": "labore minim", "highlightString": "eu pariatur proident sed ut" }, { "key": "laborum Ut incididunt", "highlightString": "officia" } ], "status": "complete", "previous": { "incomplete": [ "3a1f", "workflow_end", "workflow_start", "workflow_start", "workflow_start" ], "complete": [ "workflow_start", "3a1f", "3a1f", "error_handler", "error_handler" ], "error": [ "error_handler", "workflow_end", "workflow_start", "workflow_end" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "3a1f", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "loop" } ], "error": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "standard" } ] }, "serverId": "incididunt dolor est", "start_time": "1988-02-25T16:30:52.872Z", "end_time": 71996129.11864603, "finish_state": "failure", "retrySettings": { "state": [ "failure", "success" ], "autoRetry": false, "limit": 75622751, "delay": 81691451, "count": 15380550, "finishedRetrying": true }, "type": "manual", "view": "reprehenderit" }, "workflow_start": { "x": 77484457.87986004, "y": 76302214.14339888, "gridCoordinate": { "x": -6801333.623455137, "y": 45498541.49406874 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -67976707.3530698, "finish_state": "failure", "user": { "_id": "378c43d01b6a05bafd293224", "provenance": "eu occaecat Excepteur aliqua amet", "username": "sed", "firstname": "elit ex dolor magna", "memberOf": [ { "groupId": "911876682cdc338f71ca79c6", "aaaManaged": false }, { "groupId": "dd2d51b7daa092714448c6bb", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut" }, { "roleId": "nisi" }, { "roleId": "anim id Excepteur nostrud dolore" }, { "roleId": "dolor elit" }, { "roleId": "irure Excepteur reprehenderit nulla esse" } ], "inactive": true, "lastLogin": "1972-08-27T16:10:23.602Z", "_meta": { "created": "1961-05-07T14:34:00.742Z", "updated": "1974-12-26T05:17:08.401Z", "migrationVersion": -13078650 }, "email": "sunt" } }, "groups": [ "9af2343a7b46ff8087dfcb41" ], "iterations": [ "cC1EE504-1FA3-cFd9-81bB-628d5AeFDAe8" ] }, "workflow_end": { "x": 1534605.1217644364, "y": -86074366.27055338, "gridCoordinate": { "x": -5561195.00905399, "y": -58153298.43799133 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f" ], "complete": [ "e28f", "3a1f", "workflow_start" ], "error": [ "error_handler", "error_handler", "3a1f", "error_handler", "workflow_start" ] }, "metrics": { "end_time": 18904571.475857735, "run_time": -78003419.0640928 }, "groups": [ "default", { "_id": "4a5d33969006828e5a7365e2", "provenance": "mollit Excepteur", "name": "sit tempor aliquip deserunt", "description": "dolor", "memberOf": [ { "groupId": "9bbea543865e9d990ffbe821", "aaaManaged": true }, { "groupId": "4bef0424789e44b543c5be78", "aaaManaged": true }, { "groupId": "ab7886f11b48596b8132d01c", "aaaManaged": false }, { "groupId": "609763dfd56fbe7cf5d7e4b0", "aaaManaged": false }, { "groupId": "ebdfd0e6d1682f1e1dcbd5f3", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "anim eiusmod velit veniam" } ], "inactive": true, "_meta": { "created": "1946-07-27T06:38:15.811Z", "updated": "2023-06-28T21:59:20.644Z", "migrationVersion": 85774163 } }, "79405edc49ac70a31a035746", "dc11b2215f5a77c7bd69d58e" ], "iterations": [ "8Fb13A38-b29a-1EDA-379E-bEFfF5c7CdAb" ] }, "error_handler": { "x": 32617912.076377615, "y": 97101342.85223168, "gridCoordinate": { "x": 47915836.89084241, "y": -88277570.73505723 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "elit proident qui", "canvasName": "officia", "displayName": "laborum aute in ex dolore", "summary": "Duis consectetur", "description": "nulla", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/doqwiF2tYj/tmYf/~0/~1/~0" }, { "type": "encryption", "pointer": "/~0/m,P8QHhD/~0/~0" }, { "type": "encryption", "pointer": "/~0/SSE8cOskCSX/~1/VtmmB/~0/~0/PI" }, { "type": "encryption", "pointer": "/~0/MwZ+X.F/~0/~0/~0/n" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "magna eiusmod", "highlightString": "aute quis nisi culpa" }, { "key": "veniam elit in velit", "highlightString": "laborum commodo cupidatat anim amet" }, { "key": "fugiat", "highlightString": "eiusmod eu mollit" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_start", "workflow_start", "workflow_start", "workflow_end", "workflow_start" ], "complete": [ "3a1f", "workflow_end", "workflow_start" ], "error": [ "workflow_start", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "3a1f", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "workflow_end", "type": "loop" } ] }, "serverId": "laboris", "start_time": "1970-05-30T00:03:27.416Z", "end_time": 76650700.2009367, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "8228c06e3464bdb094f42d36", "groups": [ "default", { "_id": "d1566b1ded52298c12048f12", "provenance": "officia Duis ea dolore", "name": "voluptate sit Excepteur pariatur", "description": "commodo aliqua velit", "memberOf": [ { "groupId": "9376d233a67777c3e1a98258", "aaaManaged": true }, { "groupId": "b3cd93949989f0d8031c4855", "aaaManaged": false }, { "groupId": "6ecb49c5de55adb3a07bda0c", "aaaManaged": true }, { "groupId": "3ce41d854dfb51bdf7805e36", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consequat" }, { "roleId": "velit irure fugiat" }, { "roleId": "Ut Duis velit" }, { "roleId": "amet minim nostrud aute" }, { "roleId": "Excepteur fugiat" } ], "inactive": true, "_meta": { "created": "2022-03-16T19:40:42.932Z", "updated": "1977-06-26T15:49:22.368Z", "migrationVersion": 3972457 } }, { "_id": "c17cfba5ebcc32ab88fb33aa", "provenance": "ea eiusmod labore dolore mollit", "name": "Duis velit dolor in", "description": "in consequat adipisicing laborum", "memberOf": [ { "groupId": "918abe07d8b7ef61e0dec61f", "aaaManaged": true }, { "groupId": "358fadae95658f11150b712b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "deserunt" }, { "roleId": "velit exercitation laboris" }, { "roleId": "Lorem occaecat ut nisi" }, { "roleId": "aliqua labore ex" }, { "roleId": "non" } ], "inactive": true, "_meta": { "created": "2021-03-19T21:45:16.78Z", "updated": "2019-06-25T22:22:10.568Z", "migrationVersion": 59208986 } } ], "iterations": [] } }, "parent": { "job": "sit ad laborum qui", "task": "sit reprehenderit dolore dolore", "iteration": -58349603.959355935, "element": -8111692.946687207 }, "errorHandler": { "actor": null, "groups": [ "2ac345c4d96b29b7e74a4c44" ], "iterations": [ "C3fB2cEc-c996-eeA4-A2cA-3Ca7D4A995Fd", "ed7D245d-Fe29-F971-3a8A-1Fbc7dfC030c" ], "x": 74093738.76945186, "y": -24512252.99398221, "gridCoordinate": { "x": -35616631.66918123, "y": -52955246.68172318 }, "name": "cupidatat quis", "location": "Broker", "locationType": null, "app": "fugiat deserunt ad id", "canvasName": "dolor veniam ex", "displayName": "veniam", "summary": "sint in anim sunt ipsum", "description": "minim tempor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/hCYR/eP/~1/anqPzpmgB/xJ+n/jsO/mm/~1/wykT/~0" }, { "type": "encryption", "pointer": "/~0/H/CQhJPXdy/O/hc9pOhe2zp/DUZwXw6K5R" }, { "type": "encryption", "pointer": "/xj4NVV5e" }, { "type": "encryption", "pointer": "/GakLfRcd.8I/xrkdUwDRmY3" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "elit nulla officia", "highlightString": "voluptate" }, { "key": "laborum mollit aute consequat cillum", "highlightString": "laboris culpa" } ], "status": "error", "previous": { "incomplete": [ "workflow_end" ], "complete": [ "workflow_start", "error_handler", "workflow_start", "error_handler" ], "error": [ "3a1f", "workflow_start", "workflow_end", "3a1f", "e28f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_end", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "loop" } ] }, "serverId": "dolore", "start_time": "1972-08-06T19:35:50.199Z", "end_time": -51240751.928726345, "finish_state": "error", "retrySettings": { "state": [ "failure", "error" ], "autoRetry": true, "limit": 93973567, "delay": 17992929, "count": 75056620, "finishedRetrying": true }, "type": "manual", "view": "nostrud" }, "groups": [ "6cf905cc5fcafeb83f34aeef", "48b6ff5efa8857e953d8eebb", { "_id": "710a52c7899e517fe6844cfd", "provenance": "eiusmod ex enim elit", "name": "qui Ut magna culpa", "description": "do", "memberOf": [ { "groupId": "8c5de8f6a1f07f4646e94098", "aaaManaged": false }, { "groupId": "fa391f5e2b0a0b8eb552c477", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "non laboris est" }, { "roleId": "est mollit id" }, { "roleId": "occaecat quis adipisicing" }, { "roleId": "adipisicing Ut consectetur enim" } ], "inactive": true, "_meta": { "created": "1982-06-13T13:27:04.065Z", "updated": "2013-09-29T22:31:42.355Z", "migrationVersion": 45926307 } }, { "_id": "10825d89ea79f86c6fadce4d", "provenance": "voluptate sit", "name": "tempor adipisicing laborum sunt", "description": "Duis est", "memberOf": [ { "groupId": "7c0a93c40e042b9ee4fae874", "aaaManaged": true }, { "groupId": "a7d0ac6a1c0340eadeb5e14c", "aaaManaged": true }, { "groupId": "0a7082fc0d24809ed05c7112", "aaaManaged": false }, { "groupId": "f0dae49d095943d7c3f4ce3f", "aaaManaged": true }, { "groupId": "1902cc756cb069545a15f14b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consequat veniam reprehenderit" }, { "roleId": "sunt" }, { "roleId": "dolore dolor eu" }, { "roleId": "velit sit ut" } ], "inactive": true, "_meta": { "created": "1991-06-20T13:54:17.187Z", "updated": "1980-06-14T07:00:57.629Z", "migrationVersion": -29164893 } } ], "watchers": [ null, "0479b27e150f1611b6cfb65c", null ], "metrics": { "start_time": 30054239.449160308, "progress": 0.0035292566116993385, "end_time": -88558594.45255496, "user": null, "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }