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": "reprehenderit labore Ut cupidatat" } }
{ "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": "9ad150f4f548e8ab55b47d57", "uuid": "d9416c3c-dd4a-65a9-67ba-bffac30fe409", "font_size": -97143612, "type": "resource:action", "created": "1969-05-02T10:50:52.327Z", "last_updated": "2012-12-16T01:29:29.93Z", "createdVersion": "283.290.011045-0061.78393075283.203.666726", "lastUpdatedVersion": "44314634.751282916.733450423-0347.85797285545.2", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 73771284, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 57659614.68026477, "sla": 70605960.31820267, "decorators": [ { "type": "encryption", "pointer": "/~1/~1/~1" }, { "type": "encryption", "pointer": "/~0/~1/UdBe17" }, { "type": "encryption", "pointer": "/kQ/~0/Z//t/~1/~0/~1/YRpjHS" }, { "type": "encryption", "pointer": "/~0/~1/~0/O0EHhXd/hujjpQry/D5VQ/zxzfGs06/~1/~0/a" }, { "type": "encryption", "pointer": "/~1" } ], "status": "canceled", "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName", "message": "irure" } ], "ancestors": null, "validationErrors": [ { "keyword": "dolor", "instancePath": "culpa ea sunt", "schemaPath": "sit Duis sed", "message": "velit aute magna commodo" } ], "created_by": null, "last_updated_by": "Pronghorn", "tasks": { "8": { "actor": { "_id": "33a507b5fed8048b43b84e6a", "provenance": "nisi culpa Lorem", "username": "officia ex magna amet mollit", "firstname": "cupidatat", "memberOf": [ { "groupId": "9d7723c073bba91a9fd41507", "aaaManaged": true }, { "groupId": "00e8f9f64a61f6fed0ec9622", "aaaManaged": true }, { "groupId": "61df5823d16b7432ddef662f", "aaaManaged": false }, { "groupId": "b72506a1e69c37b641252a62", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "magna pariatur nostrud" } ], "inactive": false, "lastLogin": "2020-05-25T17:29:30.193Z", "_meta": { "created": "1959-10-24T00:19:12.364Z", "updated": "1955-09-01T15:12:27.001Z", "migrationVersion": -6156338 }, "email": "anim elit aliqua" }, "groups": [ "168422a5c6d76b7aed267438", { "_id": "716d2a7044115519cf516d88", "provenance": "labore sed velit", "name": "sunt velit ut tempor", "description": "voluptate occaecat consectetur laboris et", "memberOf": [ { "groupId": "c26fb54d947a611c4ed71e2b", "aaaManaged": false }, { "groupId": "1f33834e07efd93bf6d2a2ce", "aaaManaged": true }, { "groupId": "aecce405005d76f0432aa98b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in id" }, { "roleId": "ut Ut proident elit" }, { "roleId": "aute dolor in in" }, { "roleId": "ut officia dolor" } ], "inactive": true, "_meta": { "created": "2020-05-07T15:57:05.763Z", "updated": "2023-02-01T12:38:24.283Z", "migrationVersion": 26451057 } }, "87652045a6b77c03bec04e6c", "default", { "_id": "29e54f20c6456518d0cdb856", "provenance": "nostrud est exercitation", "name": "dolore in anim cillum non", "description": "irure tempor amet ipsum", "memberOf": [ { "groupId": "66056394bd1a8a25b3cf9d00", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ea incididunt consequat Ut" }, { "roleId": "nisi dolore" } ], "inactive": true, "_meta": { "created": "1968-12-20T22:06:45.011Z", "updated": "2022-10-23T11:49:19.965Z", "migrationVersion": -87629278 } } ], "iterations": [ "ABD932Dd-ffc7-6cD2-20eE-8cfaf885d20A", "dcEFABB4-1b76-e5Ee-3F94-960179d6a77A", "0BF123a4-9dB8-2FdA-EdBd-f755CDC6a3a3" ], "x": 26255272.606427, "y": -17466619.139792353, "gridCoordinate": { "x": -76509744.54527354, "y": 80402252.83085757 }, "name": "cillum nulla esse ea commodo", "location": "Broker", "locationType": null, "app": "proident est aute ea", "canvasName": "childJob", "displayName": "in cillum", "summary": "deserunt esse minim", "description": "reprehenderit proident", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~1/~1/~1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "in", "highlightString": "ea do veniam velit" }, { "key": "dolore", "highlightString": "ea Lorem" }, { "key": "voluptate elit nisi minim occaecat", "highlightString": "pariatur anim" } ], "status": "running", "previous": { "incomplete": [ "error_handler", "error_handler" ], "complete": [ "e28f" ], "error": [ "workflow_start", "error_handler", "3a1f" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "in incididunt", "start_time": "2006-05-23T01:35:33.196Z", "end_time": -64928747.514683895, "finish_state": "error", "retrySettings": { "state": [ "failure", "error" ], "autoRetry": false, "limit": 27578774, "delay": 85435796, "count": 14197978, "finishedRetrying": true }, "loop": { "atLeastOneComplete": false, "finishedCount": -7035869.507831633, "outgoing": [] }, "childJobs": [ { "_id": "est minim", "name": "in quis ipsum ut adipisicing", "iteration": -8755868.73729986 }, { "_id": "sed cillum voluptate laboris mollit", "name": "nostrud commodo et aliquip", "iteration": -13439318.766817674 }, { "_id": "consequat laboris exercitation", "name": "sint ullamco cupidatat voluptate", "iteration": 21815840.627869993 }, { "_id": "ad ea in magna sit", "name": "minim ad", "iteration": -41058457.734684326 }, { "_id": "cillum dolor", "name": "nulla", "iteration": -94040997.45261924 } ] }, "workflow_start": { "x": 40273927.37378967, "y": 53221655.82566568, "gridCoordinate": { "x": -24209115.921713263, "y": -60505599.20021703 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 31414914.55601421, "finish_state": "failure", "user": { "_id": "df1707a520201c0364d50be8", "provenance": "Excepteur aute", "username": "ut", "firstname": "nulla", "memberOf": [ { "groupId": "aba5b3efebf8e585fdc8593c", "aaaManaged": true }, { "groupId": "8c1e5c1291ada6ec785d660d", "aaaManaged": false }, { "groupId": "a876a6096b7004eff4273267", "aaaManaged": false }, { "groupId": "337bbe88549a0b9708e02bc0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "reprehenderit" }, { "roleId": "cupidatat est amet adipisicing id" }, { "roleId": "fugiat adipisicing qui" }, { "roleId": "labore dolor amet" } ], "inactive": false, "lastLogin": "1974-01-08T10:14:03.365Z", "_meta": { "created": "1955-05-07T19:58:14.262Z", "updated": "1962-05-11T20:36:12.736Z", "migrationVersion": -49406352 }, "email": "incididunt qui anim aliquip deserunt" } }, "groups": [ { "_id": "1131be8957ede9d9c1735415", "provenance": "ea reprehenderit", "name": "aliquip Excepteur mollit pariatur proident", "description": "dolore incididunt", "memberOf": [ { "groupId": "725b5917add2f6d6c18fa457", "aaaManaged": false }, { "groupId": "b61bc7f3ed021a32f54032cd", "aaaManaged": false }, { "groupId": "180a7c9ada0d735b51eaede7", "aaaManaged": true }, { "groupId": "4ec1fc7ab311916faf9ebbc9", "aaaManaged": false }, { "groupId": "05d80ab20269c8f012910cc7", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consequat aute deserunt consectetur Duis" } ], "inactive": true, "_meta": { "created": "1957-04-03T05:46:46.729Z", "updated": "2016-12-26T12:08:00.929Z", "migrationVersion": 92794186 } }, "ea46bb49ecd884412e2227ea", { "_id": "7f5e5c766ae4564a479831dd", "provenance": "et consectetur", "name": "do fugiat ex Duis dolor", "description": "velit", "memberOf": [ { "groupId": "af773df0ea7f2f22f54b7c06", "aaaManaged": false }, { "groupId": "85c941a0c15ce96a59a8b061", "aaaManaged": true }, { "groupId": "0ea73fb4ff6a626d7c8688f2", "aaaManaged": false }, { "groupId": "5fc28c8fb03a482a6f65c731", "aaaManaged": false }, { "groupId": "e8dbf52acb46661b99d9afe7", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Lorem sint" }, { "roleId": "dolor ut officia amet" }, { "roleId": "Ut ad esse in id" } ], "inactive": true, "_meta": { "created": "2009-04-13T06:14:43.177Z", "updated": "1954-12-02T03:36:59.584Z", "migrationVersion": 46740137 } } ], "iterations": [] }, "workflow_end": { "x": -3274038.069285989, "y": -8327300.1586162895, "gridCoordinate": { "x": -92847124.77694179, "y": -32943398.03781434 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "workflow_start", "e28f", "error_handler", "error_handler" ], "complete": [ "workflow_start", "workflow_end", "workflow_start", "workflow_start", "workflow_start" ], "error": [ "workflow_start", "e28f", "workflow_end" ] }, "metrics": { "end_time": 1228120.0054884404, "run_time": -9951881.49301356 }, "groups": [ "a32fae2fd6784119cd8b7e69", { "_id": "966e66b39e25eaa1b10c32fe", "provenance": "Duis", "name": "quis tempor amet", "description": "esse ut in aute", "memberOf": [ { "groupId": "a70b3fe6f4bba16b8a73ba7e", "aaaManaged": false }, { "groupId": "a1b6057a7fc309f308218fc4", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ea aliqua" }, { "roleId": "laboris sed velit" }, { "roleId": "Lorem voluptate amet quis" }, { "roleId": "sed Excepteur" }, { "roleId": "ullamco laborum Ut" } ], "inactive": false, "_meta": { "created": "1989-11-24T02:32:03.478Z", "updated": "1954-09-29T19:07:39.626Z", "migrationVersion": 70523889 } }, "2b9ec88e5a1d763748b28c68" ], "iterations": [ "F3cAbF0F-d857-a4c8-4A17-4cE5ceFbF67a" ] }, "error_handler": { "x": -20087499.202352703, "y": 89089983.7650514, "gridCoordinate": { "x": 13966852.907261223, "y": -51909391.558076926 }, "name": "childJob", "location": "Application", "locationType": null, "app": "amet exercitation", "canvasName": "culpa Ut cillum", "displayName": "Excepteur", "summary": "in cillum", "description": "et", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/Ja/nR/hV.oFz/wM2YJW/eNuAw0,aa7+/~0" }, { "type": "encryption", "pointer": "/gWhT3Lv/~1/~0/~0/tPJJ3rdqZzU/bzY8FU/cb+P82" }, { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/Gf/kihg/~0/slwc,dj/~0" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "ea", "highlightString": "non cillum tempor" }, { "key": "reprehenderit tempor nisi incididunt", "highlightString": "enim dolor id ad amet" }, { "key": "tempor do", "highlightString": "tempor labore Ut" }, { "key": "in", "highlightString": "commodo nulla" }, { "key": "deserunt", "highlightString": "sint dolor laboris Lorem ea" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_end", "workflow_start" ], "complete": [ "e28f", "error_handler" ], "error": [ "3a1f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_end", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "e28f", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "3a1f", "type": "loop" } ] }, "serverId": "nostrud elit ut", "start_time": "1990-08-26T15:02:56.578Z", "end_time": -18695567.883003727, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": null, "groups": [ "9005b5fa838b84b5a8ac0c9b", { "_id": "677a64dc61a7b689ff3b5828", "provenance": "enim sint occaecat laborum culpa", "name": "aute mollit cillum", "description": "do Excepteur fugiat", "memberOf": [ { "groupId": "b36a34d2707418d6b90320f7", "aaaManaged": true }, { "groupId": "55d29d94c33d8dfcbd557647", "aaaManaged": false }, { "groupId": "e19231bf1ae3d2f4f4bc11fa", "aaaManaged": true }, { "groupId": "82ddf8873d737d04a133af5e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ad dolore" }, { "roleId": "pariatur eiusmod dolore aliqua velit" }, { "roleId": "fugiat non dolore" } ], "inactive": true, "_meta": { "created": "1991-09-19T16:53:34.467Z", "updated": "1958-03-21T23:47:45.235Z", "migrationVersion": 18203239 } } ], "iterations": [ "2324Fe3a-cD5e-DcC8-6F9b-C9DCa98fa770" ] } }, "parent": { "task": "Duis", "iteration": 84700366.66553241, "element": -90133887.35617083 }, "errorHandler": null, "groups": [ "83f846872236588a5dd1c44e", { "_id": "06f14cd885afe6ff2d0a81cc", "provenance": "Excepteur do cupidatat", "name": "in", "description": "exercitation fugiat nisi consectetur commodo", "memberOf": [ { "groupId": "861a39342d4101a0e6afbc04", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Lorem ullamco exercitation elit dolore" }, { "roleId": "mollit cupidatat cillum in magna" }, { "roleId": "aliqua incididunt" }, { "roleId": "labore" } ], "inactive": false, "_meta": { "created": "1979-10-23T08:20:59.56Z", "updated": "2002-02-10T14:18:19.954Z", "migrationVersion": 70584918 } } ], "watchers": [ "Pronghorn", "Pronghorn", { "_id": "bcea81b21267c25a17a8008d", "provenance": "consequat labore mollit in", "username": "enim sit incididunt ut ullamco", "firstname": "Excepteur ipsum id officia", "memberOf": [ { "groupId": "8eb69d2bfc5dbb389c3a3c8d", "aaaManaged": false }, { "groupId": "7ccf5dc4536e2fda6bdf8e04", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "fugiat ea voluptate enim in" }, { "roleId": "labore in in officia" }, { "roleId": "sint qui do" }, { "roleId": "aute dolor veniam do" } ], "inactive": true, "lastLogin": "1965-01-10T18:10:19.096Z", "_meta": { "created": "1999-12-23T06:26:27.546Z", "updated": "1963-01-14T13:47:25.742Z", "migrationVersion": -42789583 }, "email": "anim in ut" }, null, "d5ca733bc10d9709d7b618ee" ], "metrics": { "start_time": -81910827.55979262, "progress": 0.8978584692779543, "end_time": 53272991.515950084, "user": { "_id": "0172e7e2090e48511430ddc9", "provenance": "consequat", "username": "enim ullamco sed", "firstname": "in laborum officia", "memberOf": [ { "groupId": "3e806c04246b551ae07097ec", "aaaManaged": false }, { "groupId": "6c61b79bc5f99967fea1f2c1", "aaaManaged": false }, { "groupId": "d6013a07c1b5de982d6db665", "aaaManaged": true }, { "groupId": "ed5d5f8bf395eef57b02ec72", "aaaManaged": true }, { "groupId": "ed37f57307204e3a023af6ad", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nisi Excepteur" }, { "roleId": "ut amet" }, { "roleId": "ipsum dolore sit eu Lorem" }, { "roleId": "amet" }, { "roleId": "pariatur et id" } ], "inactive": true, "lastLogin": "1984-01-04T04:36:18.184Z", "_meta": { "created": "1973-02-10T21:27:54.824Z", "updated": "2010-09-12T21:16:25.722Z", "migrationVersion": -32012396 }, "email": "elit ut ea Duis" }, "owner": "6f566d1426d94b823479dd7c" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }