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 commodo in pariatur" } }
{ "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": "33e5a7ce9b4f5b63dac7dc58", "font_size": 5576070, "type": "automation", "created": "1998-09-08T01:47:27.867Z", "last_updated": "1988-06-18T11:29:01.986Z", "createdVersion": "6508052.5.1-9649.5.541163.7", "lastUpdatedVersion": "27.1.52119", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 61717626, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 63723463.532042325, "sla": 19089155.06415662, "decorators": [ { "type": "encryption", "pointer": "/vmo6S,lp/Fxg2KSQ" }, { "type": "encryption", "pointer": "/~1/C94s/~0/~1/~1/f/~0" } ], "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 }, { "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": "3a1f", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "sint consectetur consequat sit" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "laborum eu labore cillum", "dataPath": "culpa pariatur occaecat Ut ipsum", "schemaPath": "mollit irure aliqua", "message": "aliquip nostrud reprehenderit" }, { "keyword": "ipsum ut commodo", "dataPath": "esse magna Lorem exercitation cupidatat", "schemaPath": "amet fugiat ea ex occaecat", "message": "laboris in et exercitation" } ], "created_by": null, "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": -26957170.132229805, "y": -48653640.20873768, "gridCoordinate": { "x": -65573075.137041844, "y": -32765229.548023418 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 58107794.90725824, "finish_state": "failure", "user": { "_id": "d8d72aa5e5fde844f42fbe6b", "provenance": "eu cupidatat cillum dolore", "username": "ut", "firstname": "in nostrud", "memberOf": [ { "groupId": "ed15d42662689b91c92b647a", "aaaManaged": false }, { "groupId": "60443bf29284e4073be3c2f2", "aaaManaged": false }, { "groupId": "e0c6fc35b89e5e82c5ca2308", "aaaManaged": false }, { "groupId": "bb8124e9554355dcdfc8846c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "veniam Duis" }, { "roleId": "occaecat ad ex" }, { "roleId": "est nostrud tempor sunt" }, { "roleId": "ut adipisicing" }, { "roleId": "elit ea" } ], "inactive": true, "lastLogin": "2013-11-17T20:15:03.676Z", "_meta": { "created": "1979-11-25T22:38:48.573Z", "updated": "2015-08-02T03:10:54.603Z", "migrationVersion": -11023789 }, "email": "in ea et dolor adipisicing" } }, "groups": [ { "_id": "23bba33e5a9eb4d993651453", "provenance": "aute", "name": "ipsum Ut ullamco anim sint", "description": "dolore sint in dolor Ut", "memberOf": [ { "groupId": "f510a61a33fb6ddfc946a84f", "aaaManaged": true }, { "groupId": "9d273cb47babe8f1cdd333e8", "aaaManaged": true }, { "groupId": "ffe697b0f3de0285f90f4fcc", "aaaManaged": true }, { "groupId": "28924449feb3c79fd8cf3a00", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "voluptate minim eu irure aute" }, { "roleId": "enim dolore" }, { "roleId": "proident occaecat qui velit" }, { "roleId": "exercitation veniam pariatur irure" }, { "roleId": "dolor esse cupidatat proident" } ], "inactive": true, "_meta": { "created": "1972-04-27T14:07:04.042Z", "updated": "1980-04-25T05:06:12.982Z", "migrationVersion": 56555842 } }, "a22ef3b9cecc80504dfd14c6" ], "iterations": [] }, "workflow_end": { "x": -52192602.34113592, "y": -74206441.58045602, "gridCoordinate": { "x": -51638480.07429479, "y": 27977052.442239404 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "error_handler" ], "complete": [ "3a1f", "e28f", "3a1f" ], "error": [ "3a1f", "workflow_end", "error_handler", "workflow_end", "workflow_end" ] }, "metrics": { "end_time": 69257218.8321302, "run_time": -5866264.493623868 }, "groups": [ "68a7aac296cd8fb751c7b1f8", "00c1c0cb99c42c6feceeeaa6" ], "iterations": [ "7E5da149-BE7C-01Ef-d9dd-C1bE4D4f19AA" ] }, "error_handler": { "x": -52915997.717327245, "y": 5200057.237186551, "gridCoordinate": { "x": 84273850.0699082, "y": 29701568.19503434 }, "name": "childJob", "location": "Application", "locationType": "qui esse ullamco tempor voluptate", "app": "dolor laborum", "canvasName": "sed deserunt ad commodo cillum", "displayName": "ad ullamco esse cupidatat exercitation", "summary": "velit", "description": "id labore pariatur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/~1/~1/L4lL78.x0/~0/dA,pV5C/X,Q/f38/~1" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "nulla aliquip Excepteur", "highlightString": "sint ut nulla aliquip" }, { "key": "Excepteur laboris labore non", "highlightString": "laboris non in ex" }, { "key": "cupidatat", "highlightString": "anim Duis quis elit" }, { "key": "enim", "highlightString": "enim ut et" }, { "key": "non id sit ea", "highlightString": "Duis et consectetur" } ], "status": "scheduled", "previous": { "incomplete": [ "e28f", "error_handler" ], "complete": [ "workflow_start", "e28f", "e28f", "error_handler", "3a1f" ], "error": [ "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "loop" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "standard" } ] }, "serverId": "voluptate", "start_time": "1996-01-09T01:26:00.916Z", "end_time": 44919167.38597202, "finish_state": "success", "retrySettings": { "state": [ "success", "error", "failure", "success" ], "autoRetry": false, "limit": 87520931, "delay": 72518042, "count": 34415460, "finishedRetrying": false }, "type": "operation", "actor": null, "groups": [ "b4c9b560031e443a0e97183d", "default", { "_id": "3fc115a4a115a0b3ce9d955a", "provenance": "proident laborum ea", "name": "in sed fugiat", "description": "dolor consequat aliquip labore nostrud", "memberOf": [ { "groupId": "b00e46157fcd8b30411868fc", "aaaManaged": false }, { "groupId": "47cf9c8cdca7e24dc69db0bd", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sed fugiat" }, { "roleId": "non elit reprehenderit incididunt Excepteur" }, { "roleId": "id dolore" }, { "roleId": "pariatur sunt enim minim aliqua" } ], "inactive": false, "_meta": { "created": "1988-08-01T04:31:06.147Z", "updated": "2010-03-04T01:51:17.274Z", "migrationVersion": -63608327 } }, "default", { "_id": "f7962dce6120b88a19fb1d98", "provenance": "ipsum veniam Duis adipisicing", "name": "sit", "description": "dolore nostrud mollit ut incididunt", "memberOf": [ { "groupId": "30ecc7aa477b0e62eebd981a", "aaaManaged": true }, { "groupId": "961a43acf01ab61ec9539f14", "aaaManaged": false }, { "groupId": "cd87aa4050544a915dda4d62", "aaaManaged": true }, { "groupId": "cc898dd92bcbad8337637d57", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eu" }, { "roleId": "esse" }, { "roleId": "in veniam velit fugiat Excepteur" }, { "roleId": "consequat" } ], "inactive": true, "_meta": { "created": "1956-12-03T04:44:46.641Z", "updated": "1975-11-02T21:39:04.767Z", "migrationVersion": 97753108 } } ], "iterations": [] }, "c": { "actor": "job", "groups": [ "c5e7f94738f29472c9c9d09d", { "_id": "3bb5d76bb2a63647be6a1326", "provenance": "mollit fugiat", "name": "aliquip est ea quis", "description": "veniam anim laboris ex", "memberOf": [ { "groupId": "54e4ce4c06e0dccc85d0f72c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "labore quis" }, { "roleId": "ex ut veniam sunt enim" }, { "roleId": "dolore" }, { "roleId": "magna in est nisi sunt" }, { "roleId": "elit eiusmod eu et" } ], "inactive": true, "_meta": { "created": "2021-11-18T05:28:06.62Z", "updated": "1969-03-01T03:47:33.072Z", "migrationVersion": -95753367 } }, { "_id": "b4817019f1e73d6aca5279e3", "provenance": "veniam", "name": "pariatur", "description": "nostrud", "memberOf": [ { "groupId": "586a5181044fc40c2ab8ca19", "aaaManaged": true }, { "groupId": "603aaa9cd31e18f053b7d39f", "aaaManaged": true }, { "groupId": "b0ccc5e1c172cecb6604d5e5", "aaaManaged": false }, { "groupId": "9f352df829d41ffab609d4f7", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "magna ut nostrud adipisicing" }, { "roleId": "ipsum deserunt" }, { "roleId": "velit proident qui in" }, { "roleId": "exercitation ullamco do consequat cupidatat" }, { "roleId": "deserunt pariatur non in irure" } ], "inactive": true, "_meta": { "created": "2011-12-21T23:15:34.849Z", "updated": "2016-07-21T09:17:46.826Z", "migrationVersion": -97984977 } } ], "iterations": [ "D9Dc0f06-Cc0b-C086-F2f5-cA0f6CC2Bf0A", "BaB8a1dd-F49F-79c2-44BB-6f7FFbBA5B23", "4A8a7dd7-C92D-7085-3CB6-2cB1e65DC0E5" ], "x": -91955896.41063426, "y": 25373537.868813574, "gridCoordinate": { "x": 2846803.5356681794, "y": -68010998.21410315 }, "name": "anim nulla sed dolor", "location": "Adapter", "locationType": null, "app": "aute tempor velit ex", "canvasName": "amet ut in aute pariatur", "displayName": "id dolor amet", "summary": "cillum ut veniam", "description": "dolor esse reprehenderit Duis", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/e+tPa/~1/~0/mI0gJiAxDa/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "anim elit cillum", "highlightString": "nulla id quis magna" }, { "key": "culpa et", "highlightString": "nostrud do" }, { "key": "irure elit est Excepteur dolor", "highlightString": "deserunt culpa" }, { "key": "magna aliqua eiusmod", "highlightString": "labore occaecat" }, { "key": "sunt ea adipisicing", "highlightString": "minim officia" } ], "status": "running", "previous": { "incomplete": [ "3a1f", "e28f", "e28f", "e28f" ], "complete": [ "workflow_start" ], "error": [ "e28f", "workflow_start", "workflow_end", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "irure velit ipsum non eu", "start_time": "2001-07-01T01:42:30.373Z", "end_time": 80465458.72017425, "finish_state": "error", "retrySettings": { "state": [ "failure" ], "autoRetry": false, "limit": 62098782, "delay": 91021197, "count": 92834146, "finishedRetrying": false }, "type": "manual", "view": "ut nulla do laboris enim" } }, "parent": { "task": "do exercitation", "iteration": 80384233.1257802, "element": 27956445.6342607 }, "errorHandler": { "actor": "0beb01c1ecf6dc912691193c", "groups": [ "default" ], "iterations": [ "bE5157AF-34C4-4d3e-2fDC-Bb3CACC56586", "dF61FecA-C846-6619-eC4A-1c02dCF8CcCC", "70FC8B5F-842C-Ad8b-140A-E1B0F86700d0" ], "x": -19550586.45591925, "y": 29424518.652314365, "gridCoordinate": { "x": -42803349.50982598, "y": 19666560.728170916 }, "name": "quis commodo", "location": "Adapter", "locationType": "incididunt exercitation consectetur mollit", "app": "esse", "canvasName": "ullamco proident sed tempor dolore", "displayName": "cupidatat ut esse", "summary": "sint eiusmod veniam in proident", "description": "ullamco qui incididunt ipsum reprehenderit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/leMYK/M5GvYN6WG/BwP.G/~1/~0/af0" }, { "type": "encryption", "pointer": "/CZDNDK-x0u/~0/~1/ZQwk4s3qIf/TbY/rI3-/~1" }, { "type": "encryption", "pointer": "/Mk7./~1" }, { "type": "encryption", "pointer": "/~1/~0/~0/~0/FbdVRO1/HZCl7Pl8B/~0/oeks.QdRs9Q/~1/~1/eaBt" }, { "type": "encryption", "pointer": "/N9vh/~0/~1/~0/~1/Z2hoKLBXLZ" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "adipisicing Excepteur ea eiusmod fugiat", "highlightString": "ullamco" }, { "key": "aliqua deserunt", "highlightString": "ex ut commodo" } ], "status": "failure", "previous": { "incomplete": [ "error_handler", "error_handler" ], "complete": [ "workflow_start", "workflow_start" ], "error": [ "e28f", "workflow_end", "error_handler" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "revert" } ], "error": [ { "task": "3a1f", "type": "standard" } ] }, "serverId": "cupidatat esse in", "start_time": "1978-07-06T16:49:19.056Z", "end_time": 98329888.7240617, "finish_state": "success", "retrySettings": { "state": [ "success", "error" ], "autoRetry": true, "limit": 46455897, "delay": 56865193, "count": 55905204, "finishedRetrying": false }, "type": "manual", "view": "ut Ut enim" }, "groups": [ { "_id": "83a3b72c41784669ad8eaeaf", "provenance": "occaecat eu", "name": "eu in dolor quis aute", "description": "sit", "memberOf": [ { "groupId": "51c56630cee19fca120a0057", "aaaManaged": true }, { "groupId": "9ac7792c630251c1cac951b2", "aaaManaged": false }, { "groupId": "9fde5af002a83f49397e9755", "aaaManaged": false }, { "groupId": "1bd98499bbf20764eab5a0d7", "aaaManaged": true }, { "groupId": "95d980936f2dac976aa268ea", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sunt" }, { "roleId": "exercitation sit" }, { "roleId": "pariatur nostrud" } ], "inactive": true, "_meta": { "created": "2004-02-27T01:15:34.047Z", "updated": "2022-03-15T16:25:53.82Z", "migrationVersion": -91884655 } }, "default", "default", "default", { "_id": "bf653bd767cf81c5ea1c28ae", "provenance": "occaecat ut id", "name": "irure sit cupidatat aliqua veniam", "description": "laboris enim exercitation pariatur", "memberOf": [ { "groupId": "71c77a8bc2100a05673f3958", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "officia pariatur dolore" }, { "roleId": "nisi Lorem cillum" }, { "roleId": "enim exercitation" }, { "roleId": "labore" } ], "inactive": true, "_meta": { "created": "1993-12-26T01:42:42.726Z", "updated": "1981-01-06T09:56:52.264Z", "migrationVersion": 15442669 } } ], "watchers": [ { "_id": "8188d00963e79d814190d792", "provenance": "eiusmod anim consectetur dolore", "username": "quis Ut", "firstname": "dolor in ea exercitation", "memberOf": [ { "groupId": "db1dc7170c1e16a46a3345e2", "aaaManaged": false }, { "groupId": "3bb1dba993899868d081c1b3", "aaaManaged": false }, { "groupId": "e1b144a92a411330e856b4b1", "aaaManaged": false }, { "groupId": "28afade9649e753539d7d92b", "aaaManaged": true }, { "groupId": "bdf6fa158a601a550f2c7af5", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "tempor labore aliqua enim" } ], "inactive": false, "lastLogin": "1948-05-25T18:22:46.201Z", "_meta": { "created": "1972-09-25T19:15:38.393Z", "updated": "1961-07-22T04:40:24.089Z", "migrationVersion": 17450927 }, "email": "eu Excepteur" }, null, null, "8805af4127177a340163710b", "d3d5d26bb013f20226df09c5" ], "metrics": { "start_time": 66784385.867907256, "progress": 0.6112692233438064, "end_time": 68843664.3312771, "user": "9270061c24f20226eb2bae51", "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }