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": "commodo amet Duis" } }
{ "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": "7731873971395e7ffd2772eb", "font_size": -76027745, "type": "resource:action", "created": "1988-11-24T07:40:41.846Z", "last_updated": "1974-04-09T21:12:37.639Z", "createdVersion": "339402856.6763640.1", "lastUpdatedVersion": "14.78.84-0926.5954774.47072", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": 5816309, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 21212903.568674862, "sla": 1743129.3468416035, "decorators": [ { "type": "encryption", "pointer": "/~0/u" }, { "type": "encryption", "pointer": "/~1/~1/o.-WQAB/~1/~1/~1" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/~0/vOW/Ye0cyB/Nht9yHfvQu2/HznN37ypi2/~1/~1" } ], "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": "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": "laboris nostrud aliquip" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "ipsum esse est" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "nisi" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName" } ], "ancestors": [ "a46fdf54b29383caeb371db2", "9341ae06c06f76a17fb2c75a", "d4686092a3ff95783690c72d", "77ab6ceba23e376284685423", "ab856bb0bf59f497f7f2a385" ], "validationErrors": [ { "keyword": "esse consectetur aliquip veniam", "dataPath": "ex", "schemaPath": "fugiat", "message": "consequat consectetur amet magna Duis" } ], "created_by": null, "last_updated_by": null, "tasks": { "workflow_start": { "x": 90530781.18613982, "y": -49728141.045084715, "gridCoordinate": { "x": -27241854.665253714, "y": -22005775.664568096 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 19750945.506265, "finish_state": "error", "user": "Pronghorn" }, "groups": [ { "_id": "4648ada9ec44d0fd522070fe", "provenance": "non in et velit", "name": "ea", "description": "proident incididunt", "memberOf": [ { "groupId": "6f01b81ecb91158a6728afb1", "aaaManaged": true }, { "groupId": "319ccaf39a453079d4e6024b", "aaaManaged": false }, { "groupId": "c61d25fbfb3118955ec026db", "aaaManaged": true }, { "groupId": "c3e51877f5d66992e0cce916", "aaaManaged": true }, { "groupId": "f2c84c5d20f2c891f56a80ad", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore" } ], "inactive": false, "_meta": { "created": "1973-08-23T18:21:31.44Z", "updated": "2007-11-16T01:55:44.712Z", "migrationVersion": 22079421 } }, "a96ae9a4f80dfe9f615becf7", "default", { "_id": "f2b873ef94b868da6ecadbd6", "provenance": "anim do velit magna", "name": "magna", "description": "anim", "memberOf": [ { "groupId": "2077ae726fcf618d0c11e270", "aaaManaged": true }, { "groupId": "d4d7bacc2e23ff0892ba82ae", "aaaManaged": false }, { "groupId": "1ba2518f9a81394482e36698", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ullamco" }, { "roleId": "sint magna dolor non" }, { "roleId": "ut Lorem id enim" }, { "roleId": "in labore culpa id" }, { "roleId": "ea ad ut" } ], "inactive": false, "_meta": { "created": "1960-01-18T18:23:57.006Z", "updated": "1949-02-24T14:41:55.637Z", "migrationVersion": 96604249 } } ], "iterations": [] }, "workflow_end": { "x": -75375215.08474162, "y": 50204601.842512995, "gridCoordinate": { "x": 31899906.235798612, "y": 4699204.009402499 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_start", "error_handler" ], "complete": [ "workflow_start", "workflow_start", "3a1f" ], "error": [ "workflow_end", "3a1f" ] }, "metrics": { "end_time": -69344185.62029618, "run_time": 46616276.574412555 }, "groups": [ "67442004ec407b72adbf5e6a", "1c8c4774f090559517e250c1", "default", "default" ], "iterations": [ "29BAb88b-5D2f-A8D5-eff6-555442Bd2C4c" ] }, "error_handler": { "x": 30890828.87767063, "y": -25697970.05132614, "gridCoordinate": { "x": 66576377.12875885, "y": -9145066.72747834 }, "name": "childJob", "location": "Broker", "locationType": "qui voluptate", "app": "sint officia non dolore adipisicing", "canvasName": "elit labore", "displayName": "magna proident enim elit commodo", "summary": "veniam", "description": "Duis", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/te+hH/~1/~0/tFXNpEJJc/vo4B3Wz/~1" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "fugiat dolore nisi", "highlightString": "laboris minim fugiat magna sit" }, { "key": "aliqua pariatur eu ullamco", "highlightString": "dolore amet culpa" }, { "key": "do", "highlightString": "occaecat" }, { "key": "Excepteur sit proident nisi laboris", "highlightString": "voluptate" } ], "status": "incomplete", "previous": { "incomplete": [ "error_handler" ], "complete": [ "workflow_end", "error_handler", "3a1f", "workflow_start", "error_handler" ], "error": [ "workflow_end", "3a1f", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "loop" } ] }, "serverId": "laborum", "start_time": "1953-04-07T06:35:46.103Z", "end_time": -19521414.92939967, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "2fb85b9b9425988bf5a24800", "provenance": "Excepteur sint ex elit", "name": "aute irure incididunt", "description": "anim Lorem reprehenderit labore", "memberOf": [ { "groupId": "7efabef782ef85f16303f30b", "aaaManaged": true }, { "groupId": "2ebbcf747a03191cd31c695d", "aaaManaged": true }, { "groupId": "a4e23dfd3888aa3cc17dec60", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Excepteur sed" }, { "roleId": "incididunt qui sit minim fugiat" } ], "inactive": true, "_meta": { "created": "2002-04-25T08:36:27.381Z", "updated": "2020-08-11T09:40:56.769Z", "migrationVersion": -93524449 } }, { "_id": "af73b781fcdd17e2f30ac654", "provenance": "esse", "name": "occaecat quis commodo dolor", "description": "in", "memberOf": [ { "groupId": "2c3dd787eb724b01d5951f0a", "aaaManaged": false }, { "groupId": "260981bc9b0e4a2540707daa", "aaaManaged": false }, { "groupId": "3c8fea54a8d5274ac2fe1148", "aaaManaged": true }, { "groupId": "8948e337e87bed39afbfd6fe", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore esse tempor magna adipisicing" }, { "roleId": "dolor in consequat cillum" }, { "roleId": "fugiat sint in in ea" } ], "inactive": false, "_meta": { "created": "1958-07-21T04:05:49.915Z", "updated": "1998-08-02T00:44:40.09Z", "migrationVersion": -17743208 } } ], "iterations": [ "516B54dD-DAbf-B85c-c4bB-D66898E4cD86", "e67EC2DA-6B18-b89c-b9da-8c2Db79Da16A", "7EceEd05-Cd54-e3eE-Ee18-a637824E8292" ] }, "c": { "actor": null, "groups": [ { "_id": "4c9ffb58b8a1ca347183d845", "provenance": "ullamco labore deserunt et", "name": "ipsum occaecat aute adipisicing Ut", "description": "veniam", "memberOf": [ { "groupId": "a61041712cdb1547809044b1", "aaaManaged": true }, { "groupId": "2b27718738ae210994748fb1", "aaaManaged": false }, { "groupId": "59d490c135ef84fb619a55e0", "aaaManaged": false }, { "groupId": "94e88a17529ee73014eca8b1", "aaaManaged": true }, { "groupId": "0ea9e5ce47f368747727903b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ad elit" } ], "inactive": false, "_meta": { "created": "1966-06-20T09:32:33.232Z", "updated": "2013-05-27T10:43:10.839Z", "migrationVersion": -13641812 } }, "a190f2bbb85dd07428387e22", { "_id": "8dcec920795590070757f763", "provenance": "fugiat qui elit consequat et", "name": "Excepteur ea veniam sit ad", "description": "exercitation et laborum", "memberOf": [ { "groupId": "cbc7fa0f339f4e4a898b086a", "aaaManaged": false }, { "groupId": "b879774eb79f5141a89336e9", "aaaManaged": false }, { "groupId": "0e18de1e7212c5fe137b77cb", "aaaManaged": false }, { "groupId": "b980022d188c00126c610492", "aaaManaged": false }, { "groupId": "68b5cc97495f911c3777bf1a", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "officia culpa sit dolor labore" }, { "roleId": "eiusmod commodo" } ], "inactive": false, "_meta": { "created": "2013-06-23T22:03:14.568Z", "updated": "1987-10-26T20:14:44.049Z", "migrationVersion": -35802959 } }, "34dd3082f1b2bca0ce657e0c", "6bd3deb49fbeab25424e93b7" ], "iterations": [], "x": 37202313.35630801, "y": 43500074.21668103, "gridCoordinate": { "x": 56143655.98901281, "y": 47430355.439768136 }, "name": "cupidatat esse", "location": "Adapter", "locationType": "ex ut", "app": "deserunt", "canvasName": "childJob", "displayName": "voluptate sed ex do", "summary": "anim est ipsum non consequat", "description": "adipisicing pariatur eiusmod in", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/K5NG-/~1/f0IUR/~1/~1/Gw.7QgCUj/~0/FOoe4YK" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "esse in", "highlightString": "veniam labore" }, { "key": "labore officia commodo deserunt in", "highlightString": "culpa Ut velit" }, { "key": "aute commodo dolore amet", "highlightString": "in ullamco enim esse" }, { "key": "ea consectetur ipsum cillum nostrud", "highlightString": "officia" } ], "status": "failure", "previous": { "incomplete": [ "3a1f", "workflow_end", "workflow_end" ], "complete": [ "e28f", "error_handler" ], "error": [ "workflow_start", "3a1f", "workflow_start" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "nisi aute", "start_time": "1966-12-30T09:47:23.909Z", "end_time": -49404154.37549057, "finish_state": "success", "retrySettings": null, "loop": { "atLeastOneComplete": false, "finishedCount": -28940523.334953785, "outgoing": [ null ] }, "childJobs": [ { "_id": "do irure nisi", "name": "Lorem ut", "iteration": -81067575.08752014 } ] } }, "parent": { "task": "commodo Duis pariatur deserunt", "iteration": -4719780.185759515, "element": 19750989.57781771 }, "errorHandler": { "actor": "job", "groups": [ "default" ], "iterations": [ "0DAa84d1-BC4c-F719-CafD-9ED413EDab27" ], "x": -97248755.55296353, "y": 35957571.287353516, "gridCoordinate": { "x": 85494380.44597283, "y": 46039608.458978266 }, "name": "aute mollit pariatur irure amet", "location": "Broker", "locationType": "ex dolore dolor do", "app": "proident labore do aliquip", "canvasName": "childJob", "displayName": "qui consequat velit", "summary": "consectetur nostrud esse eiusmod", "description": "commodo ex ipsum aliqua nisi", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "aliqua Ut cupidatat", "highlightString": "aute Lorem quis" }, { "key": "Ut dolor commodo", "highlightString": "et laboris dolore amet cupidatat" }, { "key": "sint sit laborum aliquip est", "highlightString": "sunt et ut consequat sint" }, { "key": "veniam Ut dolore consectetur ex", "highlightString": "fugiat est voluptate" }, { "key": "in labore ut pariatur dolor", "highlightString": "est Lorem" } ], "status": "incomplete", "previous": { "incomplete": [ "error_handler" ], "complete": [ "3a1f", "workflow_start" ], "error": [ "workflow_end", "e28f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "loop" } ] }, "serverId": "nulla ullamco eiusmod", "start_time": "1986-07-28T19:56:23.803Z", "end_time": -33279449.15593788, "finish_state": "success", "retrySettings": null, "loop": { "atLeastOneComplete": true, "finishedCount": -47008090.214396335, "outgoing": [ null ] }, "childJobs": [ { "_id": "aliqua Excepteur sed dolor in", "name": "do non laborum ex", "iteration": 76030429.31419307 }, { "_id": "ipsum", "name": "eu", "iteration": -69823424.48751423 } ] }, "groups": [ "5f90a6e4186c3c8e9d26d3d4", { "_id": "a0815768a09dfe4b70ffbac8", "provenance": "consequat ea dolor Excepteur sint", "name": "tempor nostrud", "description": "dolor labore", "memberOf": [ { "groupId": "ae736093eb584c68b1e550d2", "aaaManaged": true }, { "groupId": "7c38699dad636e315c634c6e", "aaaManaged": false }, { "groupId": "8beb549508e10a3df1f48cc4", "aaaManaged": false }, { "groupId": "966a8f1a94b9bedb2645335f", "aaaManaged": false }, { "groupId": "e1ce70190bc0bf0425153cd3", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "id aliqua et" } ], "inactive": true, "_meta": { "created": "2015-03-14T05:02:55.042Z", "updated": "2011-02-04T03:30:36.542Z", "migrationVersion": -56015606 } } ], "watchers": [ null ], "metrics": { "start_time": -96019080.21709451, "progress": 0.10795321466764407, "end_time": 52167814.38188383, "user": null, "owner": "Pronghorn" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }