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": "velit" } }
{ "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": "9f67b2fed8284b19f18d693c", "font_size": 19203782, "type": "automation", "created": "1999-05-18T23:58:41.551Z", "last_updated": "2002-06-30T11:11:05.869Z", "createdVersion": "43941299768.24113071.76", "lastUpdatedVersion": "0422280601.6489530184.97469610866", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -65881166, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 13709252.69792141, "sla": -73177223.21744666, "decorators": [ { "type": "encryption", "pointer": "/~1/yUXKO+WFdI1/~0/KdLSN/~1/deV.NBG,fGw/XoU3jCZs1/Vq/uMBCA/~0/Du7Ql7+ftrt" }, { "type": "encryption", "pointer": "/~0/~1/~1/Gh/~0" } ], "status": "canceled", "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", "message": "occaecat" } ], "ancestors": [ "5784d6292d6e54185c227103", "1b051c09d6cae6d1ab9e0fa5", "7c571e452be681faa89af9b6", "425657e3bb326bd5d303584a" ], "validationErrors": [ { "keyword": "dolor mollit", "instancePath": "elit dolor ut dolore", "schemaPath": "et dolor nisi deserunt velit", "message": "occaecat amet aliquip ad" }, { "keyword": "anim nostrud", "instancePath": "sunt eu non deserunt", "schemaPath": "in cupidatat dolor nisi", "message": "irure in ullamco est esse" } ], "created_by": { "_id": "07b39e489d1b8b861ddcef45", "provenance": "sint dolor sit sunt non", "username": "aliquip non laborum", "firstname": "adipisicing nulla", "memberOf": [ { "groupId": "2338126332adbb95a3c3fc04", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aute" } ], "inactive": false, "lastLogin": "1949-06-28T00:15:23.148Z", "_meta": { "created": "1978-04-27T05:14:57.063Z", "updated": "1984-03-06T15:48:38.495Z", "migrationVersion": 64424875 }, "email": "exercitation sit ut" }, "last_updated_by": null, "tasks": { "workflow_start": { "x": -81676445.8129362, "y": 60649547.843939364, "gridCoordinate": { "x": -87032646.01210798, "y": 68366481.14373225 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 45370554.09673539, "finish_state": "error", "user": null }, "groups": [ { "_id": "4ecb5ae7049c5b16f6158de6", "provenance": "in sed mollit aliqua", "name": "sunt voluptate", "description": "ad", "memberOf": [ { "groupId": "ad1b85af749494fcd032237f", "aaaManaged": true }, { "groupId": "e2f5d27523e82eb98c820574", "aaaManaged": false }, { "groupId": "0942e48e284ed85de3e97fc8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut incididunt reprehenderit deserunt" }, { "roleId": "Lorem anim Ut laboris voluptate" } ], "inactive": false, "_meta": { "created": "2005-10-10T05:05:53.028Z", "updated": "1989-03-14T01:23:29.703Z", "migrationVersion": 32281388 } }, "default" ], "iterations": [] }, "workflow_end": { "x": 30236970.098029077, "y": -35386111.13002248, "gridCoordinate": { "x": 45603727.64518893, "y": 31575049.248714432 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "e28f", "workflow_start", "workflow_end" ], "complete": [ "workflow_start", "3a1f", "workflow_start", "workflow_end" ], "error": [ "workflow_start" ] }, "metrics": { "end_time": 74137766.04645714, "run_time": 42880883.3602902 }, "groups": [ "default", "a809852b3f36fdafc58ad81d", { "_id": "0e55944b9b835172b5859a86", "provenance": "aliquip tempor consectetur amet proident", "name": "consectetur", "description": "officia sit irure quis fugiat", "memberOf": [ { "groupId": "532ef8d6b1c1aff41e79f6cd", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aliqua sed esse ea velit" } ], "inactive": false, "_meta": { "created": "1947-11-23T09:40:33.523Z", "updated": "1955-12-08T22:40:25.561Z", "migrationVersion": 20318266 } } ], "iterations": [ "e1b366b4-c10f-96f3-6b8D-dAb381A18DaC", "BfBEaBe4-4E9D-eC3D-70Ce-Be3Bd9F06C71" ] }, "error_handler": { "x": 61728561.48188549, "y": 12161185.017431915, "gridCoordinate": { "x": -69256632.32343924, "y": -67945045.38144279 }, "name": "childJob", "location": "Application", "locationType": null, "app": "exercitation est ut nostrud", "canvasName": "culpa ad esse veniam", "displayName": "commodo et Duis consectetur", "summary": "tempor ut voluptate", "description": "dolor ex veniam", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/t-7tR,sEps/X/zw5/B3" }, { "type": "encryption", "pointer": "/v0/~1/~0/~1/J,bcrT/k//U4OpBv65uv2/zY3XzYzZ.5K/Xm2SjlNkWT" }, { "type": "encryption", "pointer": "/E2ybi" }, { "type": "encryption", "pointer": "/~1/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "ex in anim", "highlightString": "ea in aliquip nulla" }, { "key": "veniam enim ad proident", "highlightString": "labore laborum" }, { "key": "voluptate", "highlightString": "aute incididunt quis et" }, { "key": "magna laborum sit in eiusmod", "highlightString": "Lorem reprehenderit veniam" } ], "status": "running", "previous": { "incomplete": [ "workflow_start", "workflow_end", "3a1f", "workflow_end" ], "complete": [ "e28f", "e28f", "3a1f", "e28f" ], "error": [ "3a1f", "workflow_start", "error_handler", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "revert" } ] }, "serverId": "velit id pariatur laborum sit", "start_time": "1955-11-24T12:27:31.041Z", "end_time": -29997094.750079304, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "025baec844e130aa1fae38e7" ], "iterations": [ "4F0dfFCB-f4bc-b8A4-DFD1-E2dbFD9df7eb" ] }, "d": { "actor": "job", "groups": [ { "_id": "2405a489aaca90b51f73eb7a", "provenance": "sed cillum ipsum", "name": "dolor tempor Excepteur sed", "description": "minim ipsum sed mollit", "memberOf": [ { "groupId": "14f1efab5c30e80cb3693a21", "aaaManaged": true }, { "groupId": "dfb9446b6eaa36a6ca68e1b6", "aaaManaged": false }, { "groupId": "cc1806c479b72b854f899e20", "aaaManaged": true }, { "groupId": "e7f8775a0b3ff37e19730a65", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliqua consectetur et" }, { "roleId": "commodo ea esse nisi" }, { "roleId": "aliqua est ut ut" } ], "inactive": true, "_meta": { "created": "2001-07-06T02:47:06.654Z", "updated": "2016-07-30T10:06:35.389Z", "migrationVersion": 43092509 } }, { "_id": "778e097ba2c5c6e609e08aac", "provenance": "sunt sit eu nostrud anim", "name": "dolore in id", "description": "non aliquip incididunt commodo culpa", "memberOf": [ { "groupId": "47da750cd6edac9ccaae0f8a", "aaaManaged": false }, { "groupId": "81bbf0d29d8632cabe155f0d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "pariatur aute commodo Lorem eiusmod" } ], "inactive": true, "_meta": { "created": "1961-05-30T10:28:07.559Z", "updated": "1958-07-06T21:56:54.413Z", "migrationVersion": -90523291 } }, { "_id": "6f8b926e2ab35806f812a803", "provenance": "adipisicing", "name": "anim nostrud et mollit ullamco", "description": "reprehenderit sint laboris eu Lorem", "memberOf": [ { "groupId": "c380b021ec0b4a189ac5677b", "aaaManaged": false }, { "groupId": "3ac889ace7be009ea58c2444", "aaaManaged": true }, { "groupId": "ae8e116e8e0c2496b5ca2b56", "aaaManaged": true }, { "groupId": "dd355ee7dabc705286cc52b6", "aaaManaged": false }, { "groupId": "decde2efd0d75867b96b8152", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cillum in" }, { "roleId": "dolore nisi cillum ex aliqua" }, { "roleId": "velit nulla non occaecat in" }, { "roleId": "ex" } ], "inactive": false, "_meta": { "created": "1979-07-26T02:13:30.319Z", "updated": "2019-02-28T00:50:54.815Z", "migrationVersion": 99494111 } } ], "iterations": [ "C2aBBEDf-57E9-C563-c60A-DB3ADdfDaEec", "DAD60CDa-4405-6B6C-23Dd-6594cf48c082", "d15765eb-41Ca-dc94-66D8-CBA99d52F1Cc", "16DBF7FE-BCE6-b60b-bd1b-d3DDAEAdD1f7" ], "x": 88135228.48549023, "y": 22720789.944186002, "gridCoordinate": { "x": 13402168.28665404, "y": -83496530.5807414 }, "name": "est veniam nisi reprehenderit", "location": "Application", "locationType": "voluptate", "app": "enim culpa", "canvasName": "nostrud eu nisi proident enim", "displayName": "proident sit voluptate ullamco", "summary": "aliquip amet ullamco commodo", "description": "fugiat velit consectetur aute cillum", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/sL./~0/~1/~0/jp/~1/~0/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "laborum veniam", "highlightString": "ut" }, { "key": "ullamco laboris nulla et", "highlightString": "in eu sint do" }, { "key": "ex nostrud", "highlightString": "Duis culpa laborum" }, { "key": "Duis", "highlightString": "labore laborum" } ], "status": "complete", "previous": { "incomplete": [ "workflow_start" ], "complete": [ "e28f" ], "error": [ "e28f", "workflow_start", "workflow_start", "3a1f", "error_handler" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "loop" }, { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "quis tempor aliquip", "start_time": "1973-11-16T08:08:27.875Z", "end_time": 42879081.02279428, "finish_state": "error", "retrySettings": null, "type": "automatic" } }, "parent": { "task": "tempor consectetur magna", "iteration": 57092029.745603025, "element": 29283189.89005661 }, "errorHandler": { "actor": "$var.2612.LKpGBW7w", "groups": [ "default", "37351811b3a74509a5003eac", { "_id": "fe119a3c9bf6013a8ad98ea2", "provenance": "fugiat Excepteur mollit", "name": "esse reprehenderit aliquip sit", "description": "aliqua", "memberOf": [ { "groupId": "8b3cd50c1e76289524140f69", "aaaManaged": true }, { "groupId": "6c143e6bf04d4909e7788008", "aaaManaged": false }, { "groupId": "58c4e288883c468bf2e22f42", "aaaManaged": false }, { "groupId": "10486bea39cf69351b4df8ae", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nostrud exercitation nisi ipsum" } ], "inactive": true, "_meta": { "created": "2003-01-21T09:33:18.977Z", "updated": "2005-05-14T05:49:55.624Z", "migrationVersion": -28730509 } }, "eb25474e590ce6a47b32c32b" ], "iterations": [ "EAfebB96-cdbF-796c-EFCb-b92c868A1CC8" ], "x": -77143554.35700093, "y": -95851162.94202201, "gridCoordinate": { "x": -78041395.13463047, "y": -66503046.6226082 }, "name": "veniam consectetur", "location": "Adapter", "locationType": null, "app": "exercitation magna eu", "canvasName": "reprehenderit Duis", "displayName": "dolore", "summary": "consequat aliqua labore in ipsum", "description": "commodo", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/sm8FK/~1/~0/NcR3fg,f" }, { "type": "encryption", "pointer": "/LCB/cN/~1/oVsI/ycYhoKJjB/u/Y1L" }, { "type": "encryption", "pointer": "/~0/~1/~1/WVSnw.eeL/WOmi1/RMJsMYJAt-+/caeWq7Feg-/aqhoYFv/~0/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "ipsum amet elit reprehenderit magna", "highlightString": "cillum amet fugiat" }, { "key": "fugiat aute anim cillum qui", "highlightString": "ut" }, { "key": "amet", "highlightString": "laboris in ipsum" }, { "key": "sed", "highlightString": "exercitation amet laboris sunt ex" }, { "key": "nostrud in aliquip", "highlightString": "elit ad" } ], "status": "paused", "previous": { "incomplete": [ "workflow_end" ], "complete": [ "error_handler", "workflow_end" ], "error": [ "e28f", "e28f", "error_handler", "workflow_end", "workflow_end" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_end", "type": "loop" } ] }, "serverId": "Lorem labore", "start_time": "1973-02-27T15:15:13.939Z", "end_time": 19072394.931262597, "finish_state": "error", "retrySettings": { "state": [ "error", "failure" ], "autoRetry": true, "limit": 11581440, "delay": 19907403, "count": 64837061, "finishedRetrying": true }, "type": "automatic" }, "groups": [ "default" ], "watchers": [ { "_id": "32f37eaacb668b1722a2d4db", "provenance": "ea veniam Ut elit in", "username": "ut esse Excepteur", "firstname": "magna elit", "memberOf": [ { "groupId": "1224455258271b6a27509ed0", "aaaManaged": true }, { "groupId": "33ea5a0248d6907aed6fa5c6", "aaaManaged": true }, { "groupId": "7ec5f6facccfce4ff8a9bcc7", "aaaManaged": false }, { "groupId": "3a8685792f953d0936b209c8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "fugiat ad elit Excepteur deserunt" }, { "roleId": "laborum dolor ipsum ea quis" }, { "roleId": "mollit ut Ut" } ], "inactive": true, "lastLogin": "1996-06-25T11:49:58.842Z", "_meta": { "created": "2003-04-17T16:21:29.414Z", "updated": "1960-11-15T09:41:12.267Z", "migrationVersion": -32259564 }, "email": "eiusmod adipisicing velit quis" }, { "_id": "e9f72a80c2ad3e1afb245880", "provenance": "enim ut", "username": "Duis", "firstname": "magna minim", "memberOf": [ { "groupId": "4709574bb865c4159edc9fbd", "aaaManaged": false }, { "groupId": "51988ac658c6a67fb2d2eefd", "aaaManaged": false }, { "groupId": "36912928b3af96ab46e51afc", "aaaManaged": true }, { "groupId": "12de8dd2fa84a0ea7a677b46", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Excepteur qui labore occaecat tempor" }, { "roleId": "pariatur quis ipsum" }, { "roleId": "reprehenderit deserunt aliquip sed mollit" } ], "inactive": true, "lastLogin": "1973-04-20T22:48:07.382Z", "_meta": { "created": "2013-12-17T15:43:48.221Z", "updated": "2009-11-25T07:58:53.64Z", "migrationVersion": -23791369 }, "email": "aute consectetur elit quis" }, { "_id": "19e9cce3e28dd107e5eb7613", "provenance": "non deserunt veniam", "username": "nostrud consectetur Excepteur", "firstname": "ullamco esse sunt", "memberOf": [ { "groupId": "777898e78b9ed512b7194348", "aaaManaged": false }, { "groupId": "25da4efb34b182b09e8a46f2", "aaaManaged": true }, { "groupId": "4a6a205d5be9325d905c724f", "aaaManaged": true }, { "groupId": "1d016784aae34ea54ce48b57", "aaaManaged": false }, { "groupId": "0c4d54edfa6e73788117b690", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "magna" } ], "inactive": true, "lastLogin": "1954-04-17T18:14:14.216Z", "_meta": { "created": "1994-11-12T20:37:03.436Z", "updated": "2019-12-18T01:17:27.941Z", "migrationVersion": 18530610 }, "email": "dolor" }, "e1bc0ad05ab6bee20ce71379" ], "metrics": { "start_time": -72383471.24023767, "progress": 0.8434437144496891, "end_time": 98848230.52128047, "user": { "_id": "93956fb6f8c291141935d33f", "provenance": "Lorem amet aliqua dolor ullamco", "username": "eiusmod dolore", "firstname": "mollit", "memberOf": [ { "groupId": "a7cfd5de42a1475207b36d58", "aaaManaged": true }, { "groupId": "aac6dddd0923f2878c13143f", "aaaManaged": true }, { "groupId": "5f0d243577501fd6f5629ff6", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut quis nisi exercitation tempor" }, { "roleId": "fugiat irure minim deserunt" }, { "roleId": "eiusmod sunt nisi nulla consectetur" }, { "roleId": "in" } ], "inactive": false, "lastLogin": "1969-02-15T09:01:27.078Z", "_meta": { "created": "1975-07-29T02:27:03.432Z", "updated": "1975-07-05T15:21:02.62Z", "migrationVersion": 52097124 }, "email": "aliquip tempor non" }, "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }