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": "sint eu" } }
{ "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": "368c2b722a8341910c47a3dc", "font_size": -28714072, "type": "resource:action", "created": "1974-09-26T03:05:46.151Z", "last_updated": "1965-04-06T20:03:26.403Z", "createdVersion": "1.18710762343.38", "lastUpdatedVersion": "56723733442.0104.3869114", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 94555462, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 95854110.0935772, "sla": 41447952.67861375, "decorators": [ { "type": "encryption", "pointer": "/~0/~1" } ], "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 } ], "warnings": [ { "task": "e28f", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "tempor pariatur aliqua" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "elit magna" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "Lorem fugiat" } ], "ancestors": null, "validationErrors": [ { "keyword": "ullamco in aute ut minim", "dataPath": "veniam ut laborum ipsum in", "schemaPath": "ut ut ad incididunt", "message": "in" } ], "created_by": { "_id": "d8ff926871b55278cbacae08", "provenance": "aute laboris elit officia est", "username": "enim tempor", "firstname": "id sunt proident eiusmod", "memberOf": [ { "groupId": "581c805a81b885578915dcef", "aaaManaged": false }, { "groupId": "b3606b520d327ff2107a9fde", "aaaManaged": true }, { "groupId": "1ab0ca11d6be6302a90c2d75", "aaaManaged": false }, { "groupId": "4b02b88ec820d499591df2db", "aaaManaged": false }, { "groupId": "ccfcfa43fdbb3b65b448213f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sed Excepteur id ea dolore" }, { "roleId": "velit nostrud est" } ], "inactive": true, "lastLogin": "1954-11-08T09:13:23.019Z", "_meta": { "created": "1994-10-18T05:43:54.806Z", "updated": "1997-07-23T20:37:42.52Z", "migrationVersion": 84644994 }, "email": "ea deserunt eiusmod ex" }, "last_updated_by": "471c2a9ff932c0a9e09d8864", "tasks": { "23": { "x": 5076593.754720181, "y": 22353937.004911512, "gridCoordinate": { "x": 36675920.053961486, "y": 76262698.31510618 }, "name": "Ut ut", "location": "Broker", "locationType": "exercitation adipisicing culpa", "app": "in ut est", "canvasName": "dolore sunt", "displayName": "quis est do", "summary": "aliquip", "description": "sint enim", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~0/~0/~1" }, { "type": "encryption", "pointer": "/l/~0/dQmN/~1/~1/~1/~0/f/~1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "sed consectetur et", "highlightString": "Duis eu consectetur laboris" } ], "status": "complete", "previous": { "incomplete": [ "error_handler", "workflow_start" ], "complete": [ "workflow_start", "e28f", "workflow_start" ], "error": [ "workflow_start", "e28f", "3a1f", "workflow_start", "3a1f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "veniam", "start_time": "2018-07-02T04:06:06.457Z", "end_time": -54141367.58085908, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": null, "groups": [ "default", { "_id": "0ae1606ed827d592d6a2043a", "provenance": "fugiat", "name": "Ut", "description": "do esse consectetur", "memberOf": [ { "groupId": "f6fc4a9ffaee4dc27aecc2a6", "aaaManaged": true }, { "groupId": "2a405276dcf717cd3bbe79ae", "aaaManaged": false }, { "groupId": "a92d364b909af9c2539e55d8", "aaaManaged": true }, { "groupId": "f47ab9460364cada445a6aaf", "aaaManaged": true }, { "groupId": "f65193990a4fd34905bfc5fd", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "laborum anim reprehenderit deserunt" } ], "inactive": false, "_meta": { "created": "1993-05-31T09:26:35.155Z", "updated": "2003-02-23T13:32:24.164Z", "migrationVersion": 10897969 } } ], "iterations": [ "f175fdFe-a992-D8bE-3B7F-e0FAfce9AeFF" ] }, "workflow_start": { "x": -7366703.2154259235, "y": -65128279.44957955, "gridCoordinate": { "x": 97537272.98017067, "y": -21543142.647923604 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -8855455.300897926, "finish_state": "failure", "user": null }, "groups": [ { "_id": "77b0db0ab5d5409c29593754", "provenance": "ipsum sed", "name": "consequat", "description": "non", "memberOf": [ { "groupId": "3f0efef59e6e21cac0237ee4", "aaaManaged": false }, { "groupId": "97d9458e23446ac5a1646269", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore est" }, { "roleId": "proident Duis sit consectetur esse" }, { "roleId": "officia labore id mollit" }, { "roleId": "veniam est incididunt aliqua dolor" }, { "roleId": "cillum ut Duis et adipisicing" } ], "inactive": true, "_meta": { "created": "2023-01-21T04:37:13.497Z", "updated": "1955-05-27T09:24:53.981Z", "migrationVersion": 67339850 } }, "1aa5b27a1042cd972c022ce8", "243f9a04555beb0ee6611e08", "default" ], "iterations": [ "3Dcd8c9C-68CB-7E0c-6Cda-bDaEeBCA6C0c" ] }, "workflow_end": { "x": -11909027.92960444, "y": -31661800.277756408, "gridCoordinate": { "x": -66772562.62073766, "y": -14677984.694150716 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "e28f", "workflow_end", "workflow_start", "workflow_start" ], "complete": [ "3a1f" ], "error": [ "workflow_start", "e28f", "e28f", "workflow_start", "error_handler" ] }, "metrics": { "end_time": 81138702.70944849, "run_time": 38186210.67208582 }, "groups": [ "default", { "_id": "1fa3dbeeacf972d7ce4ebad5", "provenance": "do laborum quis", "name": "in labore consequat voluptate", "description": "est sunt et minim", "memberOf": [ { "groupId": "17c43b40c37ad3181f53402d", "aaaManaged": false }, { "groupId": "6650f373e095dc2fa6a8928c", "aaaManaged": true }, { "groupId": "87a51267d12c8839fecf9f76", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "est velit ex dolore" } ], "inactive": true, "_meta": { "created": "1996-06-22T01:10:05.103Z", "updated": "1969-03-24T18:05:52.46Z", "migrationVersion": -20322465 } }, "f0358d5b84d93effe6a2a0ea", { "_id": "7ec3681ecb97a260ad3b366f", "provenance": "eu tempor nisi", "name": "consectetur", "description": "minim id", "memberOf": [ { "groupId": "a3f84984e002ae5ca53d0a5b", "aaaManaged": false }, { "groupId": "4f51fa86de1d4605cdc36b62", "aaaManaged": false }, { "groupId": "26b55103264d880b0307ebdd", "aaaManaged": true }, { "groupId": "8893525e6930b82a71f3dac2", "aaaManaged": true }, { "groupId": "526fdc450fa0197b74458e05", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "incididunt cillum in Lorem consequat" }, { "roleId": "qui magna voluptate incididunt occaecat" }, { "roleId": "velit ipsum" }, { "roleId": "minim quis velit" } ], "inactive": false, "_meta": { "created": "1976-05-31T12:58:24.604Z", "updated": "2020-10-12T02:59:20.075Z", "migrationVersion": -45429176 } } ], "iterations": [ "Ad386436-EbC4-7Bfe-DeCD-4cabBca7BAb9" ] }, "error_handler": { "x": 37994899.18873936, "y": 33831638.19758974, "gridCoordinate": { "x": -69427591.02963096, "y": 19281880.932706803 }, "name": "childJob", "location": "Broker", "locationType": "enim", "app": "cupidatat", "canvasName": "esse ipsum ut", "displayName": "est in ut", "summary": "irure anim ipsum ad", "description": "qui occaecat ullamco proident", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~0/~0" }, { "type": "encryption", "pointer": "/~1/~1/ww" }, { "type": "encryption", "pointer": "/~1/B6kz/~1/~1/~0" }, { "type": "encryption", "pointer": "/dlyR6L/~0/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "adipisicing dolore irure anim", "highlightString": "proident" }, { "key": "ut veniam", "highlightString": "eu ut" } ], "status": "canceled", "previous": { "incomplete": [ "e28f", "3a1f", "3a1f", "workflow_start" ], "complete": [ "workflow_start" ], "error": [ "e28f", "e28f" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "revert" } ], "error": [ { "task": "3a1f", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "e28f", "type": "revert" } ] }, "serverId": "nisi ullamco minim", "start_time": "2025-03-02T03:58:39.856Z", "end_time": -15756536.964474812, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "Pronghorn", "groups": [ { "_id": "b3322039498825d0251e4c95", "provenance": "dolore deserunt", "name": "Excepteur sint", "description": "eu et qui", "memberOf": [ { "groupId": "8a52731104048971b4e1af1f", "aaaManaged": false }, { "groupId": "ba33b4a9db829a26c6747108", "aaaManaged": true }, { "groupId": "679f79f30a7c6094026428cc", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ea laborum" }, { "roleId": "Ut adipisicing elit nisi" }, { "roleId": "proident ea deserunt dolor" }, { "roleId": "aliqua consequat occaecat" } ], "inactive": true, "_meta": { "created": "2000-04-06T02:52:18.324Z", "updated": "1952-12-10T10:32:32.301Z", "migrationVersion": -70760857 } }, "default", { "_id": "f29158f6a4d6bac0aab7b54e", "provenance": "deserunt", "name": "qui consequat proident Duis laborum", "description": "tempor adipisicing aliqua ullamco in", "memberOf": [ { "groupId": "e1b7da46b20c60992548b964", "aaaManaged": true }, { "groupId": "152858f362353e683ee91262", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "reprehenderit commodo" } ], "inactive": true, "_meta": { "created": "2017-07-18T14:15:39.675Z", "updated": "1954-07-07T01:21:35.807Z", "migrationVersion": 18143612 } } ], "iterations": [ "975cb458-d259-Db2d-3Ae0-9Dea7eaD7a6D" ] } }, "parent": { "job": "nisi pariatur Ut", "task": "ipsum commodo dolor", "iteration": -81890356.42613694, "element": 60942354.04322994 }, "errorHandler": null, "groups": [ { "_id": "07fc4d2a76981d440607996e", "provenance": "laborum ut", "name": "nisi ad Ut aliqua", "description": "Ut proident labore dolor", "memberOf": [ { "groupId": "c99e373564bb102ed57d52b3", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut esse" } ], "inactive": true, "_meta": { "created": "2007-01-09T10:38:45.308Z", "updated": "1957-07-25T05:32:10.481Z", "migrationVersion": -44384679 } }, { "_id": "c2c632f6a1bf13333bb0d55d", "provenance": "sint labore mollit esse", "name": "Lorem adipisicing laborum", "description": "aliquip magna", "memberOf": [ { "groupId": "5e379b5b9d6ef894aea71e6d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aliquip" }, { "roleId": "laborum" }, { "roleId": "ut incididunt nisi cillum" }, { "roleId": "irure occaecat" }, { "roleId": "aliqua Excepteur" } ], "inactive": false, "_meta": { "created": "1945-04-12T12:07:32.097Z", "updated": "1991-11-02T07:54:43.497Z", "migrationVersion": 34097320 } } ], "watchers": [ "f6a433b9e31f5c0caabae87e", { "_id": "d0c5511121493935be25f01c", "provenance": "Excepteur labore", "username": "irure ut", "firstname": "nisi enim veniam pariatur", "memberOf": [ { "groupId": "a3ae91cb931d3875394a547e", "aaaManaged": false }, { "groupId": "8f9e33167665d0175947764c", "aaaManaged": true }, { "groupId": "0180c8e55b4319870be50295", "aaaManaged": true }, { "groupId": "e9a1244d3390911221fe3a85", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Ut in" }, { "roleId": "cupidatat esse" }, { "roleId": "sunt reprehenderit" } ], "inactive": false, "lastLogin": "1982-11-27T09:57:00.922Z", "_meta": { "created": "1970-10-20T11:08:23.297Z", "updated": "1966-07-11T18:38:38.743Z", "migrationVersion": 66617967 }, "email": "labore adipisicing dolor exercitation" }, null, "Pronghorn", "Pronghorn" ], "metrics": { "start_time": -30695515.97085218, "progress": 0.03982415928734606, "end_time": 46815418.582182825, "user": "0c153dcfcdc13fdedc5b9969", "owner": "Pronghorn" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }