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": "qui id elit" } }
{ "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": "bc5563b3293017bb97b31957", "font_size": -72483302, "type": "automation", "created": "2002-10-05T13:11:32.742Z", "last_updated": "1962-10-28T07:17:27.833Z", "createdVersion": "6877.08722629855.009366", "lastUpdatedVersion": "8427065609.1171.38", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -36819070, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 66619147.94976002, "sla": 83048026.49538144, "decorators": [ { "type": "encryption", "pointer": "/~0/g/bmyGL9/~1/~0/ks/fY/pi" } ], "status": "complete", "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": "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": "3a1f", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "commodo minim cillum nulla dolore" } ], "ancestors": [ "c93e3b9f852ad4a9b6ba5f42", "d08fae8b9dcdf47fc46dedf2", "79dbe6a003e42373532e1c34" ], "validationErrors": [ { "keyword": "officia dolore", "instancePath": "amet proident minim elit exercitation", "schemaPath": "cupidatat adipisicing nostrud ipsum ea", "message": "minim exercitation" }, { "keyword": "labore tempor et eiusmod", "instancePath": "officia esse sint reprehenderit", "schemaPath": "sint enim", "message": "aute" } ], "created_by": "d3cb5c742a0e2e82432ccc53", "last_updated_by": { "_id": "dfc590c56f75032233aaa0af", "provenance": "adipisicing ullamco est", "username": "Lorem", "firstname": "dolor consectetur do pariatur veniam", "memberOf": [ { "groupId": "234118a8eec13580881d1fcd", "aaaManaged": false }, { "groupId": "7cfd98da70e3a68135227e12", "aaaManaged": false }, { "groupId": "05d0ea05fb98f3fd2a7d0628", "aaaManaged": false }, { "groupId": "20ff1731caaec953986a5913", "aaaManaged": true }, { "groupId": "8355523882c6658a753ac22d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "irure in mollit" } ], "inactive": true, "lastLogin": "1973-07-25T17:39:43.248Z", "_meta": { "created": "2021-10-09T03:22:57.838Z", "updated": "1951-11-13T14:12:36.375Z", "migrationVersion": -51852450 }, "email": "commodo sed incididunt" }, "tasks": { "workflow_start": { "x": 74120073.62073824, "y": -10666349.61861892, "gridCoordinate": { "x": 74513564.89277142, "y": -49238376.201885805 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -49374618.13303856, "finish_state": "failure", "user": { "_id": "2742182b088691a12f67af85", "provenance": "sed anim", "username": "voluptate", "firstname": "dolor esse exercitation enim", "memberOf": [ { "groupId": "d00f7ea776ccccc89fd0d851", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "irure pariatur qui ad aliquip" } ], "inactive": false, "lastLogin": "1977-11-20T03:59:17.728Z", "_meta": { "created": "1955-04-17T00:11:33.76Z", "updated": "2017-03-21T14:50:20.694Z", "migrationVersion": -45214938 }, "email": "esse" } }, "groups": [ "b39cdb4ac5a7c071e34f1f4a", "197fdf643d0226b18617092b", { "_id": "9a45645143c80078780231e3", "provenance": "ut sint nisi aliqua irure", "name": "non ad", "description": "cillum laborum", "memberOf": [ { "groupId": "0a892eb89411f18f5b8bf069", "aaaManaged": true }, { "groupId": "aa52b14aba7e9de0f1eb7988", "aaaManaged": true }, { "groupId": "0cd36c26fc5bb983d787c1ac", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "enim Ut aliqua Excepteur" }, { "roleId": "eiusmod magna Lorem adipisicing dolor" }, { "roleId": "cupidatat esse" }, { "roleId": "ipsum fugiat aliqua" }, { "roleId": "laborum Ut incididunt" } ], "inactive": true, "_meta": { "created": "1998-06-29T09:46:56.148Z", "updated": "1985-06-25T20:04:15.112Z", "migrationVersion": 32577885 } } ], "iterations": [ "2dC71c8f-152e-7A75-61ed-2004EC9AdcAF", "b67a0287-C0c0-ff17-6a7C-d2d4acdaAadf" ] }, "workflow_end": { "x": -54929286.45330166, "y": 96035063.76024672, "gridCoordinate": { "x": 57884828.53062186, "y": 79159533.11951292 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start" ], "complete": [ "e28f", "workflow_start", "error_handler", "e28f" ], "error": [ "error_handler", "workflow_start" ] }, "metrics": { "end_time": -70109826.33018145, "run_time": 82504961.23512942 }, "groups": [ { "_id": "476a6da285c586d0ce498b4f", "provenance": "dolor adipisicing", "name": "amet dolore aute", "description": "in officia enim consectetur", "memberOf": [ { "groupId": "0d1d3e2af77ba9405a7def4f", "aaaManaged": true }, { "groupId": "94e580b049888c011a72e503", "aaaManaged": true }, { "groupId": "83e9034fbbb882439e77a756", "aaaManaged": true }, { "groupId": "d02e8cbd7038ade02db88eef", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "exercitation sed sit sint" }, { "roleId": "in ipsum esse nisi dolore" }, { "roleId": "Duis id veniam" }, { "roleId": "ullamco" }, { "roleId": "veniam" } ], "inactive": true, "_meta": { "created": "1966-06-10T01:38:38.267Z", "updated": "2002-02-24T06:36:21.984Z", "migrationVersion": -8117031 } } ], "iterations": [ "4E3B24Ae-5F73-dfcc-7d19-99Cbb032ABD0", "7c2d4cf3-5FAD-552d-CffB-ED465C5bC56F", "D08998C2-A0B1-DaCf-600A-Bb72653412EC" ] }, "error_handler": { "x": 41021596.53192708, "y": 67602842.81107563, "gridCoordinate": { "x": 55507769.62500733, "y": 37837145.34568387 }, "name": "childJob", "location": "Broker", "locationType": "dolor in ut et", "app": "proident in", "canvasName": "sunt", "displayName": "nisi", "summary": "esse minim laborum eiusmod mollit", "description": "ad ea enim", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/xZA/~0/cfumdVN/TC/F-TMiz/~1/o7Ppc/iO,z3pef/~1/~0/m" }, { "type": "encryption", "pointer": "/GxHHRbAms2,/t/~0" }, { "type": "encryption", "pointer": "/~0/fWmC4I" }, { "type": "encryption", "pointer": "/CKSBEFvR/nEXpyOM/~0/ps/~0/nATw/-Zj/~1/~0/OOS1UgQd/~0/~0" }, { "type": "encryption", "pointer": "/A4MYz1Z/egSrms-K0/~0/~1/ezm/~1/~0/~1/gln5Z" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "magna fugiat ad", "highlightString": "reprehenderit nostrud labore anim" }, { "key": "do sunt ut esse aliqua", "highlightString": "proident adipisicing" }, { "key": "eu quis mollit Lorem", "highlightString": "id qui eiusmod veniam consequat" }, { "key": "ut cupidatat nulla", "highlightString": "et adipisicing consequat" }, { "key": "proident eiusmod aliquip aliqua dolore", "highlightString": "aliquip cupidatat laboris consectetur" } ], "status": "incomplete", "previous": { "incomplete": [ "3a1f", "workflow_start", "3a1f", "workflow_start" ], "complete": [ "error_handler", "e28f", "error_handler", "workflow_start", "workflow_start" ], "error": [ "workflow_start", "workflow_end", "error_handler", "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "workflow_end", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "enim amet esse voluptate ut", "start_time": "1977-03-13T08:35:23.735Z", "end_time": -8500253.835674658, "finish_state": "error", "retrySettings": { "state": [ "error", "success", "error", "failure" ], "autoRetry": false, "limit": 89920178, "delay": 87548831, "count": 28851571, "finishedRetrying": true }, "type": "operation", "actor": { "_id": "66b6aae90b5650fff536f3a1", "provenance": "nulla mollit enim id Duis", "username": "nisi velit qui", "firstname": "consequat laboris ut ea officia", "memberOf": [ { "groupId": "05a95285e31fa46755436cc1", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nostrud culpa tempor in" }, { "roleId": "laborum dolor Lorem occaecat" } ], "inactive": true, "lastLogin": "1947-03-19T16:27:16.253Z", "_meta": { "created": "2001-02-07T19:34:22.518Z", "updated": "1998-07-04T10:08:07.389Z", "migrationVersion": 44429626 }, "email": "quis" }, "groups": [ "default", { "_id": "c36455bd3f93137b186c6cd4", "provenance": "dolore", "name": "consectetur", "description": "Excepteur aliquip ex", "memberOf": [ { "groupId": "9d2aa80547793ef66b0c351d", "aaaManaged": false }, { "groupId": "a5d99bc22f6ed5f6ce737a95", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nostrud ea sint in" } ], "inactive": true, "_meta": { "created": "2023-03-02T00:03:59.022Z", "updated": "1988-05-26T12:51:12.273Z", "migrationVersion": 78086655 } }, "35470b11c0ddfb1d3d1d1838", { "_id": "b30a662413e2554e69da2e60", "provenance": "quis commodo aliqua incididunt minim", "name": "occaecat ad nostrud dolore minim", "description": "tempor", "memberOf": [ { "groupId": "c09e67325c5378bd7f76b640", "aaaManaged": true }, { "groupId": "44afe8d0733a56421de1f29b", "aaaManaged": true }, { "groupId": "6ca8ec770157d2c434a87b6c", "aaaManaged": true }, { "groupId": "cdfd0fe16e010e5745146705", "aaaManaged": false }, { "groupId": "8834f52cc04fb0b8897071ca", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolore et" }, { "roleId": "consectetur in" }, { "roleId": "minim occaecat aliquip" } ], "inactive": true, "_meta": { "created": "1996-11-24T18:24:19.538Z", "updated": "1963-12-31T18:49:18.68Z", "migrationVersion": -15130260 } }, "709f5a7ffc0da310324e2810" ], "iterations": [ "d2D2F6Fe-4CC2-2E69-4C32-7DCF7e7Cf42c", "7aaFD60b-df71-FE28-12af-4F6B5fa4FeCe" ] }, "49d1": { "x": -56416117.547174685, "y": 51337835.73953134, "gridCoordinate": { "x": 4274758.166183457, "y": 74307980.90618902 }, "name": "Excepteur incididunt dolor fugiat cupidatat", "location": "Adapter", "locationType": null, "app": "eu occaecat id reprehenderit ut", "canvasName": "dolor veniam ut ipsum sed", "displayName": "ex est in amet", "summary": "qui", "description": "pariatur est ut in", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/DSyyr/qu7ojPNygz7/OuOYJ0tLLBU/~0/~0/OL6TyU1" }, { "type": "encryption", "pointer": "/x81E4RxOr/Z-3nQYanN5/OAz/N-/EdJv7bI7GUs/T--/aVL" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "aliqua ad", "highlightString": "officia exercitation" }, { "key": "velit ipsum dolore", "highlightString": "commodo" }, { "key": "laboris nulla id Duis", "highlightString": "ea" } ], "status": "scheduled", "previous": { "incomplete": [ "error_handler", "error_handler" ], "complete": [ "e28f" ], "error": [ "error_handler" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "3a1f", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "revert" } ], "error": [ { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "standard" } ] }, "serverId": "adipisicing ut proident", "start_time": "1998-05-27T15:50:33.609Z", "end_time": -91597995.03143074, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "a62cca918abe928474503024", "default", "bdc24ea2c0069f4720d45e6f", "c647eca3fd19636244f564b7", { "_id": "844c521a889ee0dbadeb922c", "provenance": "voluptate", "name": "magna nisi adipisicing", "description": "consequat aliqua", "memberOf": [ { "groupId": "26b80587b5c59a5210ee1487", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ex commodo magna amet enim" }, { "roleId": "irure magna qui" } ], "inactive": true, "_meta": { "created": "2013-01-12T13:24:59.331Z", "updated": "1949-11-19T18:01:57.214Z", "migrationVersion": -6429870 } } ], "iterations": [ "D3dfcce3-E023-bCf7-AB41-B9aE0dffbda4", "5C131fBe-f767-3fB2-90a2-bcdf6B29cB23" ] } }, "parent": { "job": "fugiat Excepteur", "task": "esse", "iteration": 10804434.91727601, "element": -74278249.0288287 }, "errorHandler": { "x": 48276328.414322615, "y": -3293825.305855155, "gridCoordinate": { "x": -90197488.1023988, "y": -76326951.5065832 }, "name": "veniam", "location": "Application", "locationType": null, "app": "est ea", "canvasName": "culpa quis", "displayName": "mollit", "summary": "nostrud", "description": "est", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/BdUTeiMQf0/~1/~0/~0" }, { "type": "encryption", "pointer": "/~0/JER7Q/u/~1/~1/CMzwfBi/~1/~1/~1/P,C" }, { "type": "encryption", "pointer": "/~1/~0/~1/cfQN8Hr/~0/~1/GdLO/~1/aWPESMG3r/QPkC/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "aliquip occaecat eiusmod exercitation nostrud", "highlightString": "dolor aliquip officia ut" }, { "key": "Ut cillum proident ut mollit", "highlightString": "magna" }, { "key": "veniam nostrud", "highlightString": "nulla ullamco veniam elit" }, { "key": "dolor", "highlightString": "ullamco proident consectetur id" }, { "key": "dolor proident", "highlightString": "do" } ], "status": "complete", "previous": { "incomplete": [ "error_handler", "workflow_start", "workflow_end" ], "complete": [ "e28f" ], "error": [ "e28f", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "loop" } ] }, "serverId": "quis id dolor", "start_time": "2006-04-18T02:13:27.822Z", "end_time": 46283716.721719205, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "Pronghorn", "groups": [ { "_id": "6723e790944e17e7061adcca", "provenance": "magna Lorem aliqua", "name": "proident deserunt sunt", "description": "labore deserunt in magna ex", "memberOf": [ { "groupId": "789fe0f2fe65e900f77aaf00", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "labore" }, { "roleId": "nulla voluptate est ex qui" } ], "inactive": false, "_meta": { "created": "1998-09-14T08:36:39.084Z", "updated": "1986-06-26T21:15:14.564Z", "migrationVersion": 45850716 } } ], "iterations": [ "A46dd0B7-c1fF-De1c-CFeB-9a3AD9C2F922" ] }, "groups": [ { "_id": "e11ec073c0661bd5655ba0b3", "provenance": "ullamco mollit laborum", "name": "aute culpa sunt pariatur eiusmod", "description": "consequat amet", "memberOf": [ { "groupId": "64ca64d049ef6ad80f85b72d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "magna" }, { "roleId": "sed ut amet" }, { "roleId": "pariatur esse commodo velit officia" }, { "roleId": "cupidatat pariatur ut" }, { "roleId": "esse Excepteur ullamco magna irure" } ], "inactive": false, "_meta": { "created": "1990-08-28T18:33:31.376Z", "updated": "2016-11-24T22:21:27.418Z", "migrationVersion": 78774853 } }, { "_id": "1a1e01bbddc6f246cdfc29c0", "provenance": "velit", "name": "deserunt laboris", "description": "fugiat nostrud", "memberOf": [ { "groupId": "afb756fe7e47fced26937fd4", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Lorem quis" }, { "roleId": "veniam consectetur aute" }, { "roleId": "ad quis dolor ut" }, { "roleId": "minim et" }, { "roleId": "in quis" } ], "inactive": true, "_meta": { "created": "1993-05-23T21:47:43.966Z", "updated": "2011-03-08T18:15:50.456Z", "migrationVersion": 27880006 } } ], "watchers": [ null, "Pronghorn", null, null ], "metrics": { "start_time": 35621828.69770089, "progress": 0.6122425424815074, "end_time": 4795196.792319074, "user": null, "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }