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": "adipisicing id pariatur magna sed" } }
{ "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": "2e66256b3521c277ed17ad72", "uuid": "77caff1e-6ed4-35e3-6205-77cce5e4ded2", "font_size": 76410249, "type": "automation", "created": "2021-01-09T23:15:02.277Z", "last_updated": "2005-08-19T16:06:02.911Z", "createdVersion": "083649.6110139716.31", "lastUpdatedVersion": "782074.058.2461-0036.701326.80881", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -97786119, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 82167792.68253279, "sla": -69271300.95186152, "decorators": [ { "type": "encryption", "pointer": "/~1/~0/VAWhS/~0" }, { "type": "encryption", "pointer": "/F+/~0/aRuu/jHX2pgNG/~0/~0/Ke5nM/~0" }, { "type": "encryption", "pointer": "/~1/tiMhE3L.ads/~0/~1/~0" } ], "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": "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": "magna dolor et sed fugiat" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "qui sed velit proident minim" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "consequat tempor cupidatat" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "aliqua cupidatat" } ], "ancestors": [ "105d29b4423877a70a9b57aa", "6f5ec8d2903673b5b046b150" ], "validationErrors": [ { "keyword": "occaecat ad consequat dolore cillum", "instancePath": "sunt occaecat sed", "schemaPath": "ex et fugiat", "message": "Ut Lorem ea laborum eu" }, { "keyword": "exercitation ullamco deserunt", "instancePath": "ex commodo tempor voluptate", "schemaPath": "Excepteur non velit Ut dolore", "message": "dolore in sunt Ut ea" }, { "keyword": "in adipisicing tempor sed", "instancePath": "veniam aliqua sit consequat tempor", "schemaPath": "aute magna nisi", "message": "ad culpa enim dolor adipisicing" }, { "keyword": "dolore minim velit nisi dolore", "instancePath": "reprehenderit laborum nostrud proident ipsum", "schemaPath": "cupidatat aliqua dolore exercitation occaecat", "message": "aliqua" } ], "created_by": "Pronghorn", "last_updated_by": { "_id": "e0f0bd617faa2d684007994e", "provenance": "ad", "username": "Excepteur ea qui dolore nisi", "firstname": "enim cupidatat aute minim nulla", "memberOf": [ { "groupId": "088c4e174e270975af931f76", "aaaManaged": true }, { "groupId": "db9993ecfe9eb610ee060f35", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "minim" }, { "roleId": "reprehenderit dolor veniam" }, { "roleId": "proident adipisicing" } ], "inactive": true, "lastLogin": "1963-06-05T22:00:07.013Z", "_meta": { "created": "1982-10-12T00:42:18.912Z", "updated": "1981-02-04T11:28:47.938Z", "migrationVersion": -27793067 }, "email": "ut quis anim officia ut" }, "tasks": { "workflow_start": { "x": 35744272.80355942, "y": 69752851.35163194, "gridCoordinate": { "x": -93211822.74887586, "y": 91638772.54228652 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 84523191.0862923, "finish_state": "error", "user": "Pronghorn" }, "groups": [ "default" ], "iterations": [ "53EDe5cD-db02-4DAd-Fb5D-Ed102c8c463a", "c9F4cD9E-6e94-6FAe-dE5f-4A5dFfDFfc4E", "EF7868Cb-d76b-e1AA-2d6e-51e2504Cd2Be" ] }, "workflow_end": { "x": 21378468.568328872, "y": -89480208.50991787, "gridCoordinate": { "x": 41750724.17713231, "y": 55129398.36045954 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "3a1f" ], "complete": [ "workflow_start", "3a1f", "workflow_start", "workflow_start" ], "error": [ "workflow_end", "error_handler", "workflow_start", "error_handler", "error_handler" ] }, "metrics": { "end_time": -5427301.177169815, "run_time": 35687574.467754245 }, "groups": [ { "_id": "ae8bd4e5787da31ea0557297", "provenance": "est non ad dolore", "name": "reprehenderit incididunt aliqua quis", "description": "nostrud voluptate", "memberOf": [ { "groupId": "dba53910372dafb9586823f1", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in nisi labore" } ], "inactive": false, "_meta": { "created": "1997-02-12T15:15:24.864Z", "updated": "1975-11-10T17:37:37.822Z", "migrationVersion": 87283804 } }, "2ea90a4fdff06c95622c86e6", { "_id": "9a5bd6fa977e364ea228fa51", "provenance": "in elit officia", "name": "ipsum Ut irure magna eu", "description": "cupidatat adipisicing culpa amet", "memberOf": [ { "groupId": "38516a35dc6425f4f900b6ed", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "occaecat laborum nulla eiusmod" }, { "roleId": "amet enim" }, { "roleId": "elit" }, { "roleId": "eiusmod non" }, { "roleId": "ex in sit sint" } ], "inactive": false, "_meta": { "created": "2009-05-03T18:33:52.808Z", "updated": "2019-04-27T14:42:31.193Z", "migrationVersion": -80331583 } } ], "iterations": [ "72B04f4f-Dea1-3Bd3-9BfF-75C4CE7cfdBC" ] }, "error_handler": { "x": 33210719.514725804, "y": 12938834.067305073, "gridCoordinate": { "x": -2793221.9469517916, "y": -5593700.635595411 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "qui aute amet laboris", "canvasName": "mollit dolor deserunt", "displayName": "commodo voluptate cupidatat", "summary": "laboris", "description": "Lorem", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/OAsBYHSh/~1/~1/ido3h/bKJOR6de/a.wH+GNH/nNoSrevG/~1/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "dolor ut", "highlightString": "aute consectetur aliqua" }, { "key": "adipisicing laborum sunt voluptate Ut", "highlightString": "ut" }, { "key": "dolore deserunt tempor", "highlightString": "pariatur ut" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start", "workflow_start", "workflow_start", "3a1f", "workflow_start" ], "complete": [ "workflow_start", "workflow_end" ], "error": [ "error_handler", "e28f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "ex", "start_time": "1983-07-18T21:33:09.579Z", "end_time": -58135976.07617433, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": { "_id": "59233bcab3caa0dbb8e2978a", "provenance": "deserunt incididunt eu", "username": "quis aliquip proident Excepteur", "firstname": "reprehenderit in ipsum", "memberOf": [ { "groupId": "6604cb89475f6e46ac7d815f", "aaaManaged": false }, { "groupId": "3ad1926238b1b979b8879bdc", "aaaManaged": false }, { "groupId": "66962beec797254d7d068d12", "aaaManaged": true }, { "groupId": "f1aa6510556ca0c3aaf0131b", "aaaManaged": false }, { "groupId": "63689400cb5d92cce60f3117", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sed eu" }, { "roleId": "tempor irure culpa velit sit" }, { "roleId": "Lorem exercitation in" }, { "roleId": "qui eiusmod" }, { "roleId": "tempor Lorem" } ], "inactive": true, "lastLogin": "1948-02-05T08:08:14.752Z", "_meta": { "created": "2024-05-11T09:48:19.697Z", "updated": "1960-09-29T10:09:29.671Z", "migrationVersion": 89749245 }, "email": "ipsum enim mollit" }, "groups": [ "default", "default", { "_id": "5af9401ca9d4742501ba8425", "provenance": "nostrud dolore enim", "name": "adipisicing irure cupidatat laboris", "description": "Excepteur non quis dolore", "memberOf": [ { "groupId": "44b7548e1f938a7b7f4afb2d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "do qui elit occaecat" }, { "roleId": "officia qui et" }, { "roleId": "aliqua" }, { "roleId": "incididunt sunt" } ], "inactive": false, "_meta": { "created": "2024-07-19T22:06:19.806Z", "updated": "2017-12-11T06:00:16.977Z", "migrationVersion": 55174347 } }, "c36557d3149c91d9bd001e3f", { "_id": "b4ab716858796b6d555e3078", "provenance": "in ex", "name": "exercitation incididunt", "description": "non", "memberOf": [ { "groupId": "9c9e012f4a0d9d92a77648ae", "aaaManaged": false }, { "groupId": "ddce5861d00f9810366e763d", "aaaManaged": true }, { "groupId": "33f49997eb750ae28f4f0359", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "quis commodo proident Ut" }, { "roleId": "ea in est voluptate Excepteur" }, { "roleId": "Lorem veniam id sunt nulla" }, { "roleId": "id in" }, { "roleId": "dolor fugiat magna" } ], "inactive": true, "_meta": { "created": "1984-09-25T22:48:19.91Z", "updated": "1954-12-24T08:44:45.514Z", "migrationVersion": -37116141 } } ], "iterations": [] }, "46f": { "actor": "Pronghorn", "groups": [ { "_id": "c5672068d17ad86dfee011b0", "provenance": "enim non laborum", "name": "pariatur nostrud cupidatat non", "description": "eiusmod", "memberOf": [ { "groupId": "5aae477e5eeaca6458bc86aa", "aaaManaged": false }, { "groupId": "bdb2ee1864571303085be862", "aaaManaged": true }, { "groupId": "bf6a2fc1d2845f0f66653fa4", "aaaManaged": true }, { "groupId": "4070b6bea9263c021579ba44", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "amet non cillum culpa sit" }, { "roleId": "in veniam nostrud" }, { "roleId": "irure pariatur ad" } ], "inactive": false, "_meta": { "created": "1974-01-27T02:30:53.443Z", "updated": "1992-04-02T04:31:47.667Z", "migrationVersion": 25403033 } } ], "iterations": [ "bA9b792F-c70d-2bc7-dcBc-1D6da4dbdb6a", "Be5afa6e-3Af0-3c09-b6A4-B1ec37DaFDf7", "7dE81abF-36f8-aAcb-E571-3f0B94C9d365" ], "x": 49757878.654824495, "y": 94780803.38221297, "gridCoordinate": { "x": 32107851.842373595, "y": 51395990.01437393 }, "name": "aute Duis minim", "location": "Application", "locationType": null, "app": "aute", "canvasName": "consequat elit", "displayName": "laborum esse", "summary": "Ut in qui", "description": "laborum incididunt velit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~1/B4y70" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "in quis sed ut", "highlightString": "laboris aute veniam" } ], "status": "running", "previous": { "incomplete": [ "workflow_end" ], "complete": [ "3a1f", "3a1f", "3a1f", "error_handler" ], "error": [ "workflow_end", "workflow_end", "workflow_start", "workflow_end" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "workflow_end", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "loop" } ] }, "serverId": "fugiat non adipisicing dolor", "start_time": "1953-01-08T11:19:44.819Z", "end_time": 48760213.70545414, "finish_state": "error", "retrySettings": null, "type": "automatic" } }, "parent": { "task": "ipsum proident ex deserunt", "iteration": 5372711.115930557, "element": 2086076.3608427942 }, "errorHandler": null, "groups": [ { "_id": "eb99452da413e5c3efe694d8", "provenance": "quis dolore eu", "name": "consequat et irure laborum ipsum", "description": "fugiat in", "memberOf": [ { "groupId": "08d62cc7489d5de452338621", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "adipisicing consectetur" }, { "roleId": "est mollit" }, { "roleId": "sint anim nostrud ut do" } ], "inactive": false, "_meta": { "created": "1967-11-22T04:27:48.792Z", "updated": "2026-02-15T08:56:58.271Z", "migrationVersion": 44480491 } } ], "watchers": [ "Pronghorn" ], "metrics": { "start_time": 18789885.93847026, "progress": 0.08659849542161258, "end_time": -39205699.7897884, "user": null, "owner": { "_id": "37e76a8495ff74525f705343", "provenance": "Excepteur veniam deserunt", "username": "irure", "firstname": "adipisicing", "memberOf": [ { "groupId": "be15d8ce8df7ad2ebab534b6", "aaaManaged": true }, { "groupId": "a40f3f6d6232ebf90e3d5f26", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "occaecat culpa ut minim qui" }, { "roleId": "veniam enim" }, { "roleId": "pariatur" }, { "roleId": "Lorem consectetur" } ], "inactive": false, "lastLogin": "1954-10-13T21:30:17.548Z", "_meta": { "created": "1984-10-10T19:02:25.544Z", "updated": "1980-11-17T22:03:39.481Z", "migrationVersion": -64814229 }, "email": "laborum eu nulla ullamco labore" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }