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": "consequat et do ex" } }
{ "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 imported 3 of 4 documents", "data": { "_id": "fc3562d858c88660fea19bad", "font_size": 72861036, "type": "automation", "created": "1949-01-08T20:40:00.232Z", "last_updated": "1995-03-13T06:48:46.85Z", "createdVersion": "2586904.285754.85", "lastUpdatedVersion": "877202.1221890908.78858", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 65941423, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 18450890.626780674, "sla": -92634387.5972822, "decorators": [ { "type": "encryption", "pointer": "/ow+etrD/DOk/~1/~1/~0/~0/RYrl,/oGRPYIiy5f/~0" }, { "type": "encryption", "pointer": "/A46o2/~1/bOZSrXJze,/mrzi/xW3KP/L-6O/~0/~1" } ], "status": "error", "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 } ], "warnings": [ { "task": "e28f", "name": "myCoolDocumentName", "message": "incididunt" } ], "ancestors": [ "e5540199124b9fa1ef29d5f7", "8c18dd51fdaad4ce9bfd04a3" ], "validationErrors": [ { "keyword": "et elit exercitation ut", "instancePath": "cillum reprehenderit eu", "schemaPath": "Excepteur officia labore", "message": "est" }, { "keyword": "in", "instancePath": "consectetur Ut culpa dolore", "schemaPath": "sed dolor esse", "message": "pariatur ullamco minim" } ], "created_by": "Pronghorn", "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": -37020442.79031824, "y": -26640644.165838048, "gridCoordinate": { "x": 17789310.920799434, "y": -47659350.993267104 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -8268968.907222703, "finish_state": "failure", "user": { "_id": "a8589eebc173f186479aea06", "provenance": "velit sint veniam aute", "username": "in", "firstname": "anim eiusmod nostrud", "memberOf": [ { "groupId": "c0408e166d713c1b467003c4", "aaaManaged": true }, { "groupId": "051ab4cec6002d9076145bf9", "aaaManaged": true }, { "groupId": "775676354135b7aadea6ee96", "aaaManaged": false }, { "groupId": "e4dd3aae28036b6a2fe50cfe", "aaaManaged": true }, { "groupId": "d7901d41e6b115f618529a44", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "non ut" }, { "roleId": "proident tempor ipsum laborum Ut" } ], "inactive": false, "lastLogin": "1965-07-02T03:59:08.035Z", "_meta": { "created": "1953-10-30T13:13:27.741Z", "updated": "1977-05-02T14:03:45.457Z", "migrationVersion": -54300797 }, "email": "ex ipsum do pariatur" } }, "groups": [ { "_id": "30721ba3bb72b16f38bfb351", "provenance": "proident deserunt aliqua sint", "name": "Lorem", "description": "laborum laboris aliquip adipisicing ad", "memberOf": [ { "groupId": "34a058a2d3a3cf5438eeaf20", "aaaManaged": false }, { "groupId": "c1ba7d22f6f999ec0faabc31", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aliqua Ut cillum voluptate" } ], "inactive": true, "_meta": { "created": "1960-03-15T07:12:48.167Z", "updated": "1954-04-28T03:23:50.08Z", "migrationVersion": -66596721 } } ], "iterations": [ "b35346B5-f17A-FECd-1C3e-EbBBbE89a8B3", "8E01848A-330e-AFDf-eeeC-1cbacF66A8E6" ] }, "workflow_end": { "x": -27748953.537087172, "y": -44881502.82368224, "gridCoordinate": { "x": 53923891.806667, "y": -45652053.37027356 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "workflow_end", "3a1f", "workflow_end" ], "complete": [ "workflow_start", "workflow_start", "workflow_end", "error_handler", "workflow_end" ], "error": [ "workflow_start", "error_handler", "workflow_start" ] }, "metrics": { "end_time": -76379678.79778546, "run_time": 54579501.014947325 }, "groups": [ { "_id": "60bcf2c1d8617eb43d295738", "provenance": "in cupidatat", "name": "dolore magna pariatur enim amet", "description": "nostrud", "memberOf": [ { "groupId": "842265805df72c8645cb5bf3", "aaaManaged": true }, { "groupId": "5272b45afd2e1600bc7cb2db", "aaaManaged": true }, { "groupId": "b5463a4ebf714612a2281a35", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aute proident amet laboris" }, { "roleId": "tempor dolore" } ], "inactive": true, "_meta": { "created": "1979-05-15T07:39:28.436Z", "updated": "1945-09-01T15:00:20.593Z", "migrationVersion": -61110324 } }, "736c806aac76abd9e4dd7273", { "_id": "33df923f9f40e2162e02b5d3", "provenance": "fugiat minim enim Duis deserunt", "name": "et amet culpa sit qui", "description": "mollit Lorem aliqua irure laborum", "memberOf": [ { "groupId": "9afa8eaf66ebe5fe68035dd3", "aaaManaged": false }, { "groupId": "c772d0d1ad8a09e9c992b9f7", "aaaManaged": false }, { "groupId": "d8d8e7d39f22eb86d1a0a782", "aaaManaged": false }, { "groupId": "2788f5b2954db7a359b9be3b", "aaaManaged": false }, { "groupId": "d42ee59eb4c419aad0dd3ee1", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "irure in" }, { "roleId": "proident" }, { "roleId": "officia incididunt reprehenderit ipsum cillum" }, { "roleId": "Excepteur tempor in" } ], "inactive": true, "_meta": { "created": "1963-05-08T21:54:29.01Z", "updated": "1993-02-14T21:40:32.564Z", "migrationVersion": 77816422 } }, { "_id": "93746aaa4e4bc2fa2da15c8f", "provenance": "amet mollit", "name": "id sed sint velit labore", "description": "non", "memberOf": [ { "groupId": "9ebddd7821679291c2b1ce3f", "aaaManaged": false }, { "groupId": "4043f7b1b9916b9fecf91cb5", "aaaManaged": false }, { "groupId": "b1d11c3b770110e502de02b8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eiusmod laboris" }, { "roleId": "id reprehenderit adipisicing aute laboris" }, { "roleId": "nulla magna incididunt" }, { "roleId": "est ex consectetur exercitation" } ], "inactive": true, "_meta": { "created": "1963-06-20T05:22:31.187Z", "updated": "1979-07-12T10:54:02.553Z", "migrationVersion": -97295782 } } ], "iterations": [ "2ee3D597-BCfF-6e87-F507-Af81b75CfC0a" ] }, "error_handler": { "x": 45841256.85234618, "y": 4995126.790108979, "gridCoordinate": { "x": -28262014.88288848, "y": 67458624.26198447 }, "name": "childJob", "location": "Adapter", "locationType": "Ut", "app": "ut sint aute laboris incididunt", "canvasName": "ex enim sint labore", "displayName": "veniam incididunt ipsum Lorem do", "summary": "aliquip velit", "description": "dolor occaecat", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/W/~1/P/~1/n/RfOIbcgAiMa/~1/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "in ut eu ipsum", "highlightString": "aliquip occaecat pariatur cupidatat" } ], "status": "error", "previous": { "incomplete": [ "error_handler", "workflow_end", "workflow_start", "e28f" ], "complete": [ "workflow_start", "workflow_end", "workflow_start", "workflow_start" ], "error": [ "workflow_end", "workflow_end", "e28f", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "e28f", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "revert" } ] }, "serverId": "sit dolore irure quis ut", "start_time": "1963-11-04T11:38:52.885Z", "end_time": 25294412.63226913, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "Pronghorn", "groups": [ "1b707dd07f16a27e56acb361" ], "iterations": [ "a385C49C-ce1D-BCeb-aBad-099d2e0deFcd" ] }, "ecec": { "x": -61638785.021299556, "y": 59435776.96297258, "gridCoordinate": { "x": -30289910.10326387, "y": 65352717.374391824 }, "name": "labore", "location": "Application", "locationType": null, "app": "cillum in in", "canvasName": "minim commodo", "displayName": "labore", "summary": "aliqua Lorem ex nisi dolore", "description": "mollit velit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/luVVLVxW/~1/~0/~1/~0/~0/~0" }, { "type": "encryption", "pointer": "/p/nL38OcWQ" }, { "type": "encryption", "pointer": "/~0/~1/TCQnHg6" }, { "type": "encryption", "pointer": "/C8A/~0/jnY4" }, { "type": "encryption", "pointer": "/~0/~0/~1/~1/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "non", "highlightString": "est aliquip exercitation cillum fugiat" }, { "key": "commodo incididunt quis", "highlightString": "commodo" }, { "key": "dolor aliquip veniam incididunt consequat", "highlightString": "sed deserunt nulla nisi incididunt" }, { "key": "sed Lorem esse", "highlightString": "do pariatur ipsum deserunt nostrud" }, { "key": "dolor proident", "highlightString": "aute mollit occaecat" } ], "status": "paused", "previous": { "incomplete": [ "e28f", "e28f", "error_handler", "error_handler", "workflow_start" ], "complete": [ "error_handler", "error_handler", "e28f", "error_handler" ], "error": [ "workflow_end", "3a1f", "error_handler", "workflow_start", "error_handler" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "error_handler", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "dolore laborum in dolor", "start_time": "1970-07-07T05:23:54.052Z", "end_time": -60553489.619449906, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "9b3c792b3dc32fdae8ab25b7", "provenance": "incididunt ut voluptate dolor dolore", "name": "Excepteur Lorem nostrud dolor", "description": "cillum", "memberOf": [ { "groupId": "b7c0e1fcc2d4a3c9b96e7275", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "id consectetur quis minim pariatur" } ], "inactive": false, "_meta": { "created": "1980-11-20T00:00:24.497Z", "updated": "1995-02-19T20:38:56.311Z", "migrationVersion": 41373739 } }, "default", "default", { "_id": "39ab54a6460a842b68ac8d8e", "provenance": "dolore", "name": "do reprehenderit", "description": "est pariatur incididunt ad exercitation", "memberOf": [ { "groupId": "21205a28f6570dce4d36fa37", "aaaManaged": true }, { "groupId": "92b08036f514c3820849af50", "aaaManaged": false }, { "groupId": "a55314c30e7d444544e87f59", "aaaManaged": true }, { "groupId": "c17c4c651c9e91be6c79a221", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Lorem" }, { "roleId": "incididunt tempor magna sunt nostrud" } ], "inactive": true, "_meta": { "created": "1949-03-14T07:14:17.421Z", "updated": "1977-01-19T22:03:58.64Z", "migrationVersion": 44109955 } } ], "iterations": [ "C1aA66F9-603c-0Cc5-86fD-feBA516691DD", "c81F6e7B-A5b5-3a80-FCde-aFE2cb8dBD07" ] } }, "parent": { "job": "sint veniam Excepteur officia", "task": "Duis", "iteration": -1952173.070457831, "element": -98522607.01860991 }, "errorHandler": { "x": -83589133.69213626, "y": -2162910.001639366, "gridCoordinate": { "x": -145706.60519081354, "y": 93785960.00864351 }, "name": "quis eu", "location": "Application", "locationType": null, "app": "cillum id dolor in magna", "canvasName": "fugiat Excepteur ipsum", "displayName": "in", "summary": "in", "description": "enim adipisicing non", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/l51/~1/OKF." }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/WUtyR2/LF0D/~1/~0/~1/BGZF/MIKUmOl8y4L/MYW/ZB," } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "do sunt labore", "highlightString": "reprehenderit laborum adipisicing Ut anim" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_end", "error_handler", "error_handler", "workflow_end" ], "complete": [ "error_handler", "workflow_end", "workflow_start", "workflow_end", "3a1f" ], "error": [ "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "velit et laboris sunt enim", "start_time": "1974-08-09T09:38:16.322Z", "end_time": -634566.2859209776, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "134310c036f63196b91b1256", "provenance": "ad", "name": "labore do exercitation cillum", "description": "mollit Excepteur", "memberOf": [ { "groupId": "b87164c4b23f48356997444e", "aaaManaged": true }, { "groupId": "d92356f651d70eaa44574232", "aaaManaged": false }, { "groupId": "2ce2d305de03a3e9c6b934da", "aaaManaged": true }, { "groupId": "d62478bfbb4a7c55fe9dcecb", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "pariatur nisi" } ], "inactive": true, "_meta": { "created": "1993-05-08T12:59:50.695Z", "updated": "1957-12-16T07:53:54.677Z", "migrationVersion": -25609852 } }, "default", "1979d6a9c0404e9744d5d47b", { "_id": "4b5058354458cb651102e63e", "provenance": "eiusmod", "name": "dolore reprehenderit", "description": "fugiat voluptate", "memberOf": [ { "groupId": "5fa7042f8e9c75df42516996", "aaaManaged": true }, { "groupId": "88aee9a27c38d126d602d318", "aaaManaged": false }, { "groupId": "5d1a87d3a0e4834c12875e85", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Duis eiusmod ex aliquip amet" }, { "roleId": "anim reprehenderit qui" }, { "roleId": "in ut tempor dolor" }, { "roleId": "occaecat elit" } ], "inactive": false, "_meta": { "created": "2011-02-18T18:20:44.694Z", "updated": "1985-06-11T18:30:25.015Z", "migrationVersion": 21942729 } }, { "_id": "270c5c96ef1e097a0fcb066f", "provenance": "Duis", "name": "occaecat nostrud labore sit ipsum", "description": "sed deserunt Duis elit", "memberOf": [ { "groupId": "13c581659d8b14655915a92e", "aaaManaged": true }, { "groupId": "872c095affaf68c9c3d999d7", "aaaManaged": false }, { "groupId": "70a65c293fd5a830c28f456f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "elit reprehenderit" }, { "roleId": "culpa" }, { "roleId": "dolor" }, { "roleId": "ex Excepteur commodo sed eiusmod" }, { "roleId": "non Excepteur eiusmod consequat" } ], "inactive": true, "_meta": { "created": "1985-03-06T17:15:21.893Z", "updated": "1966-08-01T05:06:26.815Z", "migrationVersion": 71746299 } } ], "iterations": [ "7b945AaF-ADdf-FdF4-Bd99-de06c34f1baC" ] }, "groups": [ { "_id": "13fe5deb1b17ec5e6028ffd0", "provenance": "et cupidatat pariatur proident", "name": "reprehenderit in sint", "description": "esse aute irure dolore fugiat", "memberOf": [ { "groupId": "96daedda6aef75d53b815391", "aaaManaged": false }, { "groupId": "d5f0e32b088e03918cb3b9fc", "aaaManaged": false }, { "groupId": "04b927ac34222b4b99291ca2", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "qui ex" }, { "roleId": "occaecat labore" }, { "roleId": "Ut nostrud laboris officia consequat" } ], "inactive": true, "_meta": { "created": "2012-05-04T01:54:48.543Z", "updated": "2017-08-26T20:43:54.444Z", "migrationVersion": 62507251 } }, "default" ], "watchers": [ { "_id": "e9095f3cfd1c6363767c69d3", "provenance": "consequat irure nostrud anim reprehenderit", "username": "ullamco eu quis ad", "firstname": "officia consequat", "memberOf": [ { "groupId": "1d69ed8492511c953be3bae4", "aaaManaged": true }, { "groupId": "bfbe881957117e554d32ba91", "aaaManaged": false }, { "groupId": "4e3a2a34d5b47147bf2eb792", "aaaManaged": true }, { "groupId": "44654c3ea2b3194600d6dcd2", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consequat" }, { "roleId": "nisi" }, { "roleId": "in eu in ut" }, { "roleId": "mollit dolore nisi sit ullamco" } ], "inactive": false, "lastLogin": "1966-05-17T14:05:06.146Z", "_meta": { "created": "1988-04-23T00:44:18.14Z", "updated": "1993-01-23T20:04:01.418Z", "migrationVersion": 11855521 }, "email": "proident eu" } ], "metrics": { "start_time": 60816427.34934518, "progress": 0.12095199999675943, "end_time": -53147815.37984539, "user": null, "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }