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": "commodo sed anim" } }
{ "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": "14fade275c3e6279c7ff352b", "font_size": -76977409, "type": "resource:compliance", "created": "1970-08-23T22:37:57.147Z", "last_updated": "1982-11-24T12:33:44.135Z", "createdVersion": "6992.339.1173333-1805.3019.8.4", "lastUpdatedVersion": "045572.8.0152690717-0498.0218581.747.93", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -27591366, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 71272785.24511826, "sla": -70019202.68878284, "decorators": [ { "type": "encryption", "pointer": "/oFC2/Q8/~0/n/pQPN/TUj/~0/~1/~1/w-" }, { "type": "encryption", "pointer": "/~1/~1/~1/~0/~1/c-sGlf/sWHyuIf6Af/~0/~1/~1" } ], "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": "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": "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": "non sunt ad ipsum" } ], "ancestors": [ "2b5de82e02761426c9b2c0f0" ], "validationErrors": [ { "keyword": "cupidatat culpa", "instancePath": "dolor", "schemaPath": "dolore nostrud veniam aliquip nisi", "message": "dolor ea occaecat nulla" }, { "keyword": "ipsum pariatur occaecat", "instancePath": "minim fugiat dolore sed ullamco", "schemaPath": "aliquip", "message": "sed cillum" }, { "keyword": "pariatur incididunt culpa", "instancePath": "id in aliquip", "schemaPath": "dolor nostrud occaecat", "message": "ut dolor exercitation culpa" } ], "created_by": null, "last_updated_by": null, "tasks": { "1": { "actor": "job", "groups": [ "5bbe364ad44b63a2454c2fda", "default", { "_id": "404453c6170e0a6f921e560d", "provenance": "adipisicing eiusmod in anim magna", "name": "Excepteur exercitation irure", "description": "non Duis veniam", "memberOf": [ { "groupId": "584a12ba07afadd9cff9435a", "aaaManaged": false }, { "groupId": "3729d723fd558e6e8fd965d7", "aaaManaged": true }, { "groupId": "4e9b2cf26705f399b9f8dcb6", "aaaManaged": true }, { "groupId": "69826d1ec53eaef914f24a92", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ea labore pariatur qui eu" }, { "roleId": "incididunt" }, { "roleId": "tempor culpa sunt anim minim" } ], "inactive": true, "_meta": { "created": "2005-03-04T01:59:08.357Z", "updated": "2022-11-11T04:19:45.195Z", "migrationVersion": 75412800 } }, { "_id": "722c423fbeb2a4c276305053", "provenance": "consequat dolore", "name": "fugiat eu minim pariatur", "description": "irure sit culpa laboris", "memberOf": [ { "groupId": "e654bff1d35dea1084c4d303", "aaaManaged": false }, { "groupId": "e7cb2b71eb1f966de3a12a1f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "fugiat enim Lorem non incididunt" }, { "roleId": "sed est incididunt eiusmod occaecat" }, { "roleId": "consequat proident laboris cupidatat Duis" }, { "roleId": "culpa" } ], "inactive": false, "_meta": { "created": "1987-03-21T08:04:09.565Z", "updated": "1989-07-13T22:29:22.212Z", "migrationVersion": 56478139 } }, "68086658e2b28de6342a6f4b" ], "iterations": [ "3f366beE-A861-3Eba-0537-abdE98454Dac" ], "x": 7560434.529722884, "y": 97625320.95717543, "gridCoordinate": { "x": 97482347.87720579, "y": -89858987.76871854 }, "name": "esse laborum ipsum", "location": "Adapter", "locationType": null, "app": "ex do magna commodo nulla", "canvasName": "laborum officia commodo ullamco", "displayName": "eu labore in dolor", "summary": "non anim", "description": "consectetur voluptate", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/hyXb/PEd1HP43U/S/~1" }, { "type": "encryption", "pointer": "/aMfsD9/~1/GFW/DWC6/iFd5N" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "aliquip incididunt sint adipisicing Excepteur", "highlightString": "consectetur ea ut" }, { "key": "nostrud in", "highlightString": "elit nostrud" }, { "key": "consequat", "highlightString": "fugiat elit voluptate exercitation" }, { "key": "mollit tempor sit pariatur", "highlightString": "in" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_start", "workflow_start", "error_handler", "workflow_start" ], "complete": [ "workflow_start", "error_handler", "error_handler", "error_handler" ], "error": [ "error_handler", "workflow_start", "workflow_start", "e28f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "magna est labore pariatur tempor", "start_time": "1957-02-16T14:06:56.009Z", "end_time": -9719559.383866146, "finish_state": "success", "retrySettings": { "state": [ "success", "success" ], "autoRetry": true, "limit": 14517231, "delay": 88142879, "count": 13877348, "finishedRetrying": true }, "type": "manual", "view": "eiusmod dolor" }, "workflow_start": { "x": -33288708.228643097, "y": 27636013.90862988, "gridCoordinate": { "x": 61865017.21142045, "y": -69375133.2316567 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -27679185.673854083, "finish_state": "failure", "user": null }, "groups": [ "default", "default", "default", { "_id": "c029f4e414c71cb7df270938", "provenance": "non velit", "name": "incididunt ex irure ipsum", "description": "aliquip", "memberOf": [ { "groupId": "7c8fb274dc716afb54230ed2", "aaaManaged": false }, { "groupId": "119f3082f03440042687a3eb", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ad pariatur velit" }, { "roleId": "consectetur" }, { "roleId": "ea consectetur Duis cillum" }, { "roleId": "mollit proident" }, { "roleId": "officia aliqua aliquip voluptate ut" } ], "inactive": true, "_meta": { "created": "1953-10-13T23:30:38.08Z", "updated": "2022-11-23T16:02:21.055Z", "migrationVersion": 74499041 } }, "default" ], "iterations": [ "6dC2366E-1Fcc-DAFA-8DAC-D6AD10B235Af" ] }, "workflow_end": { "x": -460335.3720025122, "y": -90205570.54325083, "gridCoordinate": { "x": 22611156.27213885, "y": -60994231.79371657 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "e28f", "workflow_end", "e28f" ], "complete": [ "error_handler" ], "error": [ "error_handler", "workflow_end", "workflow_end" ] }, "metrics": { "end_time": -80199484.55627795, "run_time": 95946444.3789123 }, "groups": [ { "_id": "d786544a465b7cd8ddf28c40", "provenance": "laborum Duis sint et esse", "name": "pariatur", "description": "id in quis consectetur", "memberOf": [ { "groupId": "ac1433b28bc2c685e525a5a1", "aaaManaged": false }, { "groupId": "f1db78952a9ed86cf4623bd3", "aaaManaged": false }, { "groupId": "b8e73e07d84e983d4ef90b58", "aaaManaged": true }, { "groupId": "4da56086fee86c89d42a545c", "aaaManaged": true }, { "groupId": "1856cf26a92bd479d84e54ee", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "incididunt veniam in amet" }, { "roleId": "Excepteur" }, { "roleId": "do" } ], "inactive": false, "_meta": { "created": "1948-05-03T19:16:40.944Z", "updated": "1987-06-26T01:18:53.757Z", "migrationVersion": -6291269 } }, "ede5a0c358b34a08c583fff5", "dc0787d09895e94f7ecd4d48", "3d3af783ba80bdc087cb983c", "5f9d16fddaeb5822f4f510f3" ], "iterations": [ "8C29BB61-f684-ABBC-697C-6582a99Bf9EF" ] }, "error_handler": { "x": 45155882.68897045, "y": -63281580.78328125, "gridCoordinate": { "x": 8076942.457332283, "y": -5911557.997626722 }, "name": "childJob", "location": "Application", "locationType": null, "app": "dolor enim", "canvasName": "Ut deserunt ea", "displayName": "in do sunt occaecat", "summary": "aliqua", "description": "Duis elit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/l/~0/~1/cl/~0/~1/~0/sB5/~1/~0/~0" }, { "type": "encryption", "pointer": "/W/Y,." } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "aliquip", "highlightString": "nulla" }, { "key": "fugiat Duis deserunt cupidatat nostrud", "highlightString": "qui mollit consectetur esse ipsum" }, { "key": "nisi eu in pariatur", "highlightString": "ea" }, { "key": "culpa cupidatat incididunt minim", "highlightString": "officia sed sit voluptate" }, { "key": "consectetur in reprehenderit laboris", "highlightString": "ut sed" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_end", "error_handler", "error_handler" ], "complete": [ "e28f", "3a1f", "3a1f" ], "error": [ "workflow_end", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "in magna ipsum dolor", "start_time": "2000-08-21T07:12:12.553Z", "end_time": -22621961.634952873, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "21f83c2307f03eb6aeacac81", "provenance": "qui Excepteur fugiat amet nisi", "name": "dolore commodo", "description": "id exercitation culpa in cupidatat", "memberOf": [ { "groupId": "28badb64136c62cc10cc0d34", "aaaManaged": true }, { "groupId": "2b506225e8f4406377ea0668", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consequat laborum in" }, { "roleId": "ad ut anim nostrud" } ], "inactive": false, "_meta": { "created": "1952-07-14T06:18:20.296Z", "updated": "1963-12-28T15:28:41.619Z", "migrationVersion": 5123539 } }, "1b1c44d36a7600bddf0bdacd", { "_id": "9cd122d6d555acc9d8dabd5a", "provenance": "veniam ea culpa", "name": "dolor mollit voluptate in laborum", "description": "ipsum", "memberOf": [ { "groupId": "085c43e05e3c4745ac5227c6", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sit" }, { "roleId": "tempor" }, { "roleId": "enim non" } ], "inactive": true, "_meta": { "created": "2022-07-29T05:07:11.347Z", "updated": "1971-06-02T15:18:09.477Z", "migrationVersion": -39213976 } }, "49980639119dc685b8da0987" ], "iterations": [] } }, "parent": { "job": "consectetur commodo", "task": "consectetur cillum", "iteration": 17863459.76256931, "element": -1072909.70157367 }, "errorHandler": { "actor": "job", "groups": [ "default", "default", { "_id": "478384f6ed623427f47de4b8", "provenance": "dolore", "name": "ad ipsum", "description": "dolor", "memberOf": [ { "groupId": "65afc3f46a6aa30983f871f1", "aaaManaged": false }, { "groupId": "eac02d69c3442e54615727c4", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut" }, { "roleId": "velit sint" } ], "inactive": false, "_meta": { "created": "1974-05-10T20:35:09.571Z", "updated": "1984-08-08T23:11:02.12Z", "migrationVersion": -47689304 } } ], "iterations": [], "x": -34357230.99595864, "y": 869350.5953662097, "gridCoordinate": { "x": 75153069.99686548, "y": -18357368.066709995 }, "name": "in esse", "location": "Adapter", "locationType": "officia qui elit ex", "app": "reprehenderit deserunt", "canvasName": "est nisi culpa sed", "displayName": "dolor officia pariatur dolore", "summary": "pariatur proident Duis sunt", "description": "Ut commodo nulla adipisicing", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/J.hih3" }, { "type": "encryption", "pointer": "/OX-/DbzA6r/tmUj/~1/~0/Ju0MHKnVem/YY115Xiu/~0" }, { "type": "encryption", "pointer": "/wmuUr/~0/GLe/~0/MChGO44/i/~1/~1/kQl8" }, { "type": "encryption", "pointer": "/~0/KT9kSCLl9/~0/~0/~0/Uk47Iiu5/~1/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "Lorem do officia", "highlightString": "in" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_start" ], "complete": [ "error_handler", "workflow_start" ], "error": [ "error_handler", "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "commodo consectetur", "start_time": "1964-02-03T14:35:12.445Z", "end_time": 51820698.20493412, "finish_state": "error", "retrySettings": { "state": [ "error" ], "autoRetry": false, "limit": 38389461, "delay": 30907568, "count": 43437082, "finishedRetrying": true }, "type": "manual", "view": "in aliqua laborum sunt et" }, "groups": [ "ae2a67c99dc18e2eb2fd1fd0", "7d7b476b965ff7ae2bf34773" ], "watchers": [ { "_id": "ae282bfaf55fb37f74d5c416", "provenance": "dolor mollit aute", "username": "anim", "firstname": "commodo ut sint qui", "memberOf": [ { "groupId": "9f910ba4e2f21568ad7f99d9", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ex sit" } ], "inactive": false, "lastLogin": "1995-08-25T20:45:43.495Z", "_meta": { "created": "1991-08-12T10:20:46.337Z", "updated": "1965-05-31T11:16:08.071Z", "migrationVersion": 49495281 }, "email": "cillum esse elit nostrud amet" }, null, "Pronghorn", null, "6ec4b7a4de95849c56d83362" ], "metrics": { "start_time": 23382320.213010788, "progress": 0.1634344361528468, "end_time": -79646767.69645406, "user": null, "owner": "bc42ab40e54ccc6689931868" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }