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": "irure qui consectetur nostrud in" } }
{ "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": "87d974c346e5e01930c99ab6", "uuid": "c6d11ec3-8333-ea9a-cdd4-f45add33a363", "font_size": -6905408, "type": "automation", "created": "2006-04-12T05:37:25.524Z", "last_updated": "2012-11-07T00:14:14.939Z", "createdVersion": "5230.15607.4-6439.780.28781749", "lastUpdatedVersion": "876.1543030.77292921-0973.34.5572012.90", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 60985824, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 76167951.05375966, "sla": -861398.5035278201, "decorators": [ { "type": "encryption", "pointer": "/bE/aIJHfA65/Js/pbf+K/eAuq+02Ll/Dp+JeV,kY/~1/plAD2EJh-S/~1/S8z+v" }, { "type": "encryption", "pointer": "/~1/~1/~1/~1/~0" }, { "type": "encryption", "pointer": "/lmc3TyS/~0" }, { "type": "encryption", "pointer": "/jNtBoajq/jk8jaJky/~0/gt/W9P7i4d" } ], "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": "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": "workflow_start", "name": "myCoolDocumentName", "message": "mollit Excepteur deserunt Lorem" }, { "task": "e28f", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "laboris" } ], "ancestors": null, "validationErrors": [ { "keyword": "qui velit esse", "instancePath": "aliqua veniam", "schemaPath": "sint anim ullamco id", "message": "cupidatat laboris aliqua ex" }, { "keyword": "sint Ut cupidatat ea ut", "instancePath": "ea sit pariatur in", "schemaPath": "non sint", "message": "ipsum nostrud" } ], "created_by": "a491edf846b02b05ce5092fc", "last_updated_by": "Pronghorn", "tasks": { "9": { "actor": "96c5d3aab07ab0d9185449e6", "groups": [ "default", "default", { "_id": "4a38f56445bfbfca3cfcdc13", "provenance": "ex fugiat Ut cillum", "name": "labore dolore aliqua veniam pariatur", "description": "non incididunt magna minim ad", "memberOf": [ { "groupId": "34312f5634a13dd46167d25f", "aaaManaged": true }, { "groupId": "3760540627b1d81a6c2e77b5", "aaaManaged": true }, { "groupId": "322c9eec90e6029d271693c3", "aaaManaged": true }, { "groupId": "77681aae488c83616458dd0b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore anim et nostrud" }, { "roleId": "mollit ut commodo laboris" } ], "inactive": false, "_meta": { "created": "2002-03-20T22:56:27.743Z", "updated": "1996-11-06T03:00:01.295Z", "migrationVersion": -71491690 } }, "default" ], "iterations": [ "23FEA7ce-65Fb-BbF7-bbeF-A716a9cac9CE", "7BB8CE66-e5fe-De74-B769-dd20C3E82360" ], "x": -59832299.71943493, "y": 13583532.83936733, "gridCoordinate": { "x": 22270371.997110054, "y": 19883739.82254213 }, "name": "minim velit do culpa dolore", "location": "Adapter", "locationType": "Duis magna reprehenderit", "app": "ea Ut proident in id", "canvasName": "childJob", "displayName": "cupidatat irure est fugiat", "summary": "quis ut deserunt", "description": "voluptate", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/P5ms/.Ukwrt/KDuWl/" }, { "type": "encryption", "pointer": "/~0/XvdsD/~1/Qa/BDCK3A3IX/~0" }, { "type": "encryption", "pointer": "/D8u-ITuw/~0/rFESbx/PIkmU3-D/ec5-+TTNC/~0/Im3/~1/~1/u/qJV7/jo6O4YF.X" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "fugiat", "highlightString": "amet cillum do quis Ut" }, { "key": "qui ipsum ad ex", "highlightString": "Lorem consectetur" }, { "key": "nulla", "highlightString": "aliqua amet" }, { "key": "irure fugiat", "highlightString": "cupidatat nostrud ut velit" } ], "status": "incomplete", "previous": { "incomplete": [ "error_handler", "workflow_end", "error_handler", "error_handler", "workflow_start" ], "complete": [ "workflow_start" ], "error": [ "error_handler", "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "loop" } ] }, "serverId": "officia anim", "start_time": "2013-02-27T12:50:09.733Z", "end_time": -77196843.02619703, "finish_state": "success", "retrySettings": null, "loop": { "atLeastOneComplete": true, "finishedCount": -13491250.264176145, "outgoing": [] }, "childJobs": [ { "_id": "ullamco ea ut officia", "name": "Excepteur", "iteration": -5808293.752288178 }, { "_id": "in", "name": "velit ea", "iteration": -56415850.23338127 } ] }, "workflow_start": { "x": 518043.12478753924, "y": -25068755.007827148, "gridCoordinate": { "x": -50523679.70224232, "y": 75426138.21980333 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 78144582.15561032, "finish_state": "failure", "user": "2801b900777704fb5860df87" }, "groups": [ { "_id": "1df8951a906742ea75863770", "provenance": "cillum adipisicing tempor cupidatat", "name": "tempor Lorem ad", "description": "sint", "memberOf": [ { "groupId": "d60d9ec7e793f3503840b06a", "aaaManaged": true }, { "groupId": "a3883ad4bf2b0c69c18fe3a0", "aaaManaged": false }, { "groupId": "5c420d11feec448c1d1f48f9", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolor in eu magna" } ], "inactive": true, "_meta": { "created": "2000-02-12T07:13:17.42Z", "updated": "1986-02-15T03:55:29.247Z", "migrationVersion": 18819087 } }, { "_id": "b8ab6931bccf7853e8922945", "provenance": "laboris", "name": "enim laborum qui tempor ut", "description": "Excepteur ad", "memberOf": [ { "groupId": "a3168fb2cd2c682a464791b3", "aaaManaged": false }, { "groupId": "dbaf5f77002ab606ab77e7cd", "aaaManaged": true }, { "groupId": "d99c6baca249184bcf8a4893", "aaaManaged": true }, { "groupId": "787a478f5338a39fba8ef48e", "aaaManaged": false }, { "groupId": "36b483e1e809e5ae980ff7aa", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore laborum consequat" }, { "roleId": "pariatur dolore" }, { "roleId": "sint laboris nostrud ut" }, { "roleId": "exercitation dolore dolor nostrud" } ], "inactive": false, "_meta": { "created": "1989-10-26T00:03:56.021Z", "updated": "2025-09-29T02:55:06.826Z", "migrationVersion": 20634631 } } ], "iterations": [ "FCcC6EA6-19e3-80c5-5Cc9-d8cF4DC1f4dA" ] }, "workflow_end": { "x": -98685921.33431569, "y": 82471910.67807621, "gridCoordinate": { "x": 71857993.94160858, "y": -68810364.64242443 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "3a1f", "workflow_start", "workflow_start", "workflow_start" ], "complete": [ "e28f", "workflow_start", "workflow_start" ], "error": [ "e28f" ] }, "metrics": { "end_time": -21436875.562183917, "run_time": -17887093.656442806 }, "groups": [ { "_id": "63c0ea74a91a5bab61d92489", "provenance": "sint", "name": "officia aute", "description": "dolor minim ut ea in", "memberOf": [ { "groupId": "1c0e7004bf81577b992e13ac", "aaaManaged": false }, { "groupId": "243f89ee4e55d42603a44668", "aaaManaged": true }, { "groupId": "5d610457f66c7c64598509b8", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "minim ex dolor" }, { "roleId": "sunt qui" }, { "roleId": "Excepteur ut dolor" }, { "roleId": "reprehenderit nulla pariatur" } ], "inactive": true, "_meta": { "created": "1991-02-11T11:08:45.3Z", "updated": "2008-09-28T04:32:19.331Z", "migrationVersion": -7726975 } } ], "iterations": [ "07bceCE7-3dDe-4AA3-78f1-15f81b3BF35D", "bba613fa-2deA-290E-3B5D-dbEDa7Fd5ecE" ] }, "error_handler": { "x": -34342432.83883896, "y": -56036334.113604404, "gridCoordinate": { "x": -50146377.64617604, "y": 70988527.81432113 }, "name": "childJob", "location": "Application", "locationType": "aliqua voluptate ut nulla laborum", "app": "id veniam", "canvasName": "ad ea adipisicing", "displayName": "commodo sunt", "summary": "in", "description": "ut officia consequat", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/x6S2q" }, { "type": "encryption", "pointer": "/~0/~0/~1/~0/~0/Gv/~1/~0/~1" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "velit sint Ut dolor", "highlightString": "ipsum exercitation" }, { "key": "adipisicing consequat", "highlightString": "velit Duis aliquip nulla" }, { "key": "est eu laborum", "highlightString": "cupidatat consectetur sint magna" }, { "key": "velit Ut sit adipisicing", "highlightString": "eiusmod" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_end", "workflow_start", "error_handler", "e28f" ], "complete": [ "workflow_start", "workflow_start" ], "error": [ "3a1f", "workflow_start", "workflow_start", "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "qui", "start_time": "1987-07-08T16:18:31.632Z", "end_time": -41637065.026815675, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "9878ecf6cfdd978dc30381a7", "e7f0f2ddb2201918ce85d729", "0f418d1dabb3a74195a555b8" ], "iterations": [ "9ABAeED2-26fc-EEc3-bDaB-09fb2335Aa5a", "8bC5C0f1-50E9-e6Bc-b5A0-E9B7FcaBb3Af", "6708b749-339E-ec2A-bE50-20510E0Fa16b" ] } }, "parent": { "task": "aliquip Excepteur dolore eu", "iteration": -33573087.42548182, "element": -28116434.68626617 }, "errorHandler": null, "groups": [ { "_id": "ca3cd6d2be1bbbd1ae36e4e8", "provenance": "in", "name": "nostrud reprehenderit pariatur minim incididunt", "description": "id in commodo", "memberOf": [ { "groupId": "2322ed664d6618499faa2dca", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "veniam ex" }, { "roleId": "officia" }, { "roleId": "laboris ut" }, { "roleId": "dolore" }, { "roleId": "dolore culpa Ut consequat" } ], "inactive": true, "_meta": { "created": "2015-12-16T15:56:47.227Z", "updated": "2015-09-24T21:46:42.651Z", "migrationVersion": 8682145 } }, { "_id": "daf2df43572ff7b1b94789ff", "provenance": "nostrud ut Ut", "name": "sint in nisi voluptate minim", "description": "Duis tempor quis", "memberOf": [ { "groupId": "3e35c35c0ce0ea4994705f03", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Duis aliqua do in elit" } ], "inactive": false, "_meta": { "created": "1971-11-02T13:45:15.463Z", "updated": "1985-04-10T14:42:09.532Z", "migrationVersion": -64132452 } } ], "watchers": [ null, { "_id": "0f88bbbc889c5d443b0d209c", "provenance": "reprehenderit dolor", "username": "pariatur in irure sit", "firstname": "dolore in esse tempor ad", "memberOf": [ { "groupId": "291149d90123162a3613ebcd", "aaaManaged": false }, { "groupId": "3efc24b56df8372bd5a3bbee", "aaaManaged": true }, { "groupId": "36613ca21593d8e23acd7bc0", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sed ut dolore" }, { "roleId": "velit veniam" }, { "roleId": "incididunt est dolore ipsum cillum" }, { "roleId": "et anim" }, { "roleId": "ut irure" } ], "inactive": true, "lastLogin": "2019-06-16T19:14:07.439Z", "_meta": { "created": "1990-04-01T00:31:51.622Z", "updated": "2006-07-27T05:14:40.4Z", "migrationVersion": -56514848 }, "email": "dolor incididunt dolore" }, { "_id": "7db4283774dd6e626ef2e89b", "provenance": "non laboris ea dolor", "username": "nisi", "firstname": "sunt proident voluptate sit", "memberOf": [ { "groupId": "3005d41309c77df87e3f4e8e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "exercitation" }, { "roleId": "sunt incididunt ea" }, { "roleId": "ullamco et aute in culpa" }, { "roleId": "magna aliqua" } ], "inactive": true, "lastLogin": "1965-11-01T22:58:31.276Z", "_meta": { "created": "2014-09-10T15:39:06.31Z", "updated": "1956-01-10T17:19:05.353Z", "migrationVersion": -34900532 }, "email": "deserunt" } ], "metrics": { "start_time": 49754337.65587938, "progress": 0.31067573603383214, "end_time": 78195073.10105053, "user": "b43ae8043990188f83a20dda", "owner": { "_id": "c66ae6663c8942a4e52163bb", "provenance": "est", "username": "ut cillum proident", "firstname": "cupidatat sit", "memberOf": [ { "groupId": "468a24e1058324ad374e4363", "aaaManaged": false }, { "groupId": "285c5980cfff2d583c7251f2", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "est in fugiat laboris incididunt" }, { "roleId": "sed culpa laborum sunt elit" }, { "roleId": "cillum" } ], "inactive": false, "lastLogin": "1977-11-28T19:33:23.035Z", "_meta": { "created": "2004-10-20T17:15:39.781Z", "updated": "1987-02-07T00:24:45.529Z", "migrationVersion": 27969709 }, "email": "incididunt" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }