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": "exercitation ipsum" } }
{ "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": "06e6ecef38282f30e91afa42", "uuid": "7185388e-0d7d-c16a-b5da-6b6539082df4", "font_size": -75215587, "type": "resource:compliance", "created": "1950-09-04T10:07:08.609Z", "last_updated": "1950-08-25T13:33:42.215Z", "createdVersion": "6670382409.8478.545-9069.6497216.35316.2908", "lastUpdatedVersion": "09770.4001714.9", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -46525578, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -47967488.95671556, "sla": 55813536.52083561, "decorators": [ { "type": "encryption", "pointer": "/mc/3X/m-J0Lh,t" }, { "type": "encryption", "pointer": "/tPrTGSN/s,zxrGlUEyC/r3NeS/~0/~0/GiSZx9mpY/~0/~1/hc/i5K" }, { "type": "encryption", "pointer": "/~0/~1/tPEKY4fj/~1/~1/~0/~1" }, { "type": "encryption", "pointer": "/~0/w+V28pgq/dL/jL-OyT/rhOmaL./~1/VzgQA221wnc" } ], "status": "incomplete", "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 }, { "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": "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", "message": "culpa" } ], "ancestors": null, "validationErrors": [ { "keyword": "nostrud sunt id", "instancePath": "amet ex", "schemaPath": "reprehenderit et do elit anim", "message": "dolor mollit aute" }, { "keyword": "nostrud", "instancePath": "cillum in proident aliqua", "schemaPath": "sunt non pariatur fugiat ullamco", "message": "irure nisi in nostrud" }, { "keyword": "aliquip amet", "instancePath": "consequat Ut dolore proident fugiat", "schemaPath": "labore nulla et", "message": "aliquip" } ], "created_by": null, "last_updated_by": { "_id": "3635d90df1786525d6b07a5e", "provenance": "eiusmod sit tempor fugiat", "username": "ullamco proident consequat", "firstname": "aliquip dolor dolore", "memberOf": [ { "groupId": "79f7ff09b306c47030109384", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliquip labore esse" }, { "roleId": "occaecat" }, { "roleId": "nulla Lorem" }, { "roleId": "elit ex minim enim ut" }, { "roleId": "veniam" } ], "inactive": false, "lastLogin": "2021-05-15T18:52:16.497Z", "_meta": { "created": "1999-12-09T02:30:47.435Z", "updated": "2018-03-03T03:35:16.394Z", "migrationVersion": -4401727 }, "email": "minim quis" }, "tasks": { "workflow_start": { "x": -56284385.553140305, "y": 43519201.65009382, "gridCoordinate": { "x": 95105322.375049, "y": 50735570.346245766 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -55277951.933538996, "finish_state": "success", "user": "Pronghorn" }, "groups": [ { "_id": "0938dbfa5565ddab4f50e410", "provenance": "ea fugiat Ut sed consequat", "name": "ea", "description": "ea", "memberOf": [ { "groupId": "96d6169ed02fbb8d8fefd858", "aaaManaged": true }, { "groupId": "83320808fe504edb3b8ec338", "aaaManaged": true }, { "groupId": "a872f572ed825ee2ea3f9665", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "voluptate sit elit qui occaecat" }, { "roleId": "in veniam" }, { "roleId": "sit Lorem laboris culpa velit" }, { "roleId": "Excepteur Duis" }, { "roleId": "cillum in" } ], "inactive": false, "_meta": { "created": "1989-03-20T02:42:38.117Z", "updated": "1969-08-14T17:35:43.41Z", "migrationVersion": -13759740 } } ], "iterations": [ "8A6B1fCa-C2e6-a586-A7A8-eBDDeC9CDce8", "bc0AAB2a-efa7-bc8a-db7C-BC64E9c5A353", "3E3eccB9-0ECd-b1D4-75f1-8A8cf756aD5C", "149E173F-e439-9DDa-813C-B9Ac85a7a9f5" ] }, "workflow_end": { "x": -713403.3701851219, "y": -50729260.75488291, "gridCoordinate": { "x": -6404570.061223105, "y": -70886892.11036408 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f" ], "complete": [ "workflow_end" ], "error": [ "workflow_end", "workflow_end" ] }, "metrics": { "end_time": 93567842.14305428, "run_time": -17172070.67824021 }, "groups": [ "160de336cef917a0f34ca405", "default" ], "iterations": [ "c0A50c6B-AF21-c760-3BeC-D8AbA148fd2b" ] }, "error_handler": { "x": 7046600.999699265, "y": -24746886.909486502, "gridCoordinate": { "x": 36867857.49066317, "y": -31622210.693602964 }, "name": "childJob", "location": "Adapter", "locationType": "do in labore non", "app": "ex consectetur nostrud quis minim", "canvasName": "tempor nisi aliqua elit quis", "displayName": "in", "summary": "nisi ad veniam culpa sed", "description": "sed nulla sunt quis", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/ds2/zf3/THGkT" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "nostrud elit", "highlightString": "sed laborum veniam" }, { "key": "cillum ullamco sit", "highlightString": "consequat" }, { "key": "minim", "highlightString": "do ex Ut dolor" }, { "key": "adipisicing", "highlightString": "commodo in" } ], "status": "scheduled", "previous": { "incomplete": [ "error_handler", "e28f" ], "complete": [ "error_handler", "error_handler" ], "error": [ "3a1f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "error_handler", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "e28f", "type": "revert" } ] }, "serverId": "dolor dolor Duis ut mollit", "start_time": "1992-03-11T09:18:54.651Z", "end_time": -60238815.56000723, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "e3da46e039756f1ed702b3c4", "groups": [ "default", "default", { "_id": "bd4968e32fb938c15b267d2d", "provenance": "mollit", "name": "nulla laboris nostrud veniam voluptate", "description": "ex nostrud do commodo in", "memberOf": [ { "groupId": "52e5f1662dbe8c4c1d23be6b", "aaaManaged": true }, { "groupId": "4f26ede5927e017e2811051f", "aaaManaged": false }, { "groupId": "a6e74f9933f64960eb67befe", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "pariatur" }, { "roleId": "dolor aliquip" }, { "roleId": "tempor mollit Lorem dolor" }, { "roleId": "Excepteur in cupidatat aute amet" } ], "inactive": true, "_meta": { "created": "2019-12-17T04:04:51.283Z", "updated": "1991-02-06T16:58:35.772Z", "migrationVersion": 17129993 } }, { "_id": "f3718ec76445fb72317cf5b2", "provenance": "nulla", "name": "eiusmod anim consectetur ad incididunt", "description": "sed", "memberOf": [ { "groupId": "c0d0ee98ddce2384597f260f", "aaaManaged": false }, { "groupId": "40291fda651002d3c69b4eee", "aaaManaged": true }, { "groupId": "325f2b8cb2b7b64ceb292e82", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Duis" }, { "roleId": "do magna eu" }, { "roleId": "deserunt voluptate aute ut occaecat" }, { "roleId": "ad qui cupidatat sunt" }, { "roleId": "eiusmod" } ], "inactive": false, "_meta": { "created": "2023-11-06T01:41:30.134Z", "updated": "1965-10-11T20:43:59.942Z", "migrationVersion": -16964181 } }, { "_id": "aeb6a6afc48db6b2ddbb931c", "provenance": "magna ut enim", "name": "officia aliquip nulla anim", "description": "exercitation eu est aute Lorem", "memberOf": [ { "groupId": "4c364de1a02e3c4b360cfb5c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in" }, { "roleId": "cupidatat minim ad sed voluptate" }, { "roleId": "sed esse" }, { "roleId": "dolor id Lorem" } ], "inactive": true, "_meta": { "created": "1946-06-25T14:37:46.877Z", "updated": "1996-03-06T01:07:13.348Z", "migrationVersion": -42586188 } } ], "iterations": [ "cA25D23C-f91c-9811-76fF-cAc6BbeAADe8", "440c4AB1-aCfE-9bf0-eEb9-C25c9b7E0834" ] }, "c": { "actor": "Pronghorn", "groups": [ "default" ], "iterations": [ "c425b083-aec6-35cF-D170-aBe7de8Fe6cb", "AFFE72DB-b92d-a730-72A8-a61B829A65De", "c172FfEe-DEDe-A7DC-2027-b167a2a3CfcB" ], "x": -32638191.05549279, "y": 8673264.23342365, "gridCoordinate": { "x": -9075876.372442156, "y": 27364759.48587942 }, "name": "dolor Ut Excepteur", "location": "Application", "locationType": null, "app": "dolor aliquip Excepteur officia", "canvasName": "do", "displayName": "deserunt in exercitation", "summary": "magna Excepteur minim", "description": "et exercitation consectetur amet aute", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/wJ8sbr/~1/~0/MRhn,.LJU09/~1/~0/FrG8fE/yY4IaJ-" }, { "type": "encryption", "pointer": "/~0/BUTR/~1/~0/~1/~1/Vr43ojczSl/~0/~0/RW3nM" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "Ut dolore in", "highlightString": "non id et" }, { "key": "magna ad", "highlightString": "sed sunt minim quis" } ], "status": "scheduled", "previous": { "incomplete": [ "3a1f", "workflow_start" ], "complete": [ "error_handler", "e28f", "3a1f", "3a1f", "workflow_start" ], "error": [ "error_handler", "workflow_end", "error_handler", "workflow_end", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "revert" } ] }, "serverId": "eiusmod laborum", "start_time": "1961-07-10T00:31:24.884Z", "end_time": -49881982.9974753, "finish_state": "error", "retrySettings": { "state": [ "success" ], "autoRetry": true, "limit": 82397498, "delay": 19320290, "count": 63581780, "finishedRetrying": false }, "type": "automatic" } }, "parent": { "job": "ex ad", "task": "et minim nulla sed occaecat", "iteration": 14504180.51983124, "element": 76267185.68297762 }, "errorHandler": { "actor": "$var.a.8wlh", "groups": [ "ac23443047d24242839e0dab", { "_id": "e9ac2d885b4ebca0f24b2643", "provenance": "dolor laboris mollit cillum labore", "name": "occaecat ex sunt eu", "description": "velit Excepteur et ea voluptate", "memberOf": [ { "groupId": "f00cd3dc1797efe4d7a8895e", "aaaManaged": false }, { "groupId": "45441adbb2eb1dc47cfa4831", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "culpa elit" }, { "roleId": "consectetur" }, { "roleId": "sed adipisicing aute ea" }, { "roleId": "mollit" }, { "roleId": "labore anim dolore" } ], "inactive": false, "_meta": { "created": "2023-02-15T19:22:23.303Z", "updated": "1973-08-02T23:28:56.695Z", "migrationVersion": -66600119 } }, "default" ], "iterations": [ "0788bDd1-8CFC-74F3-7e6f-e3Ed4A91B7B8" ], "x": -59135446.123466864, "y": -74106086.53399344, "gridCoordinate": { "x": -45727707.536245175, "y": 89473303.56833732 }, "name": "adipisicing quis cillum", "location": "Application", "locationType": "ut deserunt in eu", "app": "amet occaecat", "canvasName": "in ipsum amet sunt", "displayName": "fugiat", "summary": "ex ut nulla commodo ullamco", "description": "Duis", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/ZpXD9/LbdrDS/uW/~0/vgy1/~0/~0/~0" }, { "type": "encryption", "pointer": "/eS6CR/gQuB30bdw7/jvC/~1/~0/~1" }, { "type": "encryption", "pointer": "/gNWFFvT2e-/~0" }, { "type": "encryption", "pointer": "/VeIy/~0/~1/NKKfkPG/~1/~1/~1/aP0JKLVmW/khc9ymv,aG/wldD7" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "magna labore sunt laborum consequat", "highlightString": "exercitation eiusmod mollit laborum" } ], "status": "paused", "previous": { "incomplete": [ "workflow_start", "e28f", "3a1f", "e28f", "workflow_start" ], "complete": [ "3a1f", "workflow_end", "error_handler", "workflow_start" ], "error": [ "error_handler", "workflow_end", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_end", "type": "revert" }, { "task": "e28f", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "sed ut", "start_time": "1958-07-23T06:41:02.999Z", "end_time": 52961896.11894056, "finish_state": "failure", "retrySettings": null, "type": "automatic" }, "groups": [ "0b6bc5a62cf3271b9a833365", { "_id": "772e6698c42eeb1f9fdeaf36", "provenance": "proident nulla anim mollit tempor", "name": "cupidatat aliquip irure fugiat", "description": "in ut officia", "memberOf": [ { "groupId": "d62d17332b192fc346f08f84", "aaaManaged": false }, { "groupId": "a6f9053864f5d6540b6c9664", "aaaManaged": false }, { "groupId": "0c20af95f9a1fdd77668c8a5", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sunt enim consequat ea" }, { "roleId": "reprehenderit Ut proident mollit Excepteur" } ], "inactive": false, "_meta": { "created": "1955-03-24T19:09:51.378Z", "updated": "2015-09-24T10:41:54.424Z", "migrationVersion": 69006946 } }, "default", "default" ], "watchers": [ "77666281ffc87d1b3a726717", "89c7154b0c2d71e1d543cea4", { "_id": "2e2ff8be8d468d850d07da70", "provenance": "sint elit dolore occaecat", "username": "elit ut", "firstname": "deserunt", "memberOf": [ { "groupId": "7c6718c954a2d57930414c0f", "aaaManaged": true }, { "groupId": "7c9b03ad7eff39f8701a0f5c", "aaaManaged": true }, { "groupId": "ddfb2c8ee590d8a87f40d847", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "voluptate nulla officia veniam amet" } ], "inactive": true, "lastLogin": "2018-07-25T07:19:35.242Z", "_meta": { "created": "1977-01-26T18:29:28.19Z", "updated": "2021-09-29T13:42:22.076Z", "migrationVersion": 25904970 }, "email": "aute labore consectetur" }, null ], "metrics": { "start_time": -40611010.98886564, "progress": 0.4218734557555144, "end_time": 28255093.453392327, "user": null, "owner": "Pronghorn" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }