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": "esse in veniam nostrud minim" } }
{ "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": "0c07d8a51beb052ea9643c2d", "font_size": -46622974, "type": "automation", "created": "1961-12-09T10:38:58.08Z", "last_updated": "2016-06-01T12:55:38.176Z", "createdVersion": "0410929.63888974012.4815065-0135.59549667195.206805761", "lastUpdatedVersion": "6028.9.149715", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": -23992956, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 38018427.88199794, "sla": -74590292.78989196, "decorators": [ { "type": "encryption", "pointer": "/ZuOc-/I/H9/TxdJT/~0/~0/~0/HQT8ZnS" }, { "type": "encryption", "pointer": "/~0" } ], "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "dolore magna et ullamco" }, { "task": "workflow_end", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "velit eiusmod ullamco elit ut" }, { "task": "3a1f", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "culpa laboris dolore", "dataPath": "laborum ut", "schemaPath": "mollit", "message": "sed incididunt magna ipsum et" }, { "keyword": "ipsum labore ullamco est", "dataPath": "tempor consequat velit sint voluptate", "schemaPath": "do aliquip", "message": "laborum ipsum" }, { "keyword": "mollit", "dataPath": "exercitation qui mollit consequat", "schemaPath": "elit magna proident", "message": "Ut in" } ], "created_by": "18591fbaf766abe9b3c0e2a9", "last_updated_by": { "_id": "07d2bcf8c0b714ebc8bd769a", "provenance": "anim nulla non", "username": "ipsum ut eiusmod irure", "firstname": "ut consequat", "memberOf": [ { "groupId": "e65b5ccbb5417e9f2c3064ec", "aaaManaged": true }, { "groupId": "8ebdb0b8185ab9ebe7dbe0b6", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nostrud in commodo" } ], "inactive": true, "lastLogin": "1944-12-23T13:55:03.901Z", "_meta": { "created": "1976-04-06T15:09:16.841Z", "updated": "1958-06-16T08:28:16.524Z", "migrationVersion": 40502348 }, "email": "deserunt" }, "tasks": { "workflow_start": { "x": -93603406.55890389, "y": -58672592.28482742, "gridCoordinate": { "x": -28085796.092441797, "y": 67056750.64961606 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 87247255.16163993, "finish_state": "success", "user": null }, "groups": [ { "_id": "0fe3115952f6bd89c22788b9", "provenance": "dolor labore", "name": "eu in consectetur ut nisi", "description": "dolore velit ex", "memberOf": [ { "groupId": "cff82c43f182533e86e9ce1c", "aaaManaged": false }, { "groupId": "fbcbb3277838bcb793a5382e", "aaaManaged": true }, { "groupId": "2e22505c4590e66217c15065", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "reprehenderit" }, { "roleId": "magna ipsum Duis quis proident" }, { "roleId": "ea ut Ut" } ], "inactive": true, "_meta": { "created": "1958-08-23T02:26:14.713Z", "updated": "2008-06-01T23:24:48.938Z", "migrationVersion": 92516025 } }, { "_id": "7323eb98b6e14f88c429e07b", "provenance": "exercitation ex officia", "name": "aliqua", "description": "cupidatat minim non deserunt", "memberOf": [ { "groupId": "58df80dfb8dcf13c2c52cee2", "aaaManaged": true }, { "groupId": "f7aa807e5001920220d27f22", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ex" }, { "roleId": "dolore esse cillum nisi sit" }, { "roleId": "irure labore id fugiat non" } ], "inactive": true, "_meta": { "created": "1982-06-16T16:49:17.352Z", "updated": "1973-01-22T22:47:13.634Z", "migrationVersion": 33163710 } }, "default", { "_id": "adba041e296323cf01a3bb01", "provenance": "sit sint nostrud sunt", "name": "mollit", "description": "Duis exercitation consectetur quis minim", "memberOf": [ { "groupId": "e188a8eed52e09025b0a2988", "aaaManaged": false }, { "groupId": "d900f4c0c1d6d013b8177ce8", "aaaManaged": true }, { "groupId": "3ffca5f4fba4c6705efd8693", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "proident do et in voluptate" }, { "roleId": "officia sint" }, { "roleId": "quis nostrud" }, { "roleId": "adipisicing velit nostrud elit" }, { "roleId": "consequat est nostrud fugiat" } ], "inactive": true, "_meta": { "created": "1965-12-13T04:43:21.944Z", "updated": "1990-05-19T18:19:09.65Z", "migrationVersion": -98847776 } } ], "iterations": [ "BdFf66e8-e3Cf-4cDB-2b8a-B81C2a49A96E" ] }, "workflow_end": { "x": -48092177.627249286, "y": 83315861.76934317, "gridCoordinate": { "x": 61199769.71513727, "y": -86096603.77111341 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_start", "error_handler", "workflow_end" ], "complete": [ "workflow_end", "e28f" ], "error": [ "workflow_start" ] }, "metrics": { "end_time": 42943369.28012633, "run_time": -43359956.0494089 }, "groups": [ "default", "default", "db2e35a2cc63a5d4dc5a8be0", "f90f1ba6d5a90e96b55aefc4", "f0db4635777176b37b671100" ], "iterations": [ "ef26D8Ca-4261-C5bE-fd3c-E692ECAEd0B9", "f13D7BDE-4eE5-629E-aFdE-CD57aB1C9d7E", "Ed7Ea0D0-06C6-F20C-C5d6-6acC91FBB8AE" ] }, "error_handler": { "x": -565762.2788521945, "y": 13014616.495294139, "gridCoordinate": { "x": -69482275.00779356, "y": 83646372.75077325 }, "name": "childJob", "location": "Application", "locationType": "voluptate Excepteur cupidatat dolor adipisicing", "app": "culpa dolor", "canvasName": "non id velit", "displayName": "nulla dolor Ut", "summary": "deserunt", "description": "non adipisicing Ut qui", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~1/~1/~0/~1/opP.cKj/~1/~1/~0" }, { "type": "encryption", "pointer": "/~1/~1/~0/~0/MK/~0/~1/~0" }, { "type": "encryption", "pointer": "/~1/tmifUKTK+/~1" }, { "type": "encryption", "pointer": "/TnwIsLIn/l,/zvuje+/q" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "eu", "highlightString": "adipisicing sunt ipsum" }, { "key": "veniam in", "highlightString": "adipisicing laboris ullamco qui" }, { "key": "veniam magna nostrud eu dolor", "highlightString": "ad officia" }, { "key": "ipsum irure laborum aliqua", "highlightString": "mollit ullamco in proident" } ], "status": "error", "previous": { "incomplete": [ "workflow_start", "3a1f", "workflow_end" ], "complete": [ "e28f", "3a1f" ], "error": [ "error_handler" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "dolor", "start_time": "1979-07-03T04:14:42.714Z", "end_time": -97013385.71980922, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "9984f31407e53a02beb341b4", "provenance": "officia ipsum esse dolore exercitation", "name": "dolore mollit quis culpa", "description": "culpa ut sint aliquip aliqua", "memberOf": [ { "groupId": "437415b29eecd965a1c53890", "aaaManaged": true }, { "groupId": "17990036509378b6544f3ea5", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "adipisicing ipsum voluptate ad" }, { "roleId": "Ut eiusmod magna quis" }, { "roleId": "deserunt nostrud ad" }, { "roleId": "dolore in" } ], "inactive": false, "_meta": { "created": "2016-09-28T09:05:49.639Z", "updated": "1953-06-06T08:28:25.762Z", "migrationVersion": -50817697 } } ], "iterations": [ "4A634CBE-21dA-Fcfc-4d0f-4A16cAa5BaB4" ] }, "bc": { "actor": "Pronghorn", "groups": [ { "_id": "4fcc1d41bf2b59431eea7ea2", "provenance": "minim fugiat tempor commodo", "name": "laboris incididunt qui veniam eu", "description": "aliqua dolore fugiat esse Excepteur", "memberOf": [ { "groupId": "c0b4d3845017677456c4b20a", "aaaManaged": false }, { "groupId": "b753e82dbc3dcfc7083191da", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "irure qui" }, { "roleId": "esse laborum" }, { "roleId": "dolor est esse" } ], "inactive": false, "_meta": { "created": "1999-06-24T08:58:00.824Z", "updated": "2000-07-27T12:49:34.845Z", "migrationVersion": 62627050 } } ], "iterations": [], "x": 907933.2012524456, "y": 89957469.75993764, "gridCoordinate": { "x": -35029059.28992197, "y": 65214040.40276128 }, "name": "do adipisicing ea in enim", "location": "Adapter", "locationType": "aliqua occaecat pariatur magna", "app": "sit aliqua aute non esse", "canvasName": "childJob", "displayName": "qui", "summary": "proident occaecat qui", "description": "aliqua", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/tNAd/Kk+ADH6bKoO/~0/PpHFHh6LrJG/kXIGFeh5i/s4ie/~1/IqtNoM6t/B" }, { "type": "encryption", "pointer": "/sbUJesOZ6Qa/~0/bzI/Qi4vN8MCpE/~1" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "esse elit", "highlightString": "veniam consequat sed" }, { "key": "deserunt reprehenderit non", "highlightString": "culpa sit aliqua id in" } ], "status": "incomplete", "previous": { "incomplete": [ "e28f" ], "complete": [ "workflow_start", "3a1f", "e28f" ], "error": [ "e28f", "3a1f" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "aliqua ea irure culpa", "start_time": "1981-08-06T23:01:33.887Z", "end_time": 90837760.95975581, "finish_state": "failure", "retrySettings": null, "loop": { "atLeastOneComplete": true, "finishedCount": -80283052.30536623, "outgoing": [ null, null ] }, "childJobs": [ { "_id": "adipisicing do mollit dolore", "name": "laborum consequat et aliqua", "iteration": 85588909.41983223 }, { "_id": "culpa", "name": "irure cupidatat ex veniam", "iteration": 35486034.16508734 } ] } }, "parent": { "job": "anim", "task": "sint sit nostrud", "iteration": -58462046.06448491, "element": -14022354.656990066 }, "errorHandler": { "actor": "job", "groups": [ { "_id": "ccc3bbd2ac9484b0caa44d87", "provenance": "Lorem eu", "name": "aliqua", "description": "enim et dolor laboris reprehenderit", "memberOf": [ { "groupId": "119176d629f2139e6f99b6c3", "aaaManaged": false }, { "groupId": "1770db08a30580ec7a2c76f5", "aaaManaged": false }, { "groupId": "ee0a0b8519e621585a661444", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sint in" }, { "roleId": "do nostrud ad nulla ut" }, { "roleId": "dolor" } ], "inactive": true, "_meta": { "created": "1961-04-02T12:16:59.015Z", "updated": "1998-12-06T09:19:22.647Z", "migrationVersion": -80479967 } } ], "iterations": [ "6F986CAa-f6c7-408F-E9aD-4C0AF8258eE4", "25F75ef3-4531-9Cad-D102-210Cd6CbD5DE" ], "x": -20886926.834885776, "y": 24389261.773381233, "gridCoordinate": { "x": -62533107.81127648, "y": -74031939.1911251 }, "name": "tempor voluptate mollit", "location": "Broker", "locationType": null, "app": "sed eu", "canvasName": "childJob", "displayName": "aliqua in labore", "summary": "magna et", "description": "do sit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/of7jU,zlrx/cNQc2W4i/~1/~1" }, { "type": "encryption", "pointer": "/~0/R2QAnjclsTt/~1/wS/~1/~0/~1/BZ/TMtMz/~1/~1" }, { "type": "encryption", "pointer": "/Iz3IYQiyoW6/~1/HXKS5J/~1/~0/z8m/~1/~0/~0/OK/lu4" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "consectetur elit esse dolor", "highlightString": "eiusmod aliquip occaecat" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_end", "workflow_end" ], "complete": [ "workflow_end", "e28f" ], "error": [ "workflow_end", "3a1f", "workflow_start", "error_handler" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_end", "type": "loop" } ], "error": [ { "task": "workflow_end", "type": "loop" } ] }, "serverId": "Excepteur sit reprehenderit", "start_time": "1954-05-05T00:27:28.236Z", "end_time": -89696195.58877069, "finish_state": "failure", "retrySettings": { "state": [ "error", "failure", "error" ], "autoRetry": true, "limit": 20795905, "delay": 68543199, "count": 94568307, "finishedRetrying": true }, "loop": { "atLeastOneComplete": false, "finishedCount": 82139024.78467143, "outgoing": [ "irure" ] }, "childJobs": [ { "_id": "in dolore aliquip cupidatat nisi", "name": "aute consequat dolor aliquip", "iteration": -94100029.86117081 }, { "_id": "ut eu dolor", "name": "id labore", "iteration": -8828811.385035753 }, { "_id": "Duis ex pariatur minim in", "name": "ex", "iteration": 57613588.28987509 }, { "_id": "amet Ut incididunt", "name": "voluptate velit non culpa sint", "iteration": -70866225.96349299 }, { "_id": "nisi dolor Ut", "name": "enim dolor", "iteration": -65799228.91639214 } ] }, "groups": [ { "_id": "15175094e9bfc373042a8808", "provenance": "ullamco eu magna culpa", "name": "quis in aliquip", "description": "dolor laboris ipsum", "memberOf": [ { "groupId": "6428f2d136a6df4cacc29f75", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Ut Lorem ullamco" } ], "inactive": true, "_meta": { "created": "2009-12-26T06:47:36.585Z", "updated": "2006-07-09T05:13:01.171Z", "migrationVersion": 81794707 } } ], "watchers": [ "24faa0ddaa504b32c43b7f7d", "e995e63d030198834e99843a", { "_id": "c375f833b10b759d42e43b3b", "provenance": "elit ad irure anim", "username": "magna ipsum", "firstname": "velit mollit culpa quis", "memberOf": [ { "groupId": "61ca8c1b1eedb35c84e79839", "aaaManaged": true }, { "groupId": "86535ce73ee360a90f7b209a", "aaaManaged": false }, { "groupId": "5fd3af02ee5af42e5fb08c2c", "aaaManaged": true }, { "groupId": "c23d75a18c714893a5ba4c7c", "aaaManaged": true }, { "groupId": "6bf58b5327c1a4a7ed830b93", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "incididunt ex" }, { "roleId": "adipisicing ut mollit cillum dolor" }, { "roleId": "non culpa et irure ex" } ], "inactive": false, "lastLogin": "1948-05-26T15:44:45.264Z", "_meta": { "created": "1962-05-07T15:06:53.596Z", "updated": "1999-11-06T06:15:32.521Z", "migrationVersion": -89190138 }, "email": "do dolor ea cillum" } ], "metrics": { "start_time": 48306599.913888246, "progress": 0.3800576910155944, "end_time": 93540029.20309651, "user": null, "owner": "9074238ee5c4bc4c89b148f0" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }