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": "qui id amet irure occaecat" } }
{ "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": "4e9d9f6aeca63eeb6c4a0757", "font_size": 89544990, "type": "resource:action", "created": "2023-12-22T14:15:54.559Z", "last_updated": "1974-05-22T06:50:51.584Z", "createdVersion": "574.4.8368267345", "lastUpdatedVersion": "88436.62575613795.705", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 44019743, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 38451027.96687868, "sla": -89163194.06564473, "decorators": [ { "type": "encryption", "pointer": "/j/S/psX/gRIL6/~1/~1/vt2/~0/deut/~0" }, { "type": "encryption", "pointer": "/~0/qYX5q+Jp1/vXmGOdQfxxl/oWKCh5NuxFP/XaY+/wzej5qDc/~1/Ca/~1" }, { "type": "encryption", "pointer": "/G2UqMmsw/~0/jDFM5/Fz,-x/Uttq/~0/~0/Pt6qeL/~1/~0" }, { "type": "encryption", "pointer": "/vT5W/~1/rxtvC7rV/z451p/kYHrGXoG/~1/r/~0/dqvTolLRTng" }, { "type": "encryption", "pointer": "/lg9w/~0/yOXKIqC5/vxFlZUp/sl5kjB/l3FrMd+/~0" } ], "status": "complete", "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" } ], "ancestors": null, "validationErrors": [ { "keyword": "labore consequat eu quis", "dataPath": "proident culpa cupidatat nisi sint", "schemaPath": "aliquip ut minim", "message": "reprehenderit id proident" }, { "keyword": "ullamco", "dataPath": "irure in nostrud Ut", "schemaPath": "exercitation cupidatat", "message": "qui elit adipisicing tempor anim" }, { "keyword": "quis elit", "dataPath": "laborum", "schemaPath": "aliquip incididunt laboris", "message": "deserunt nulla proident" }, { "keyword": "exercitation sed in", "dataPath": "nisi anim ut ex qui", "schemaPath": "laborum", "message": "Duis commodo ea ex" }, { "keyword": "nostrud adipisicing ex cillum", "dataPath": "incididunt mollit eu", "schemaPath": "exercitation esse nulla non", "message": "labore amet pariatur dolor" } ], "created_by": { "_id": "dd735c570bea2a7afd91108c", "provenance": "ipsum Ut velit laboris", "username": "dolore dolore", "firstname": "incididunt consequat occaecat nisi fugiat", "memberOf": [ { "groupId": "b583aa974ac134f9c479d2fb", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "non aliqua anim qui do" } ], "inactive": false, "lastLogin": "2000-03-16T00:33:38.776Z", "_meta": { "created": "2002-04-23T13:17:30.394Z", "updated": "1999-05-14T21:45:42.928Z", "migrationVersion": -96596337 }, "email": "sint pariatur Lorem esse cupidatat" }, "last_updated_by": { "_id": "3bcc5acccaa22ec4f3c0f903", "provenance": "cillum nisi non irure deserunt", "username": "mollit ex", "firstname": "Duis ex Excepteur sint reprehenderit", "memberOf": [ { "groupId": "e0c48390c107f10bb755b261", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "do in dolor velit est" }, { "roleId": "culpa non velit aliqua" }, { "roleId": "aliquip" } ], "inactive": true, "lastLogin": "1983-11-05T08:59:51.599Z", "_meta": { "created": "1955-07-08T15:06:15.821Z", "updated": "1974-09-23T06:26:14.608Z", "migrationVersion": -55916726 }, "email": "do esse sed voluptate est" }, "tasks": { "workflow_start": { "x": -37767451.96427061, "y": -42046981.22944768, "gridCoordinate": { "x": -62196510.832396165, "y": -65876785.943780854 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -16372168.722552165, "finish_state": "error", "user": null }, "groups": [ "698684e83957c70cde993fd8" ], "iterations": [ "9f6EF76D-c2E1-760a-6AEa-e43346cb330d" ] }, "workflow_end": { "x": -608952.1859854162, "y": 57940452.69348088, "gridCoordinate": { "x": 20843946.100931317, "y": 60190433.721744895 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_start", "3a1f", "error_handler", "workflow_start" ], "complete": [ "e28f" ], "error": [ "error_handler", "3a1f", "workflow_start", "workflow_start" ] }, "metrics": { "end_time": -54124598.57964493, "run_time": -83623392.17875281 }, "groups": [ "22d7582262b6948e1b1ce9fa", "default", { "_id": "0255006d4c687817731833c0", "provenance": "commodo Lorem", "name": "ut qui nostrud nulla magna", "description": "labore aliquip ullamco", "memberOf": [ { "groupId": "742d6519379cb996a537bf5c", "aaaManaged": false }, { "groupId": "bf848c2e2af633d16c616b50", "aaaManaged": true }, { "groupId": "e33dc56a79f0afd7784b8a0c", "aaaManaged": false }, { "groupId": "7e754c305d944010668a3422", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "do ea" }, { "roleId": "dolore Excepteur aliquip" }, { "roleId": "ad eiusmod" }, { "roleId": "in" } ], "inactive": false, "_meta": { "created": "1957-07-23T21:48:29.465Z", "updated": "1987-03-24T12:50:11.669Z", "migrationVersion": 85799974 } } ], "iterations": [ "DcA556Fa-2Bf7-2BEa-2DBC-EaB49F8CEEa2", "6CA6BC8D-7A16-FfeF-Ab1B-cC4638D452cF", "b3b7135A-7Dd6-4F75-4dB8-b9A17E3b8C25" ] }, "error_handler": { "x": -17925905.405540243, "y": -20823272.598194942, "gridCoordinate": { "x": -47344343.4805505, "y": 59996455.059363246 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "ut aliqua minim", "canvasName": "voluptate aliqua ullamco sunt", "displayName": "irure", "summary": "exercitation ipsum", "description": "deserunt in voluptate", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~1/s/GL/~0/c.Vx+js7Y/nQYHdqe4DKG/qsBgk+igg/N17vYRXc4d" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "quis nostrud deserunt", "highlightString": "nulla deserunt" }, { "key": "culpa", "highlightString": "ex" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_start", "workflow_start", "3a1f" ], "complete": [ "e28f", "error_handler", "workflow_start", "error_handler" ], "error": [ "workflow_start", "workflow_start", "3a1f" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "non tempor consectetur", "start_time": "1952-03-25T21:41:54.974Z", "end_time": -46207874.783908084, "finish_state": "error", "retrySettings": { "state": [ "success", "failure", "success", "error", "success" ], "autoRetry": false, "limit": 80279683, "delay": 92450288, "count": 67256779, "finishedRetrying": true }, "type": "operation", "actor": { "_id": "dd1d19879a6869c6fedb9cc0", "provenance": "ipsum ullamco amet consequat", "username": "mollit eu", "firstname": "velit amet", "memberOf": [ { "groupId": "dcbb750c1be0bf3c21ac2321", "aaaManaged": false }, { "groupId": "c2f4539420073bf13fea156c", "aaaManaged": true }, { "groupId": "0a8f51d673e64a7d0e4c0d01", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "laboris elit cupidatat" }, { "roleId": "ut do ex" }, { "roleId": "sit" }, { "roleId": "quis dolore fugiat" }, { "roleId": "laboris cupidatat sed aliquip dolore" } ], "inactive": false, "lastLogin": "1999-07-27T09:17:26.735Z", "_meta": { "created": "1972-04-01T00:34:33.994Z", "updated": "1999-11-04T10:43:29.136Z", "migrationVersion": -1746122 }, "email": "fugiat" }, "groups": [ { "_id": "0a03fc0bbd72717a775bb714", "provenance": "eiusmod in", "name": "reprehenderit et culpa nisi", "description": "Duis", "memberOf": [ { "groupId": "af5d6ea7c9227a678b6b8185", "aaaManaged": false }, { "groupId": "eaa9cc61582c95a9db3811c9", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolor" }, { "roleId": "commodo laboris" }, { "roleId": "nisi quis Duis dolore" } ], "inactive": true, "_meta": { "created": "1987-07-11T14:49:12.757Z", "updated": "1952-03-24T07:05:25.41Z", "migrationVersion": 13729909 } }, { "_id": "9e1e241c0a239054c6c38e8f", "provenance": "in ut", "name": "anim quis laborum", "description": "magna anim", "memberOf": [ { "groupId": "8b51cf0fc31f378890cae3db", "aaaManaged": false }, { "groupId": "42bb50bb7c3c22f8a2a08fc7", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consequat esse Duis dolor in" }, { "roleId": "ipsum" }, { "roleId": "fugiat do" } ], "inactive": true, "_meta": { "created": "1954-10-01T13:52:24.03Z", "updated": "1981-01-01T21:28:58.471Z", "migrationVersion": -52699225 } }, "default" ], "iterations": [ "ab307c06-c1f5-e3D1-Ba14-72b20161B7b2", "c7F4FaFF-B9eD-d5b0-df6d-56Af7d1E61Ef", "6Eb34e3D-d1c5-a7Fc-DA34-f780F0ab93Fc" ] }, "bd3": { "actor": "job", "groups": [ "default" ], "iterations": [ "C360af4f-9a23-3cCB-1aff-8cE51D3ddbfe" ], "x": -11702501.425720692, "y": -79718977.42404197, "gridCoordinate": { "x": -66777484.98642346, "y": 58914029.52136341 }, "name": "non do id", "location": "Application", "locationType": "nisi incididunt aute id irure", "app": "officia non ipsum in ad", "canvasName": "childJob", "displayName": "anim", "summary": "deserunt", "description": "nulla", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/JKH/~0/yF/~1/~0/v/bjHVFncQE" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "pariatur et ea", "highlightString": "Excepteur anim" }, { "key": "in occaecat adipisicing", "highlightString": "aliquip do sed" }, { "key": "elit eiusmod dolore occaecat id", "highlightString": "pariatur aliqua anim" }, { "key": "est adipisicing ex veniam", "highlightString": "non proident consequat" } ], "status": "incomplete", "previous": { "incomplete": [ "3a1f", "workflow_start", "e28f" ], "complete": [ "workflow_end", "workflow_start", "workflow_start", "e28f", "workflow_start" ], "error": [ "workflow_end", "workflow_end", "workflow_start", "workflow_start" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "3a1f", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "incididunt et cupidatat", "start_time": "1989-09-01T16:10:23.26Z", "end_time": 83215584.30657604, "finish_state": "error", "retrySettings": null, "loop": { "atLeastOneComplete": true, "finishedCount": -60081930.95035326, "outgoing": [ "et sed ullamco", "voluptate minim magna" ] }, "childJobs": [ { "_id": "culpa nostrud", "name": "Duis cupidatat", "iteration": -67601583.0015837 }, { "_id": "fugiat elit qui laboris minim", "name": "Duis in dolor", "iteration": 53558944.87753737 }, { "_id": "reprehenderit sed Ut consectetur", "name": "in velit consequat aute", "iteration": 50124953.71622646 }, { "_id": "veniam ut reprehenderit et", "name": "pariatur tempor", "iteration": 41678433.255876034 }, { "_id": "culpa", "name": "aliqua irure", "iteration": 79503620.22061217 } ] } }, "parent": { "task": "incididunt", "iteration": -34969793.553879656, "element": -14086290.14064005 }, "errorHandler": { "actor": "job", "groups": [ "220e48b8d40ac76b9985f8ad", "584c665428abc009aeb4db16" ], "iterations": [ "2Eca1786-2E7b-08Fc-AD3A-5cC6199eA54C", "6A76Adff-1f55-2fc6-39d5-FeEe1fdE0Ed0" ], "x": 30313891.00093697, "y": 41960374.896111876, "gridCoordinate": { "x": 16280920.203043252, "y": -77626629.72979979 }, "name": "quis esse nostrud mollit ea", "location": "Broker", "locationType": null, "app": "amet et", "canvasName": "childJob", "displayName": "non nisi officia", "summary": "anim tempor ipsum", "description": "dolore commodo amet Lorem ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/~0/~1/s3wIseX" }, { "type": "encryption", "pointer": "/C.QNi9+U3/~0/TXl0Spd6F.L/wVc/FiHq1j/HK0Q/J" }, { "type": "encryption", "pointer": "/b91iOtjXaC" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "commodo", "highlightString": "in Ut ad do aliquip" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_start", "workflow_start" ], "complete": [ "workflow_end" ], "error": [ "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "workflow_end", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "sint ex ea", "start_time": "1973-02-16T20:15:29.307Z", "end_time": -78898526.10041758, "finish_state": "failure", "retrySettings": { "state": [ "success", "failure", "success" ], "autoRetry": false, "limit": 70378037, "delay": 79150085, "count": 3849614, "finishedRetrying": false }, "loop": { "atLeastOneComplete": false, "finishedCount": -65810503.14945838, "outgoing": [ "Duis laboris cupidatat", null, null ] }, "childJobs": [ { "_id": "et", "name": "mollit", "iteration": -49419812.704854675 }, { "_id": "nulla aute consectetur", "name": "commodo", "iteration": 66305473.761749715 } ] }, "groups": [ "default" ], "watchers": [ null, "Pronghorn" ], "metrics": { "start_time": -31059527.712687805, "progress": 0.8680051831538713, "end_time": 9467696.191343218, "user": "Pronghorn", "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }