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": "mollit 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 created the requested item", "data": { "_id": "fce4c0c38e27d2798925445c", "font_size": 4617049, "type": "automation", "created": "1963-01-11T17:00:33.108Z", "last_updated": "1971-04-14T17:27:54.152Z", "createdVersion": "335261764.554.300888", "lastUpdatedVersion": "386041.9.1677302320", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -59507456, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 31023432.66299039, "sla": 36515259.61610225, "decorators": [ { "type": "encryption", "pointer": "/O/CEzsLo/ed/hfE16/WLV5Th/bg-/RpdsI3" }, { "type": "encryption", "pointer": "/KQpHoU/x/B,d/Sz1DOu/joiwg0v4ir/wg/ItT/bHPriWAK90C" }, { "type": "encryption", "pointer": "/qQ6NC75/Ktj.XqQE/~0/epOvKi/yTAr3Je0/~1/~0/~1/~0/~0" }, { "type": "encryption", "pointer": "/caSC8.GP8aD/~0/BDvYWH5fSsT/~0/IGe3kx2" } ], "status": "paused", "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": "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 }, { "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": "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" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "ad Ut" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "sunt quis reprehenderit in" } ], "ancestors": [ "d326ab86be2e9bfbf91a7202", "e905a7ee8f20c00f2818d674", "86f7baab524054092dc3a193" ], "validationErrors": [ { "keyword": "in veniam", "dataPath": "tempor nostrud ullamco magna", "schemaPath": "dolore", "message": "aute enim ullamco pariatur" } ], "created_by": { "_id": "83966b21f6f37721b24b5386", "provenance": "ad culpa eu esse voluptate", "username": "consectetur", "firstname": "et", "memberOf": [ { "groupId": "cf5022a3226ba08beec10eb7", "aaaManaged": true }, { "groupId": "e3e95e1b439c7e3fcb1a8981", "aaaManaged": false }, { "groupId": "648682495a5780a4e9dcb50e", "aaaManaged": false }, { "groupId": "c57ea00aee2aa46d0f434d50", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut proident sed sunt ex" } ], "inactive": true, "lastLogin": "1980-08-08T00:59:50.647Z", "_meta": { "created": "2020-08-19T13:52:20.046Z", "updated": "2013-08-28T13:33:05.295Z", "migrationVersion": -55449914 }, "email": "proident" }, "last_updated_by": "31615b7a237bf038346e4d39", "tasks": { "5": { "actor": "485216916c3cacfbce2390b2", "groups": [ { "_id": "7fa7075618ab9da4cb5e0fde", "provenance": "nisi culpa enim Ut Duis", "name": "cillum", "description": "culpa", "memberOf": [ { "groupId": "814e4641c93f11069e69e971", "aaaManaged": true }, { "groupId": "203b6f86280366dc33e97c33", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sint proident in" }, { "roleId": "commodo" }, { "roleId": "sit" }, { "roleId": "officia" } ], "inactive": false, "_meta": { "created": "2001-09-28T23:21:47.182Z", "updated": "1951-05-08T15:00:06.15Z", "migrationVersion": 3998021 } }, { "_id": "671e5fc0e686c7b5e21a5856", "provenance": "veniam esse Ut aliqua", "name": "ipsum cupidatat", "description": "dolore dolor sed nisi", "memberOf": [ { "groupId": "a2262993ec9df3f0bd4f5bb2", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "pariatur in aliqua veniam" }, { "roleId": "ex ea et" }, { "roleId": "amet aliquip minim nisi in" }, { "roleId": "id fugiat et" } ], "inactive": false, "_meta": { "created": "1966-07-08T00:17:25.691Z", "updated": "1973-03-26T19:23:56.513Z", "migrationVersion": 28088730 } } ], "iterations": [], "x": 54489484.05913746, "y": -72450946.09329414, "gridCoordinate": { "x": 66097446.88923854, "y": -53239868.12080945 }, "name": "ipsum Duis magna", "location": "Broker", "locationType": null, "app": "dolore non laboris Duis dolore", "canvasName": "childJob", "displayName": "incididunt anim", "summary": "ut dolor minim", "description": "nisi Excepteur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/FAYXgqXFB/XUL/jvE/dZXQ-DYJe/g5yoCD/~0/je" }, { "type": "encryption", "pointer": "/rVcC/s60p05,AB/~0/bmlHYLf" }, { "type": "encryption", "pointer": "/Me.y5ojLa" }, { "type": "encryption", "pointer": "/IwVZ" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "veniam ex est ut", "highlightString": "sit" }, { "key": "quis sunt dolor nisi sed", "highlightString": "irure ea" }, { "key": "ad occaecat consectetur incididunt est", "highlightString": "consectetur velit" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_end", "3a1f", "error_handler" ], "complete": [ "e28f", "workflow_start", "3a1f", "3a1f", "error_handler" ], "error": [ "e28f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "3a1f", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "3a1f", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "e28f", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "loop" } ] }, "serverId": "amet ullamco elit dolore", "start_time": "1989-03-07T21:44:49.022Z", "end_time": 33270866.81126766, "finish_state": "failure", "retrySettings": null, "loop": { "atLeastOneComplete": true, "finishedCount": -78108307.3304896, "outgoing": [ "esse velit deserunt", "nulla et", "Lorem aliquip esse ipsum", null, null ] }, "childJobs": [ { "_id": "culpa sint dolore quis labore", "name": "labore amet sunt laborum", "iteration": -68088742.68835665 } ] }, "workflow_start": { "x": 19745801.201262087, "y": -86166021.85294156, "gridCoordinate": { "x": -42080003.61507831, "y": -41554910.515532665 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 93802323.11895975, "finish_state": "failure", "user": "4524c314132519919ea402a2" }, "groups": [ "05097d86f99bb312bb66a72d", { "_id": "9b366d92d729418f30c89674", "provenance": "ut occaecat nulla", "name": "enim quis nostrud", "description": "quis qui anim", "memberOf": [ { "groupId": "8e0ce7497ca9874a426b6609", "aaaManaged": false }, { "groupId": "89b6738bd7893cfbd7ddc7a1", "aaaManaged": true }, { "groupId": "06c4780aba59d7f1708f5987", "aaaManaged": true }, { "groupId": "20f498b9b490af9dded2ec10", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sunt aute ea esse sit" }, { "roleId": "aliquip incididunt nulla tempor" }, { "roleId": "commodo sed aute proident" } ], "inactive": true, "_meta": { "created": "1971-11-30T05:15:02.789Z", "updated": "1992-04-30T05:01:01.658Z", "migrationVersion": -29664955 } }, "default", "bbda2802a29b2bb174bf0060", "388a309c057b35dbf5a36cdb" ], "iterations": [ "E9Bd99d4-ae5F-fdbf-7d6f-5D0ae3e9c504", "Db5Ae9FF-a1b6-dD4C-C44E-aa7688ac8AE5" ] }, "workflow_end": { "x": 126405.28410448134, "y": -29695243.288324, "gridCoordinate": { "x": -82576194.59708816, "y": -394272.00598555803 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "e28f", "workflow_start" ], "complete": [ "workflow_end", "error_handler" ], "error": [ "error_handler", "workflow_start" ] }, "metrics": { "end_time": -65512879.31509782, "run_time": 58184630.57322621 }, "groups": [ { "_id": "a6e32bee5b28cea758c7d392", "provenance": "est Lorem mollit incididunt", "name": "pariatur mollit in", "description": "nisi veniam", "memberOf": [ { "groupId": "20692c2ed4044b53c605dc1e", "aaaManaged": true }, { "groupId": "a96f0996992ac47b551ae551", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consectetur" }, { "roleId": "sed proident minim ipsum nostrud" }, { "roleId": "veniam" }, { "roleId": "id aute qui" }, { "roleId": "sint fugiat dolore sed" } ], "inactive": true, "_meta": { "created": "1950-05-20T00:24:27.278Z", "updated": "1961-05-18T20:20:42.157Z", "migrationVersion": -97235078 } }, "a12fc7c7f96297ab06aa6ded", { "_id": "ea04bffc4d9f3b5f8bda4b8d", "provenance": "elit laboris aute ut magna", "name": "est", "description": "dolor voluptate ut", "memberOf": [ { "groupId": "0897dac634c3f0479bd2bf14", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consequat laborum proident officia" }, { "roleId": "pariatur reprehenderit veniam amet nostrud" }, { "roleId": "qui minim enim laborum" } ], "inactive": true, "_meta": { "created": "1964-08-09T23:06:51.969Z", "updated": "1960-01-05T13:34:55.838Z", "migrationVersion": -47705571 } } ], "iterations": [ "A247Cf5E-b14A-c2C3-f2c5-8fE8e67a86ec" ] }, "error_handler": { "x": -88358313.90820515, "y": 59727904.08255708, "gridCoordinate": { "x": -11302496.642462805, "y": 97444973.63754335 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "eu Lorem et velit", "canvasName": "minim", "displayName": "consectetur incididunt commodo", "summary": "aute elit dolor", "description": "reprehenderit Excepteur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/u/~0/~1/or/eaNJ/Kut/kn7ctR-NE1/~0/g,nf35" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "velit proident sint consequat irure", "highlightString": "et est ad Lorem" }, { "key": "Lorem veniam aliqua cupidatat", "highlightString": "culpa cupidatat tempor dolor" } ], "status": "running", "previous": { "incomplete": [ "workflow_start" ], "complete": [ "workflow_start" ], "error": [ "error_handler", "error_handler" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "revert" } ] }, "serverId": "enim eiusmod magna", "start_time": "1985-08-09T12:34:41.481Z", "end_time": -4098169.092869863, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "267437820978068aa1769f9d", "provenance": "occaecat", "name": "ex", "description": "velit non sit irure nostrud", "memberOf": [ { "groupId": "1e86a9589f2a9c912134e465", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Excepteur cupidatat" }, { "roleId": "cupidatat" }, { "roleId": "est officia eiusmod id" }, { "roleId": "sit ut consequat" }, { "roleId": "laboris cupidatat officia qui" } ], "inactive": false, "_meta": { "created": "1998-05-11T06:23:44.162Z", "updated": "2001-02-17T08:01:38.627Z", "migrationVersion": 36621285 } }, { "_id": "40501f93ab0a6049bd786fa3", "provenance": "sed irure", "name": "labore commodo pariatur non", "description": "Lorem nisi et in cupidatat", "memberOf": [ { "groupId": "5bd6f2a64271b41f7573a872", "aaaManaged": false }, { "groupId": "b8f97af2ba94984cd6082f97", "aaaManaged": false }, { "groupId": "564edf69bfbc3b3d1252d14e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "reprehenderit sunt" } ], "inactive": true, "_meta": { "created": "1965-05-01T07:27:20.466Z", "updated": "1989-09-05T20:41:36.062Z", "migrationVersion": 15465692 } }, "default", "default", { "_id": "7fd7456e6c1f38a91d3148b0", "provenance": "laboris veniam", "name": "pariatur labore incididunt id aliquip", "description": "consectetur commodo", "memberOf": [ { "groupId": "b35319db3251b41d5977e5fe", "aaaManaged": true }, { "groupId": "1a9b9978d30ce09a00ad1375", "aaaManaged": false }, { "groupId": "9ad805cf76593e56eb1a7004", "aaaManaged": false }, { "groupId": "2cf4f17b01671da6ba602dbd", "aaaManaged": false }, { "groupId": "83500ae22b82c8efac2b8fe3", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "veniam minim Lorem sint in" } ], "inactive": false, "_meta": { "created": "1983-08-13T22:38:11.827Z", "updated": "2012-08-23T12:36:14.727Z", "migrationVersion": 8286790 } } ], "iterations": [ "8f38370A-3175-2C32-3614-d0d32e20ea76", "5a7355f6-08cb-443a-7e18-95f14e99321D" ] } }, "parent": { "task": "dolore occaecat in elit", "iteration": 95950017.29628271, "element": -71303024.12839743 }, "errorHandler": null, "groups": [ { "_id": "347bcdffeee164931c429839", "provenance": "dolore cillum reprehenderit ut", "name": "nostrud", "description": "officia tempor do", "memberOf": [ { "groupId": "039307a7ae5da032515c08ad", "aaaManaged": true }, { "groupId": "0481e7feb03294fb88b360a6", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolor fugiat sit in" }, { "roleId": "aliqua pariatur" } ], "inactive": false, "_meta": { "created": "1951-12-28T05:49:28.493Z", "updated": "2007-05-02T18:19:52.655Z", "migrationVersion": -91261128 } }, "default", "default", { "_id": "c313734152ce9d85839cc3e4", "provenance": "dolore", "name": "deserunt proident officia", "description": "exercitation sit cupidatat tempor id", "memberOf": [ { "groupId": "7c843568356d350bb897f8a0", "aaaManaged": true }, { "groupId": "ea1e27bb191f817dace5c818", "aaaManaged": false }, { "groupId": "7b5b143e541f3c7e3a134de0", "aaaManaged": false }, { "groupId": "4d7992257e536f1b6ec3f859", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nulla qui irure dolore" }, { "roleId": "proident" }, { "roleId": "anim magna Duis ut tempor" }, { "roleId": "anim nisi occaecat qui" }, { "roleId": "reprehenderit do" } ], "inactive": false, "_meta": { "created": "1967-05-28T15:10:19.021Z", "updated": "1977-07-22T13:20:11.192Z", "migrationVersion": -58404420 } }, { "_id": "ba146d1b100e67a7e06ac331", "provenance": "incididunt", "name": "Duis", "description": "do ipsum qui", "memberOf": [ { "groupId": "6463d8f1037d48cff307dd62", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ad sint tempor dolor sit" }, { "roleId": "elit minim ut veniam" }, { "roleId": "cupidatat Lorem ex incididunt magna" } ], "inactive": false, "_meta": { "created": "2017-05-21T18:51:08.003Z", "updated": "1950-11-27T11:58:10.51Z", "migrationVersion": -37746984 } } ], "watchers": [ "Pronghorn", { "_id": "57535eca880c248e2f28eed5", "provenance": "enim", "username": "aliquip in labore quis", "firstname": "culpa cillum", "memberOf": [ { "groupId": "72593633e9b0cc8dc405a472", "aaaManaged": true }, { "groupId": "7d34929703a634291b704a2f", "aaaManaged": false }, { "groupId": "c18541ba925e108901494fae", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in reprehenderit id" }, { "roleId": "laboris Excepteur" }, { "roleId": "Ut in do ipsum" }, { "roleId": "deserunt" }, { "roleId": "nostrud magna incididunt ipsum" } ], "inactive": false, "lastLogin": "2015-06-12T03:39:08.716Z", "_meta": { "created": "1983-04-24T06:51:56.783Z", "updated": "1964-06-29T10:21:29.318Z", "migrationVersion": 27036283 }, "email": "irure Ut magna ex" }, { "_id": "d611b7809a306cbd78515c0b", "provenance": "laborum non ad sed", "username": "est sint", "firstname": "ad exercitation adipisicing laboris Ut", "memberOf": [ { "groupId": "dd48ca8fd85298a55b983809", "aaaManaged": false }, { "groupId": "5fd87f7b22a07d91fec34ca9", "aaaManaged": false }, { "groupId": "5f0837e37a5f430b963744d0", "aaaManaged": true }, { "groupId": "3fd42e9c8d011fdf1ca7563a", "aaaManaged": false }, { "groupId": "88d63d2c6858b0034fd27f86", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nostrud laborum" } ], "inactive": true, "lastLogin": "1987-02-16T03:23:11.664Z", "_meta": { "created": "1980-05-11T13:42:40.277Z", "updated": "1962-07-11T03:09:59.115Z", "migrationVersion": -69342197 }, "email": "consectetur laborum labore" }, "ac4c72699f9d18f6466f98a2" ], "metrics": { "start_time": 48230389.80460924, "progress": 0.725071837224089, "end_time": -96032786.25815403, "user": null, "owner": { "_id": "695d252b6cda0c26ba877a5a", "provenance": "dolor laboris", "username": "nulla est aliqua Duis culpa", "firstname": "cillum Ut enim ad irure", "memberOf": [ { "groupId": "54ac66c28849a62c8bd001cd", "aaaManaged": true }, { "groupId": "dd12b62fc3128c8bfe7e7c9b", "aaaManaged": false }, { "groupId": "9feea5cf88e1222f393d900e", "aaaManaged": true }, { "groupId": "6705b05e9bc528b3c296f231", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "mollit" }, { "roleId": "exercitation sunt ea reprehenderit laboris" }, { "roleId": "qui minim est et nisi" } ], "inactive": false, "lastLogin": "1977-10-23T08:16:34.632Z", "_meta": { "created": "1979-05-13T03:42:23.95Z", "updated": "2000-11-04T09:43:23.688Z", "migrationVersion": -11106881 }, "email": "commodo dolore" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }