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": "aliquip exercitation dolor occaecat" } }
{ "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": "65f9bcf284b994ecab61ebe1", "font_size": -34817371, "type": "resource:action", "created": "1958-03-12T00:25:24.59Z", "last_updated": "2004-02-20T00:33:23.079Z", "createdVersion": "3619337159.3612766.04906165", "lastUpdatedVersion": "25478425021.8015201.4-8848.197.9934393.9156783", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 56812407, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 37771709.32586485, "sla": -23046369.63491516, "decorators": [ { "type": "encryption", "pointer": "/k/~0/t/~1/~1/ZF/aY46aAw/~1/~0/rF65/UI+nhR/~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 }, { "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": "voluptate minim" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "ullamco" } ], "ancestors": null, "validationErrors": [ { "keyword": "dolor in non", "dataPath": "aliquip cupidatat irure magna in", "schemaPath": "occaecat in", "message": "proident et" }, { "keyword": "sit cupidatat aute ipsum", "dataPath": "consequat irure veniam tempor deserunt", "schemaPath": "laboris", "message": "aliqua velit consectetur amet" } ], "created_by": { "_id": "bc1182ebf6ef50b8a0525bce", "provenance": "sint cillum", "username": "qui incididunt", "firstname": "Ut est ex velit", "memberOf": [ { "groupId": "02cad180aaf1fc9f0677e683", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "incididunt velit Lorem ex" }, { "roleId": "nostrud occaecat sint ipsum veniam" }, { "roleId": "culpa tempor exercitation ullamco" }, { "roleId": "adipisicing voluptate dolore in" } ], "inactive": false, "lastLogin": "2012-04-10T04:54:57.492Z", "_meta": { "created": "1985-07-19T21:28:10.901Z", "updated": "1947-12-10T11:00:16.385Z", "migrationVersion": -17753528 }, "email": "culpa deserunt exercitation in commodo" }, "last_updated_by": { "_id": "96d98ad9f6f71b997ce17871", "provenance": "proident Lorem", "username": "velit ut incididunt qui", "firstname": "eu nostrud elit adipisicing", "memberOf": [ { "groupId": "4fcc7a6d802fcc669e3c87d6", "aaaManaged": false }, { "groupId": "30ea018182628efafa7b1c79", "aaaManaged": true }, { "groupId": "69254261e0540c5ca33df17e", "aaaManaged": false }, { "groupId": "ea252bdeacabb8d7c24ec408", "aaaManaged": true }, { "groupId": "564fceccd3cec6e04d1361d1", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "incididunt" }, { "roleId": "laboris" } ], "inactive": true, "lastLogin": "1992-01-18T19:41:06.312Z", "_meta": { "created": "1967-05-23T20:20:01.263Z", "updated": "1961-05-23T22:31:56.116Z", "migrationVersion": -92802275 }, "email": "adipisicing id anim non" }, "tasks": { "workflow_start": { "x": 16092002.439960182, "y": -86974300.0479418, "gridCoordinate": { "x": -1117780.2665739208, "y": -42707680.63015242 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 6280502.575106844, "finish_state": "failure", "user": "5ea5ee084fa235d8fc2801a6" }, "groups": [ "default", "855fd04238acafcdb6ef00b2" ], "iterations": [ "fdaC656f-B1Cb-903b-CdBb-61D9EaFA5E7A", "40eBd385-A7D0-1Ebf-F3F9-22db872a2f75", "aedEB2c5-574E-1fF3-bCbF-AAAfF500393c" ] }, "workflow_end": { "x": 12103167.12626955, "y": -16554321.257440254, "gridCoordinate": { "x": 8429866.444938615, "y": -5564648.475040406 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "workflow_start", "workflow_end", "workflow_start" ], "complete": [ "workflow_start", "error_handler", "error_handler", "error_handler" ], "error": [ "workflow_start", "error_handler" ] }, "metrics": { "end_time": 75936516.89712456, "run_time": -5493521.537696913 }, "groups": [ "b242d480a8648ea840b20e0d", { "_id": "2f0467750121969eede22cde", "provenance": "labore tempor", "name": "quis culpa irure eiusmod proident", "description": "mollit proident culpa incididunt", "memberOf": [ { "groupId": "45d6babea98b62e6ee81e863", "aaaManaged": false }, { "groupId": "228a02bb7f4dbd640ff033de", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "pariatur fugiat ullamco" }, { "roleId": "non aliqua ea" } ], "inactive": true, "_meta": { "created": "1956-11-05T06:06:58.976Z", "updated": "1981-07-13T14:57:46.704Z", "migrationVersion": -49357675 } }, "22642bade9d4375beb23865d" ], "iterations": [ "28fcEeBB-dB7B-F2Ca-CF2D-8EfAADc78e7A", "E473a1C0-be52-Fa90-FCcC-a6Cf92ec7Bb4" ] }, "error_handler": { "x": -42602204.782256424, "y": -32902114.635384552, "gridCoordinate": { "x": 36090141.8699311, "y": -21670353.90256031 }, "name": "childJob", "location": "Application", "locationType": null, "app": "enim", "canvasName": "nostrud consectetur", "displayName": "et culpa", "summary": "dolore occaecat amet exercitation cupidatat", "description": "qui", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/QO/G/vL/x/~0/UXvZrgke/vHYJQgQsyQ" }, { "type": "encryption", "pointer": "/~0/~0/~0/wU.eGP9/FXWQ.Q/~1/X.T/~0/UE+LHkctxAJ/JLRs6Wa+/~0" }, { "type": "encryption", "pointer": "/iKav" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "est", "highlightString": "non" } ], "status": "paused", "previous": { "incomplete": [ "e28f", "error_handler" ], "complete": [ "e28f", "workflow_end", "workflow_start", "workflow_start", "3a1f" ], "error": [ "workflow_end", "e28f", "workflow_end", "workflow_start", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "revert" } ], "error": [ { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "error_handler", "type": "standard" } ] }, "serverId": "occaecat nisi Ut anim deserunt", "start_time": "2014-04-16T04:04:29.997Z", "end_time": 89886360.92067412, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": null, "groups": [ { "_id": "b9bdd5355911406e32a1ca8a", "provenance": "ut in id", "name": "sint ipsum sed magna Excepteur", "description": "sit nulla", "memberOf": [ { "groupId": "a0c65cf9cdde67dbadc5d904", "aaaManaged": true }, { "groupId": "f2e989644837f561fd0a87af", "aaaManaged": true }, { "groupId": "7731ec6511492837508fca29", "aaaManaged": true }, { "groupId": "81462b9fe9086309b86ba66d", "aaaManaged": true }, { "groupId": "c61942b45f7c939d0d87d1ff", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sint consectetur qui" }, { "roleId": "in ea nulla consequat" }, { "roleId": "incididunt sunt ex" }, { "roleId": "exercitation" } ], "inactive": false, "_meta": { "created": "1971-04-15T14:45:58.053Z", "updated": "1959-07-12T02:21:23.003Z", "migrationVersion": 79750291 } } ], "iterations": [ "2a8D7dC0-8e47-5b35-3EAF-9eE60BDCAb27", "cD8baEDD-FC69-f689-1394-4DfdDdfA9bC4", "5f0dC64e-3a42-67a6-09ce-A0dbfef89DEE" ] }, "521f": { "x": 94551015.67346826, "y": -44809935.36123457, "gridCoordinate": { "x": 98608799.52637798, "y": -28989476.535554722 }, "name": "sunt aliquip", "location": "Application", "locationType": "dolore ex", "app": "quis", "canvasName": "eiusmod Ut occaecat aute Excepteur", "displayName": "tempor velit in", "summary": "irure ut tempor et eu", "description": "dolor cillum eu quis", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/hPvO1v/fi16Cz6" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "amet eu ex ipsum", "highlightString": "reprehenderit" }, { "key": "Ut tempor voluptate eu", "highlightString": "adipisicing dolor est qui enim" }, { "key": "quis Ut commodo veniam", "highlightString": "in sed commodo" }, { "key": "aliqua sit anim Excepteur", "highlightString": "est ipsum qui Lorem" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_end", "workflow_start", "e28f", "workflow_start", "workflow_start" ], "complete": [ "e28f" ], "error": [ "3a1f", "e28f", "workflow_end", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "revert" } ] }, "serverId": "mollit", "start_time": "2002-03-01T04:29:35.452Z", "end_time": -57320042.3819678, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "default" ], "iterations": [ "Be82Be95-e151-d8cb-a9aC-2DBE3Cc7fAAc" ] } }, "parent": { "job": "exercitation consectetur ad ipsum", "task": "irure enim eu occaecat Excepteur", "iteration": -27677747.57600127, "element": 38868311.068086654 }, "errorHandler": { "x": -76198562.07724883, "y": 58305639.12101194, "gridCoordinate": { "x": 9433491.078687921, "y": 54154642.21492115 }, "name": "Excepteur velit", "location": "Broker", "locationType": "in qui Excepteur", "app": "dolor ut in", "canvasName": "ut", "displayName": "elit nulla", "summary": "dolore", "description": "elit consequat voluptate in", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0" }, { "type": "encryption", "pointer": "/~0/~1/~1/~0/wmKw/NwArOy/~1" }, { "type": "encryption", "pointer": "/~1/~0" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "eu ea", "highlightString": "ipsum dolore esse minim Lorem" }, { "key": "sit ullamco ex mollit voluptate", "highlightString": "incididunt in Excepteur" } ], "status": "failure", "previous": { "incomplete": [ "error_handler" ], "complete": [ "3a1f", "3a1f", "workflow_start", "e28f" ], "error": [ "e28f", "3a1f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "e28f", "type": "standard" } ] }, "serverId": "anim ad magna", "start_time": "2020-05-15T18:34:00.488Z", "end_time": 13264833.579458162, "finish_state": "error", "retrySettings": { "state": [ "error" ], "autoRetry": false, "limit": 55961254, "delay": 66598969, "count": 47481470, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ { "_id": "f132647c80be52fe6e48050e", "provenance": "sed cillum eu ipsum", "name": "velit adipisicing nostrud", "description": "laborum labore incididunt", "memberOf": [ { "groupId": "9fa2cb11f30c5016de88539e", "aaaManaged": false }, { "groupId": "a845fb649171f559f50e86e0", "aaaManaged": false }, { "groupId": "06a0a27105b8daba9eb18111", "aaaManaged": false }, { "groupId": "a3fd98b3f55aadabf110243a", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "fugiat" }, { "roleId": "nulla laboris aute do" }, { "roleId": "Lorem officia ad non" }, { "roleId": "ut" }, { "roleId": "do id in consectetur" } ], "inactive": false, "_meta": { "created": "1992-12-18T04:41:01.155Z", "updated": "1980-05-09T16:39:55.523Z", "migrationVersion": 31674703 } }, { "_id": "fa1fff46b434a70ddb270c5f", "provenance": "aliquip incididunt", "name": "nisi aute quis occaecat veniam", "description": "reprehenderit sunt tempor culpa esse", "memberOf": [ { "groupId": "4909d8cda092c93d262cfe5e", "aaaManaged": false }, { "groupId": "d8c54f9ab5b1fa7b8e6bd298", "aaaManaged": false }, { "groupId": "7d3017d0437e94a97abe6374", "aaaManaged": true }, { "groupId": "cfe6f9c3a37961c383963119", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "officia" }, { "roleId": "enim et" }, { "roleId": "velit do officia nisi aliquip" }, { "roleId": "in cillum voluptate" } ], "inactive": false, "_meta": { "created": "1978-09-14T05:59:42.992Z", "updated": "2006-04-21T22:21:48.332Z", "migrationVersion": -22619992 } }, "6e5653ac5058ab4474701003", "a68fbabf53c208674e0f0299", "default" ], "iterations": [ "B5171EbF-dC19-7EcF-4f1B-546Eb314EF1F" ] }, "groups": [ "default", "91be30ff5cd381eaaa86a132", "aa639a0f81d9d615095c2b38", "default", "92f163fe94a1905b15a9a28d" ], "watchers": [ { "_id": "c932bb5af1a1159b29993218", "provenance": "proident commodo ut adipisicing", "username": "adipisicing cillum", "firstname": "irure", "memberOf": [ { "groupId": "8e9d835ad6ed8d77558fb315", "aaaManaged": true }, { "groupId": "fe18dd10b021fd9f56e67504", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "eiusmod velit nulla qui" }, { "roleId": "irure tempor" } ], "inactive": true, "lastLogin": "1979-11-20T13:38:36.941Z", "_meta": { "created": "1959-08-22T03:33:20.883Z", "updated": "1977-08-18T19:44:38.6Z", "migrationVersion": -42975783 }, "email": "laboris nulla" }, "Pronghorn", { "_id": "e80119d396940c276e473760", "provenance": "cupidatat", "username": "voluptate aute in mollit", "firstname": "elit laboris Ut adipisicing nulla", "memberOf": [ { "groupId": "0e0eb5376e36e0137a663db9", "aaaManaged": true }, { "groupId": "43b010b31d57acca1a823959", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Lorem incididunt" } ], "inactive": false, "lastLogin": "1960-08-09T21:04:09.1Z", "_meta": { "created": "1971-08-24T02:18:12.08Z", "updated": "2023-10-14T10:54:09.147Z", "migrationVersion": 20915489 }, "email": "velit fugiat amet" } ], "metrics": { "start_time": -79433083.81787406, "progress": 0.4886176216969611, "end_time": 21133422.505810767, "user": null, "owner": { "_id": "d50fb2341ad07964898b00dd", "provenance": "consequat non nulla", "username": "nulla esse", "firstname": "minim velit dolor nostrud", "memberOf": [ { "groupId": "e3d9d9f783ea64bc0b14ce59", "aaaManaged": true }, { "groupId": "ba3ad053663323fc9465b7e8", "aaaManaged": false }, { "groupId": "412b2a77415e2cf4de8d8d98", "aaaManaged": true }, { "groupId": "d7b3a080149c2f90e3f14ab1", "aaaManaged": false }, { "groupId": "0e136676eb7338b6292c2df7", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cupidatat eu" }, { "roleId": "dolor eu anim exercitation" } ], "inactive": true, "lastLogin": "1967-04-26T08:53:45.032Z", "_meta": { "created": "1979-05-25T21:31:53.785Z", "updated": "1954-01-02T06:01:59.629Z", "migrationVersion": -47168489 }, "email": "adipisicing ea ullamco reprehenderit" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }