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": "dolore laborum occaecat ut" } }
{ "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": "b29356f40ca8ba0fc55d3109", "font_size": -29719334, "type": "resource:action", "created": "1988-07-19T11:12:12.471Z", "last_updated": "1954-04-21T09:12:09.756Z", "createdVersion": "3.474.9390-6047.7466.011.966407473", "lastUpdatedVersion": "269631.01563.332321", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 46158805, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 15005935.172027439, "sla": -93136765.9494577, "decorators": [ { "type": "encryption", "pointer": "/Tw2ME5nU/Aeap4Lm1P/~1/~0/~1/Xo/F8a/D8316O-MhKX/~1/~1" }, { "type": "encryption", "pointer": "/yXC7/B2z/~1" }, { "type": "encryption", "pointer": "/~1/npoiPJEAB/DeyECV/ZSd,w8fFxD/~0/~1/~1/uj/~0" }, { "type": "encryption", "pointer": "/~1/yX4htVqfG/~1/c4yT" } ], "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": "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": "workflow_start", "name": "myCoolDocumentName", "message": "aliquip eiusmod" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "non nisi enim" } ], "ancestors": null, "validationErrors": [ { "keyword": "eiusmod incididunt", "dataPath": "tempor", "schemaPath": "incididunt ex dolore", "message": "dolor" }, { "keyword": "ipsum ut cillum officia", "dataPath": "in", "schemaPath": "qui in amet Excepteur", "message": "reprehenderit laborum incididunt Excepteur culpa" }, { "keyword": "in aute magna cupidatat exercitation", "dataPath": "ipsum consectetur", "schemaPath": "in exercitation", "message": "aliquip est veniam" } ], "created_by": { "_id": "7ff0f3c95f1aff93d3b00f82", "provenance": "veniam", "username": "veniam nostrud velit aute fugiat", "firstname": "commodo labore", "memberOf": [ { "groupId": "9056afbe6f4213469c9aad03", "aaaManaged": false }, { "groupId": "20939463636ccd6d3b636c29", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sit sed ut Duis amet" }, { "roleId": "ullamco sint ut mollit" }, { "roleId": "enim consequat" }, { "roleId": "velit fugiat" } ], "inactive": false, "lastLogin": "1979-06-18T23:42:54.21Z", "_meta": { "created": "1964-01-07T10:02:19.882Z", "updated": "2015-01-14T03:16:57.842Z", "migrationVersion": 71088297 }, "email": "commodo velit cillum sint qui" }, "last_updated_by": null, "tasks": { "workflow_start": { "x": 48768887.60049182, "y": 81958555.14685825, "gridCoordinate": { "x": -68040667.85783815, "y": -87815585.1111611 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -18580116.293040127, "finish_state": "error", "user": null }, "groups": [ "a47fb25e17d9d62f9857c1f6", "default" ], "iterations": [ "A9f7F7f0-2e8B-B0Bb-C2b7-fF9Fce2F1a9F", "cd0De54C-690b-81bA-FcEF-0C2a1c8Fe2E0" ] }, "workflow_end": { "x": 63819287.72359982, "y": 15787045.174142644, "gridCoordinate": { "x": 2407391.3239693195, "y": -3707392.6211203635 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f" ], "complete": [ "error_handler", "error_handler" ], "error": [ "workflow_start" ] }, "metrics": { "end_time": 14831830.085867897, "run_time": 40223244.6836606 }, "groups": [ { "_id": "3f9a2e42e9109d4e74c562e2", "provenance": "ut aliqua", "name": "laboris aliquip", "description": "et ullamco officia dolor", "memberOf": [ { "groupId": "51c0b8096b66ee2dc8e757a8", "aaaManaged": true }, { "groupId": "028e060a2357d38bc99875e0", "aaaManaged": false }, { "groupId": "9f3ef007223ac5cbc13b2f13", "aaaManaged": true }, { "groupId": "3020be7a5dbc23b8951a8dd5", "aaaManaged": false }, { "groupId": "77003d12724bded65c56977f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "non cillum" }, { "roleId": "qui" }, { "roleId": "ipsum ex nisi velit magna" }, { "roleId": "laborum in" } ], "inactive": false, "_meta": { "created": "2020-10-18T03:38:16.748Z", "updated": "2024-12-14T21:49:07.115Z", "migrationVersion": 93704388 } }, { "_id": "25bc42fef8cb7dcd55d21c6c", "provenance": "est", "name": "ipsum sunt in aliqua qui", "description": "voluptate Duis magna", "memberOf": [ { "groupId": "e2a2732d5c43567cb1bc6b52", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut laborum exercitation" }, { "roleId": "sunt voluptate aliquip veniam adipisicing" }, { "roleId": "est Excepteur sit anim" } ], "inactive": true, "_meta": { "created": "1985-07-03T20:42:22.081Z", "updated": "2025-04-17T10:19:32.727Z", "migrationVersion": -92611110 } }, "bb86530c0a5a71553c01854a", "7078b52458998197ea5d32b9", "76bf855c3fae9d6b5fef5552" ], "iterations": [ "C29EcBed-4a96-De02-D2Ff-C4CBd0DE938B", "b74C9d97-AefF-aD6F-1bA6-0CFc451793D0" ] }, "error_handler": { "x": 29291836.842223957, "y": 98300898.09532541, "gridCoordinate": { "x": 33286149.2237996, "y": 92604270.7376746 }, "name": "childJob", "location": "Application", "locationType": "tempor", "app": "do ea amet minim dolore", "canvasName": "fugiat ea dolor", "displayName": "dolor sit Ut enim", "summary": "non cupidatat amet anim consectetur", "description": "pariatur aliqua reprehenderit dolor veniam", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/Oq19G+7Lf/~0/~0/~0/~1/~1/~0/i.eN0L35PA/F1q" }, { "type": "encryption", "pointer": "/ktGKrR/xA4Lu/j6NEQz/dg1+/~0/~0/~1" }, { "type": "encryption", "pointer": "/GU/~1/ZuF3idA" }, { "type": "encryption", "pointer": "/~1/hLck/~0/Y.I,y+j6h/~1/n-B" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "sunt et cillum dolor", "highlightString": "deserunt irure consequat et" }, { "key": "quis", "highlightString": "Lorem culpa aliquip aute cillum" }, { "key": "in Ut", "highlightString": "non occaecat" }, { "key": "magna cillum ut aliqua dolor", "highlightString": "aliqua eiusmod est minim adipisicing" } ], "status": "running", "previous": { "incomplete": [ "e28f", "workflow_end", "e28f", "3a1f", "workflow_end" ], "complete": [ "workflow_end", "3a1f", "3a1f" ], "error": [ "e28f", "error_handler", "3a1f", "workflow_start", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "standard" }, { "task": "e28f", "type": "revert" } ], "error": [ { "task": "3a1f", "type": "revert" } ] }, "serverId": "commodo exercitation dolor in ullamco", "start_time": "1986-11-17T18:40:18.115Z", "end_time": -14689370.840061054, "finish_state": "success", "retrySettings": { "state": [ "failure", "failure", "error" ], "autoRetry": false, "limit": 81389358, "delay": 30447576, "count": 32488570, "finishedRetrying": true }, "type": "operation", "actor": null, "groups": [ "7428887e09a877a76b040067" ], "iterations": [ "D67da8f2-8aE5-af2f-7d9F-E23faECD92aD" ] }, "7b": { "x": 49248792.02335405, "y": -50553236.329713516, "gridCoordinate": { "x": 81118402.17687899, "y": 83989719.07453468 }, "name": "in", "location": "Application", "locationType": "culpa id fugiat quis", "app": "laborum nisi", "canvasName": "quis nisi", "displayName": "et", "summary": "dolor commodo veniam", "description": "eu labore dolore voluptate Excepteur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/ucY1AwfGc" }, { "type": "encryption", "pointer": "/dNL/~1/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "sint nisi", "highlightString": "labore consequat velit reprehenderit" } ], "status": "running", "previous": { "incomplete": [ "workflow_start", "e28f", "3a1f" ], "complete": [ "3a1f", "error_handler", "workflow_start", "error_handler", "e28f" ], "error": [ "e28f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "3a1f", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "revert" } ] }, "serverId": "esse dolore sint", "start_time": "1999-01-19T23:55:52.418Z", "end_time": -11965002.191837162, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": { "_id": "cd4ca770d7b8d705a74a7ddc", "provenance": "incididunt in magna cupidatat dolore", "username": "tempor aliqua sed", "firstname": "proident ut magna in", "memberOf": [ { "groupId": "fc46aefa524d908862810335", "aaaManaged": false }, { "groupId": "5bc765485a72dd30f57d8d9f", "aaaManaged": true }, { "groupId": "e881d73381fc55d6225cef1a", "aaaManaged": false }, { "groupId": "6776a7fc2d06acd3ea16d320", "aaaManaged": false }, { "groupId": "9c42b4238ea9a2956cb41e6b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "anim" } ], "inactive": true, "lastLogin": "1979-10-13T19:11:35.467Z", "_meta": { "created": "2010-08-19T18:16:55.988Z", "updated": "1970-03-20T09:48:40.406Z", "migrationVersion": 10788919 }, "email": "qui veniam ut sit" }, "groups": [ { "_id": "45809665794925fbcb2c0951", "provenance": "ut Excepteur elit est incididunt", "name": "et sed mollit officia", "description": "veniam officia occaecat", "memberOf": [ { "groupId": "846a311721106f062887cc47", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sit qui minim laborum" }, { "roleId": "dolor labore nostrud eu" }, { "roleId": "anim mollit nisi" }, { "roleId": "dolore sed" } ], "inactive": true, "_meta": { "created": "1973-02-10T20:47:37.518Z", "updated": "2016-04-25T17:02:21.881Z", "migrationVersion": -78127154 } } ], "iterations": [] } }, "parent": { "job": "dolor non aliqua", "task": "proident irure cillum", "iteration": -37822387.767152496, "element": -25560805.910584778 }, "errorHandler": { "x": -98513693.52836503, "y": 5341708.607863665, "gridCoordinate": { "x": -97436466.29224578, "y": 21038609.308698848 }, "name": "consequat commodo qui", "location": "Broker", "locationType": null, "app": "sit enim amet sunt", "canvasName": "ut eu do aliquip", "displayName": "ullamco dolore eu cupidatat consequat", "summary": "enim", "description": "qui cillum", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/WxtkWCm/hX.JtJ/FbWt9dweE/,/cZjAe9OSd/LuV/o/YCC1/c+QRqxk" }, { "type": "encryption", "pointer": "/S,PZkKHGiV/maN+2T0zr7T/~1/~1/~1/CZXFuAOWJT/~0/otZn9hL/xoQ+" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "aliqua mollit dolore Excepteur", "highlightString": "do ut adipisicing" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_end", "error_handler" ], "complete": [ "error_handler" ], "error": [ "workflow_start", "e28f", "workflow_start" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_end", "type": "loop" } ], "failure": [ { "task": "error_handler", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "e28f", "type": "loop" } ] }, "serverId": "commodo qui reprehenderit", "start_time": "1977-06-03T02:36:59.719Z", "end_time": 78425657.26092336, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "3e694cba062327db67c3f304", "provenance": "ut sed cupidatat", "name": "eiusmod magna", "description": "Excepteur Ut", "memberOf": [ { "groupId": "98ccbd8fc4bce5a395f38a19", "aaaManaged": true }, { "groupId": "39808912904d7120e4e2aea3", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "elit amet" } ], "inactive": false, "_meta": { "created": "1980-03-10T20:51:54.853Z", "updated": "1999-11-25T11:38:07.15Z", "migrationVersion": -21108779 } }, "default", "3572cb118a02fc73bd148b9b" ], "iterations": [] }, "groups": [ "default", "default", "default" ], "watchers": [ { "_id": "723c4b55df9ca07975e123ce", "provenance": "sunt dolore ut voluptate nisi", "username": "ex cillum fugiat aute", "firstname": "reprehenderit Ut", "memberOf": [ { "groupId": "36b8312c7514b8614a29652e", "aaaManaged": true }, { "groupId": "12682f1c35e6bb438079799d", "aaaManaged": false }, { "groupId": "1e416fcc94346d7c56b20c1b", "aaaManaged": false }, { "groupId": "55fe74ed46ce42267098abdc", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ullamco voluptate eu in amet" }, { "roleId": "nisi" }, { "roleId": "proident ad Duis minim sit" }, { "roleId": "ea dolore dolor" } ], "inactive": true, "lastLogin": "2008-01-06T13:32:15.149Z", "_meta": { "created": "2001-03-01T17:08:25.741Z", "updated": "2017-05-20T03:15:05.46Z", "migrationVersion": -35295698 }, "email": "ut" }, null, "Pronghorn" ], "metrics": { "start_time": -25496454.427060038, "progress": 0.6112068671148352, "end_time": -79056695.66987719, "user": "b0df7c4ae724b0a0534bf690", "owner": { "_id": "7d9b42e1db7b0b82e5eae601", "provenance": "commodo sunt ut dolore ut", "username": "consequat sint veniam", "firstname": "ut", "memberOf": [ { "groupId": "315445bd8e4caa784d7b0412", "aaaManaged": true }, { "groupId": "d6743dc589a9e30dcc938cf3", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "mollit incididunt ex proident elit" }, { "roleId": "qui et ea in" } ], "inactive": false, "lastLogin": "1991-12-08T00:28:56.521Z", "_meta": { "created": "2015-02-03T11:45:34.748Z", "updated": "1947-07-16T14:07:19.92Z", "migrationVersion": -52091363 }, "email": "ut ut aliquip amet" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }