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": "nulla dolor deserunt exercitation" } }
{ "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": "ad12dcd0fc1cc46e0ea702a9", "uuid": "9ac932b9-cab7-11f4-f299-b422ff834840", "font_size": -76673095, "type": "automation", "created": "1994-08-29T20:27:30.444Z", "last_updated": "2005-10-02T01:23:14.706Z", "createdVersion": "183411645.789.9312988535-7926.60194019.568711", "lastUpdatedVersion": "641941.124833112.0361-7459.8228.9", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -5656497, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 52602050.06416586, "sla": 71532435.66284093, "decorators": [ { "type": "encryption", "pointer": "/NwDVcFn/~1/~0/sM" } ], "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": "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 }, { "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_end", "name": "myCoolDocumentName", "message": "sed ad eu do" }, { "task": "workflow_end", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "tempor eiusmod veniam deserunt ut", "instancePath": "in in elit", "schemaPath": "nisi exercitation aute in", "message": "tempor laborum" }, { "keyword": "aliquip elit sit cillum", "instancePath": "nisi enim ullamco labore", "schemaPath": "veniam", "message": "sint nulla ipsum Lorem amet" } ], "created_by": null, "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": 25105019.404836297, "y": 18236535.54078017, "gridCoordinate": { "x": 84337100.04105005, "y": 71038998.01710764 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -13193673.728966981, "finish_state": "success", "user": "a950161baf89c1b4f588c336" }, "groups": [ "default" ], "iterations": [ "09A2D0Bc-aDa9-7C5c-292B-71295DA6b23c", "C016bE8C-Ddbb-Cd99-Ae13-ecc410Bf1dbc" ] }, "workflow_end": { "x": 82074998.38622957, "y": 4476446.088995352, "gridCoordinate": { "x": 80708121.19741112, "y": -413663.14636039734 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "workflow_start", "workflow_end" ], "complete": [ "workflow_end", "e28f", "e28f", "3a1f" ], "error": [ "e28f" ] }, "metrics": { "end_time": 44169210.415427744, "run_time": -90350991.8172531 }, "groups": [ { "_id": "36958ce42237903f98dcb978", "provenance": "dolor nostrud ut adipisicing", "name": "aute ut", "description": "Lorem in veniam", "memberOf": [ { "groupId": "70c9821a0276d547d1756bef", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nostrud sint occaecat Ut" }, { "roleId": "est irure veniam deserunt aliquip" }, { "roleId": "ut elit nulla dolore dolor" }, { "roleId": "commodo cillum eiusmod ut" }, { "roleId": "dolore ea est" } ], "inactive": false, "_meta": { "created": "1954-10-01T12:35:07.632Z", "updated": "2011-04-16T13:35:48.727Z", "migrationVersion": 21142372 } }, "a795ac58698b3de3d57b66d9", "4209666c4a91ea9545142262", "9d3b0de805c1ec4d6a195078", "default" ], "iterations": [ "F90e1094-8D5b-19Cf-C511-9BCbE80dA4AC", "28d93327-D997-d05A-d8de-A70E6dCC32B4", "9feD7052-b7c5-B0F8-5ED9-d2fd0cc965aC" ] }, "error_handler": { "x": 4045551.165856272, "y": -56534926.48180745, "gridCoordinate": { "x": -16450716.0377132, "y": -23625615.976748988 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "velit incididunt irure consectetur Lorem", "canvasName": "et deserunt", "displayName": "non in Lorem", "summary": "proident velit exercitation", "description": "et ut sed", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/nUxEz/~0/~0/~1/~0/vpdxSu1r./Ata/y/~1/t/DNmXXlZO" }, { "type": "encryption", "pointer": "/l2FnA+rXw2/am/j0/j-Cz/P6BAzS/U" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "dolor eu labore", "highlightString": "Duis elit irure" }, { "key": "nulla minim amet sit incididunt", "highlightString": "velit officia culpa nulla adipisicing" }, { "key": "enim nisi adipisicing magna elit", "highlightString": "veniam tempor eu" } ], "status": "failure", "previous": { "incomplete": [ "3a1f", "workflow_end" ], "complete": [ "3a1f", "workflow_start", "e28f", "error_handler" ], "error": [ "3a1f", "error_handler", "e28f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_end", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "fugiat", "start_time": "1976-04-03T13:42:06.852Z", "end_time": -30506854.936534554, "finish_state": "error", "retrySettings": { "state": [ "success", "success" ], "autoRetry": false, "limit": 92134283, "delay": 37410195, "count": 41558455, "finishedRetrying": false }, "type": "operation", "actor": "40e027fad9bdc9ba0552b1b7", "groups": [ "f3a1e0e98816ea45ce37623f", "default" ], "iterations": [ "d07F2D6f-cCc8-44b9-3ef3-b1C2bd9C3ae2", "9d5AA1cE-fE2c-92BD-7b7b-BFa0ee20f9d3", "a8fcd15a-ad9C-FE7a-0cBd-B12bD2043ad3", "1B1abaCf-55EA-8272-663d-E7dbe0FB0844", "C612aCc6-Caf1-aAea-AeCf-1f65eDaFaF65" ] }, "b": { "actor": "job", "groups": [ { "_id": "e3ae7828d574aef991a9b60f", "provenance": "est cillum consectetur Excepteur esse", "name": "aute", "description": "cupidatat", "memberOf": [ { "groupId": "ee5cef2b51484f57f2310e26", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "esse et" } ], "inactive": true, "_meta": { "created": "2023-10-26T12:29:02.302Z", "updated": "1981-07-01T01:28:11.29Z", "migrationVersion": 53909190 } }, { "_id": "8b61ba0165ba975dc430fbb8", "provenance": "irure cupidatat labore ipsum", "name": "commodo", "description": "anim", "memberOf": [ { "groupId": "6c5577702d29caddb5f82851", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "do dolor in eu" }, { "roleId": "aute in sed magna esse" }, { "roleId": "mollit labore dolor dolore consequat" } ], "inactive": true, "_meta": { "created": "2008-10-29T05:39:48.584Z", "updated": "1966-12-11T06:47:40.636Z", "migrationVersion": -61757666 } }, "default", "default", "default" ], "iterations": [ "DE42F50c-B1CC-f528-57bD-13C27Ddd74B2" ], "x": -90980865.86011602, "y": -41699686.589649774, "gridCoordinate": { "x": 94260667.44007674, "y": 30873673.136796847 }, "name": "pending", "summary": "adipisicing in", "description": "sed dolor" } }, "parent": { "task": "enim veniam velit id et", "iteration": -31756609.38253735, "element": -43879676.343441255 }, "errorHandler": null, "groups": [ "default", "default", "default", { "_id": "1cfd8037eac7b48da62ec362", "provenance": "occaecat quis laboris adipisicing dolore", "name": "consectetur sed velit veniam quis", "description": "Ut Lorem", "memberOf": [ { "groupId": "6be40e0625de02a5d5e4a9e1", "aaaManaged": true }, { "groupId": "71d59e950e91840cad3323b6", "aaaManaged": false }, { "groupId": "9729c6a19a9547443222474d", "aaaManaged": false }, { "groupId": "e82c6fea4c375661ced9b376", "aaaManaged": true }, { "groupId": "a446b70a7944ea1acd1dea87", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aute aliqua" }, { "roleId": "laboris ut dolore cupidatat ex" } ], "inactive": true, "_meta": { "created": "2023-11-28T04:24:02.789Z", "updated": "1985-05-26T23:28:24.216Z", "migrationVersion": 69651875 } } ], "watchers": [ "Pronghorn", "Pronghorn" ], "metrics": { "start_time": 55072173.31205484, "progress": 0.8680564282533814, "end_time": -93611715.69484736, "user": { "_id": "6c0c16ff6f5b566d9df3cc1d", "provenance": "adipisicing in non aliqua minim", "username": "veniam minim amet", "firstname": "cillum ipsum", "memberOf": [ { "groupId": "e8a67a9ddebb9b8e48b71dd5", "aaaManaged": false }, { "groupId": "13d6ccb426ae0e2367879142", "aaaManaged": true }, { "groupId": "c28f2e738f6e60cec1bcdac3", "aaaManaged": false }, { "groupId": "a5e5a9ae8b1e607e747b752e", "aaaManaged": true }, { "groupId": "dc8b4ee005d51d042300c574", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sint occaecat veniam nisi cupidatat" }, { "roleId": "voluptate proident" }, { "roleId": "elit dolor" }, { "roleId": "nisi laboris enim elit" }, { "roleId": "nostrud fugiat ullamco labore" } ], "inactive": true, "lastLogin": "1960-03-16T10:50:25.479Z", "_meta": { "created": "1977-03-09T16:14:39.92Z", "updated": "1966-03-04T04:38:08.33Z", "migrationVersion": 8303945 }, "email": "labore est fugiat" }, "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }