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": "ut occaecat ut nulla dolor" } }
{ "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": "12f2a634f054f82ce6c300fb", "font_size": -90640515, "type": "automation", "created": "2003-05-04T13:56:32.469Z", "last_updated": "2009-06-04T04:14:56.059Z", "createdVersion": "43605478.80.4390684103-4013.5374.1859446", "lastUpdatedVersion": "25930885.9041763.115600-2894.79.2217239.0751387", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 13113411, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 54293967.73952922, "sla": -70512767.71696049, "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~1/yejyVG/~1" }, { "type": "encryption", "pointer": "/~1/~1/YkTAcd/~1/pgo.HvPIDu/~1/~0/~1" }, { "type": "encryption", "pointer": "/uj8uC/FcMN/~0/~0/~0/DgTJ/~1/R0NMra8/~1/tW4ZLqZ" }, { "type": "encryption", "pointer": "/~1/oE//V/apbn-,u/~1/kvoeMH/~1/xLMz4KZj/k" }, { "type": "encryption", "pointer": "/k/~0/~1/NWciBy" } ], "status": "error", "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", "message": "non do elit et magna" } ], "ancestors": null, "validationErrors": [ { "keyword": "in id", "dataPath": "nostrud pariatur quis", "schemaPath": "ad ut veniam nostrud deserunt", "message": "deserunt" } ], "created_by": "75f977e11705f5458bc8b791", "last_updated_by": "9fe089f09756526da3d43d4d", "tasks": { "workflow_start": { "x": 96035497.27772456, "y": -86968952.35429233, "gridCoordinate": { "x": 7854934.392678812, "y": -73802213.29610822 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -84082211.27753332, "finish_state": "error", "user": null }, "groups": [ "ed89797c9723f46541bf0d7e", "96dfb897e5e182f1a45b758e", { "_id": "a9f55ff0cf69d9d6e8e91cc4", "provenance": "proident dolore", "name": "sit adipisicing", "description": "ipsum elit aliquip", "memberOf": [ { "groupId": "eb1ec1b2a68f5363c8623727", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Lorem laboris ad eu" }, { "roleId": "elit quis incididunt dolore" }, { "roleId": "cillum exercitation" } ], "inactive": false, "_meta": { "created": "1992-11-29T14:57:35.876Z", "updated": "1988-05-21T13:04:11.11Z", "migrationVersion": 94593571 } } ], "iterations": [ "B5b2ae65-cB9A-351E-B434-B739b0e36ad6" ] }, "workflow_end": { "x": -29976624.37681727, "y": -64332018.124516785, "gridCoordinate": { "x": 90699909.90319666, "y": 63785846.95310545 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "workflow_end", "workflow_start", "workflow_start", "e28f" ], "complete": [ "workflow_start", "e28f", "workflow_start", "error_handler", "3a1f" ], "error": [ "workflow_start", "error_handler" ] }, "metrics": { "end_time": -82113383.15122512, "run_time": 10617940.486421019 }, "groups": [ "default", "default", { "_id": "c705b0d7f451cd78352a71f2", "provenance": "sit culpa aute", "name": "et est", "description": "sint mollit aute", "memberOf": [ { "groupId": "e4b712ad18622c87e84d15c0", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliquip dolor id" } ], "inactive": false, "_meta": { "created": "1990-08-21T06:17:55.151Z", "updated": "2025-12-11T12:53:45.444Z", "migrationVersion": -86517540 } }, { "_id": "51400bd5ecc2828526942c6e", "provenance": "sint anim fugiat officia", "name": "nisi", "description": "incididunt amet nostrud aliqua ipsum", "memberOf": [ { "groupId": "221ced20f3592e8ce5871d81", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eu consequat Excepteur" }, { "roleId": "est deserunt ut" }, { "roleId": "sed esse ullamco elit dolor" }, { "roleId": "voluptate consequat in cillum" } ], "inactive": true, "_meta": { "created": "1961-08-16T13:49:14.332Z", "updated": "2019-12-29T01:28:49.001Z", "migrationVersion": 79277545 } }, "default" ], "iterations": [ "CBAe214c-8c10-9fBA-96ad-5A6b4FbdA3e6", "fECe28a2-4a14-95CC-742d-B3B60BAdbA39" ] }, "error_handler": { "x": -87977306.13123243, "y": 43136843.71069351, "gridCoordinate": { "x": -1541969.1259668618, "y": 24750903.338647097 }, "name": "childJob", "location": "Application", "locationType": null, "app": "eu", "canvasName": "ad pariatur", "displayName": "id ipsum", "summary": "ea Excepteur", "description": "adipisicing sunt", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/MwE1/At/q+,H-Ky3.GS/~0" }, { "type": "encryption", "pointer": "/~1/djb3-/D61vWhJKVg/~1/~0/~1/~1/w4f+" }, { "type": "encryption", "pointer": "/~1/SJbJWy/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "sit irure sint quis", "highlightString": "Excepteur aliqua nostrud irure proident" }, { "key": "cupidatat eu est aliquip", "highlightString": "sit veniam velit tempor elit" }, { "key": "ea", "highlightString": "enim veniam consectetur ut et" }, { "key": "aliqua eu nulla ut", "highlightString": "reprehenderit sit aliqua eu nostrud" } ], "status": "running", "previous": { "incomplete": [ "workflow_end", "workflow_start" ], "complete": [ "workflow_start", "3a1f", "workflow_start", "3a1f", "3a1f" ], "error": [ "3a1f", "3a1f", "error_handler", "workflow_start", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "loop" } ] }, "serverId": "in dolore amet dolore eiusmod", "start_time": "1982-09-12T18:00:42.906Z", "end_time": 8387942.006080255, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": { "_id": "390e180a66b11dc84bbc8a7f", "provenance": "dolor nulla", "username": "qui pariatur ut", "firstname": "deserunt in", "memberOf": [ { "groupId": "940c9e837a3b6e4954f38cbc", "aaaManaged": false }, { "groupId": "5354b28fc4b3bad3f7873d32", "aaaManaged": true }, { "groupId": "979ad6b8bfe83efb360da8bb", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ad nulla sint" }, { "roleId": "sint aliqua aute pariatur" }, { "roleId": "nisi dolor" }, { "roleId": "incididunt amet nulla minim" }, { "roleId": "ea irure nisi" } ], "inactive": true, "lastLogin": "1948-08-05T17:48:21.992Z", "_meta": { "created": "1948-11-03T20:54:49.226Z", "updated": "1987-04-01T23:01:44.66Z", "migrationVersion": 98769008 }, "email": "Duis nisi sunt fugiat est" }, "groups": [ { "_id": "ca3948101748951563cb4a82", "provenance": "in", "name": "labore", "description": "adipisicing minim labore qui laboris", "memberOf": [ { "groupId": "f8fea151dd887f7954f31553", "aaaManaged": false }, { "groupId": "f3047dac5def034451c35d3a", "aaaManaged": false }, { "groupId": "0116cadffbe493e5bfc519c7", "aaaManaged": true }, { "groupId": "b36ae519c50b36f64c124b7c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eu ipsum sint irure ex" }, { "roleId": "dolor dolore deserunt" }, { "roleId": "sed amet eu occaecat elit" }, { "roleId": "ex" } ], "inactive": true, "_meta": { "created": "1972-11-30T19:01:54.601Z", "updated": "1955-11-08T18:04:40.809Z", "migrationVersion": 49615597 } }, { "_id": "c78ac9dd5567c7310d5dc1c4", "provenance": "irure", "name": "Lorem", "description": "anim cillum nisi", "memberOf": [ { "groupId": "9abd3105f5c5a864ba139802", "aaaManaged": true }, { "groupId": "0197827f0eaf1ab724ef3b8c", "aaaManaged": true }, { "groupId": "36511f1e5729206791497de1", "aaaManaged": true }, { "groupId": "07040484af7624ed60e9d2dc", "aaaManaged": true }, { "groupId": "88822353b08697fbf44f7eb4", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "anim quis dolore" }, { "roleId": "occaecat" }, { "roleId": "ad" } ], "inactive": true, "_meta": { "created": "2014-07-28T17:55:09.366Z", "updated": "1984-04-29T15:59:26.052Z", "migrationVersion": 9504966 } }, "9feb1727a29754da21af6453" ], "iterations": [ "f24E4eD7-05Cb-9AEF-9fae-9ee272BFE673" ] }, "b": { "actor": { "_id": "cec8ed719d230fa1b59046e5", "provenance": "ex ea", "username": "proident tempor dolore esse consequat", "firstname": "reprehenderit in", "memberOf": [ { "groupId": "40cf6ca03decbc15e3385772", "aaaManaged": true }, { "groupId": "25eb0fe32f09d378580137b2", "aaaManaged": true }, { "groupId": "1319e3611c6543e8fbd7999c", "aaaManaged": false }, { "groupId": "288f84fbfe1cf94f8162b549", "aaaManaged": false }, { "groupId": "d308e8bac2d3f46121cf4ba0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "culpa cupidatat adipisicing incididunt nisi" } ], "inactive": true, "lastLogin": "2016-11-14T08:17:01.246Z", "_meta": { "created": "1951-05-02T14:11:32.234Z", "updated": "1965-02-12T10:36:31.559Z", "migrationVersion": 21253078 }, "email": "magna et sit nostrud" }, "groups": [ "5fbe37941bd340aff7008b54" ], "iterations": [ "4D7AAd18-0e11-4F6b-0768-B27dC29eECCA", "71eDfCD4-650d-73C8-c2BE-9Fd95c3a2fB3", "82FBc9D6-1a8b-cF63-C8c4-Daa8716FD641" ], "x": -99716204.77165346, "y": 10553014.44389683, "gridCoordinate": { "x": 21844223.287202343, "y": 60035178.4911651 }, "name": "eiusmod nostrud in aliqua", "location": "Application", "locationType": "sunt elit aliquip culpa Lorem", "app": "Ut", "canvasName": "aute", "displayName": "aliquip velit", "summary": "in veniam proident nulla non", "description": "eiusmod cupidatat in elit ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/Vg2I/~0/znh/R2/ww0d2ED+-" }, { "type": "encryption", "pointer": "/aPYi8E/lZ/~0/~0/~1" }, { "type": "encryption", "pointer": "/p32jiup7/RBUPYIeM//~1/~0" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "ullamco Duis", "highlightString": "incididunt" }, { "key": "irure ullamco", "highlightString": "sit consequat consectetur" }, { "key": "in id aliqua", "highlightString": "dolor dolor voluptate" }, { "key": "nulla tempor mollit", "highlightString": "nulla dolor reprehenderit Ut" }, { "key": "eu velit labore", "highlightString": "labore" } ], "status": "running", "previous": { "incomplete": [ "3a1f", "workflow_start", "error_handler", "error_handler", "error_handler" ], "complete": [ "workflow_start" ], "error": [ "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_end", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "loop" } ], "error": [ { "task": "error_handler", "type": "standard" } ] }, "serverId": "cillum ut", "start_time": "1970-01-05T03:51:39.831Z", "end_time": 40992123.967835724, "finish_state": "error", "retrySettings": { "state": [ "failure", "failure", "error", "failure" ], "autoRetry": false, "limit": 20816229, "delay": 10520924, "count": 38175253, "finishedRetrying": true }, "type": "manual", "view": "officia cillum" } }, "parent": { "task": "est", "iteration": 45531241.5414134, "element": 3180926.3009717166 }, "errorHandler": { "actor": "job", "groups": [ "default", "f8dd53822d756ddbecd20279", "7f7ee76e9f5e84c923047e3a", { "_id": "229cff92d8a6a583f32a5b54", "provenance": "aliquip sit eu", "name": "ut do", "description": "minim", "memberOf": [ { "groupId": "261d8842ace5e5f0337ae8f2", "aaaManaged": true }, { "groupId": "70bda773ccd38e172005c78a", "aaaManaged": false }, { "groupId": "d9eafe47f49e61a1b55a8fc5", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "anim occaecat eiusmod in" }, { "roleId": "qui sed minim" } ], "inactive": true, "_meta": { "created": "1954-08-27T11:19:38.298Z", "updated": "2010-11-13T02:08:31.014Z", "migrationVersion": -61699441 } }, "default" ], "iterations": [ "a0C2AfF4-A9Ab-c8Ab-dAf9-A4ce8257A53b" ], "x": 94959481.54684117, "y": 27446241.74303545, "gridCoordinate": { "x": 68360427.05216584, "y": -50385854.2036494 }, "name": "ut sunt aute", "location": "Broker", "locationType": null, "app": "officia", "canvasName": "magna consectetur laborum sunt", "displayName": "ea Lorem", "summary": "dolor nisi eu", "description": "in mollit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/wCaGrNntA5/A5S1N9/~0/~1/~1/f+deW/Y4o/~0" }, { "type": "encryption", "pointer": "/~1/wZKP6krOTpF/~0/~0/A70/~0/X4MpA/ACGQQ/WmC1/wI73/F" }, { "type": "encryption", "pointer": "/~1/HnsC8/eVP2fiDx3" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "est dolore", "highlightString": "aliquip pariatur dolore" }, { "key": "enim", "highlightString": "commodo in dolore" }, { "key": "consequat culpa ipsum ut ex", "highlightString": "adipisicing" }, { "key": "proident nostrud Duis", "highlightString": "reprehenderit ut consequat aliqua ipsum" }, { "key": "in commodo reprehenderit irure pariatur", "highlightString": "adipisicing veniam aliquip Excepteur" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_end" ], "complete": [ "workflow_start", "error_handler", "3a1f", "3a1f" ], "error": [ "workflow_end", "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "revert" } ] }, "serverId": "laboris in magna cupidatat consectetur", "start_time": "1998-05-24T23:51:47.274Z", "end_time": 13413210.130006671, "finish_state": "success", "retrySettings": null, "type": "manual", "view": "commodo" }, "groups": [ { "_id": "14c1c534e414dee405ca3185", "provenance": "velit sed officia culpa eu", "name": "ut enim commodo in", "description": "dolor ipsum", "memberOf": [ { "groupId": "47891beebf5d3bb937b36c84", "aaaManaged": true }, { "groupId": "b655c02ae1bf486af44c0d23", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ad" }, { "roleId": "minim" } ], "inactive": true, "_meta": { "created": "1962-12-31T08:22:20.245Z", "updated": "1972-07-22T15:41:23.347Z", "migrationVersion": -65238636 } }, "default", { "_id": "8830dc10f2f2e3b6505a4a9d", "provenance": "aliqua proident", "name": "consectetur pariatur reprehenderit magna aliquip", "description": "consectetur", "memberOf": [ { "groupId": "3a4a5afcce988c563b00501b", "aaaManaged": false }, { "groupId": "6329f20ce014e7a6f5531ad6", "aaaManaged": true }, { "groupId": "03b8ac1e0986635f60496008", "aaaManaged": true }, { "groupId": "60a9c71ce85351e69394cc8b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "pariatur proident elit" }, { "roleId": "reprehenderit laborum incididunt" } ], "inactive": true, "_meta": { "created": "1950-01-24T04:38:55.088Z", "updated": "2017-09-10T01:05:48.557Z", "migrationVersion": -39709982 } }, "03cd5c368624ffe9c8b0d4c4" ], "watchers": [ null, "Pronghorn" ], "metrics": { "start_time": 45750586.80846277, "progress": 0.29134790074262384, "end_time": -1357661.3414716423, "user": "c48be5a98c9170da8806e866", "owner": "6dbb74988f7b249464f90c19" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }