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": "enim magna esse laboris" } }
{ "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": "fc9169c451c9612961ce75ca", "uuid": "e55baed4-cf0c-22f0-4219-ebcccec30270", "font_size": 97938121, "type": "resource:action", "created": "2007-06-13T07:13:23.017Z", "last_updated": "1956-05-21T01:03:56.247Z", "createdVersion": "07126280605.57531.6762646", "lastUpdatedVersion": "148392.007717404.01822", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 15199547, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 65658894.84169397, "sla": 73094236.69365162, "decorators": [ { "type": "encryption", "pointer": "/~1/~0/~1/vhc9l.,V+Zi/IRg0Pc/~0/PrSzARK-D90/~0" }, { "type": "encryption", "pointer": "/Xzw52Mh0.Wq/I/4iUj.o" }, { "type": "encryption", "pointer": "/B" } ], "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 }, { "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": "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", "message": "enim cupidatat non nisi Lorem" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "ex mollit ea" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "dolore occaecat sed" } ], "ancestors": null, "validationErrors": [ { "keyword": "ut est Lorem velit", "instancePath": "aute exercitation", "schemaPath": "deserunt eu", "message": "velit nostrud Excepteur Duis proident" }, { "keyword": "nostrud aliquip", "instancePath": "magna et", "schemaPath": "nulla occaecat laborum", "message": "dolore tempor aliqua dolor nisi" }, { "keyword": "ipsum Ut anim", "instancePath": "eiusmod dolore", "schemaPath": "laborum", "message": "Ut consectetur Duis anim incididunt" }, { "keyword": "nisi ut", "instancePath": "non qui enim pariatur", "schemaPath": "voluptate ut labore incididunt in", "message": "labore aliqua" } ], "created_by": "58f603340e8c47fd42f0d188", "last_updated_by": { "_id": "e05664c1a5e90bfd64138923", "provenance": "in et dolor cupidatat", "username": "commodo non in", "firstname": "incididunt", "memberOf": [ { "groupId": "df40c846046a71371ca6cadf", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolore anim adipisicing" }, { "roleId": "irure" }, { "roleId": "incididunt dolor veniam laborum magna" }, { "roleId": "officia ullamco" } ], "inactive": false, "lastLogin": "1991-11-27T07:42:14.588Z", "_meta": { "created": "2012-09-18T03:07:56.242Z", "updated": "1962-04-24T10:34:33.865Z", "migrationVersion": -75965763 }, "email": "quis fugiat in velit" }, "tasks": { "workflow_start": { "x": 28121074.53491524, "y": -14207284.51414442, "gridCoordinate": { "x": -29605442.04101035, "y": 7487944.070432112 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -55103236.52007796, "finish_state": "error", "user": { "_id": "479ce72e439a6c4a618919aa", "provenance": "occaecat esse", "username": "qui ad", "firstname": "labore", "memberOf": [ { "groupId": "217ce990aeb327e38d09e046", "aaaManaged": false }, { "groupId": "77971083ddcc981d38667f64", "aaaManaged": false }, { "groupId": "383322d2acbeed262e32f4df", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolor tempor" }, { "roleId": "ut labore" }, { "roleId": "cupidatat" }, { "roleId": "sunt cillum labore adipisicing" } ], "inactive": false, "lastLogin": "1960-01-12T05:37:39.827Z", "_meta": { "created": "1960-08-22T17:10:46.748Z", "updated": "1949-05-22T01:50:10.898Z", "migrationVersion": 74668837 }, "email": "sint elit incididunt Ut" } }, "groups": [ "default", { "_id": "e4986c6dba080ca6cc752628", "provenance": "nisi Ut commodo do", "name": "culpa est", "description": "cillum nisi occaecat", "memberOf": [ { "groupId": "dde3693e6053ce075f8fc906", "aaaManaged": false }, { "groupId": "b8daeba94660fdb0d27cf6ad", "aaaManaged": false }, { "groupId": "ebcbfae7322e790e7792f89a", "aaaManaged": false }, { "groupId": "d0935b18c00cd527033bb88d", "aaaManaged": true }, { "groupId": "d2e5d5b1cec19fa4ef6cbbad", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "esse" }, { "roleId": "anim Duis ullamco ex veniam" } ], "inactive": false, "_meta": { "created": "2015-11-23T17:57:11.134Z", "updated": "1997-04-05T23:26:17.434Z", "migrationVersion": -85958519 } }, { "_id": "6f2e182d78b1d7103181743b", "provenance": "fugiat", "name": "culpa non", "description": "mollit dolore pariatur ut est", "memberOf": [ { "groupId": "99004b2e53acc9e068f96595", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "amet" }, { "roleId": "aliquip aute veniam laborum nisi" } ], "inactive": true, "_meta": { "created": "1954-07-22T01:36:25.162Z", "updated": "1956-06-03T16:13:56.388Z", "migrationVersion": 13194219 } }, "b509df797d2d67464ea9985d" ], "iterations": [] }, "workflow_end": { "x": 48281954.9858751, "y": 79386699.68537247, "gridCoordinate": { "x": -86989479.11901388, "y": 99106089.78535742 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "e28f", "workflow_start", "workflow_start", "workflow_start" ], "complete": [ "e28f", "workflow_start", "3a1f", "workflow_start" ], "error": [ "error_handler", "error_handler", "error_handler" ] }, "metrics": { "end_time": -55675370.97803408, "run_time": 5272421.512332365 }, "groups": [ "d56a04787feed34052e2b15d", "007e00504a7a8cb12516d793", "629bc744893f8981c7a37b43", "default" ], "iterations": [ "402DBEcC-Df6B-C34f-F7fa-b3C73f2202c5", "df0aF26E-1aBa-D131-0244-60De53AA9317" ] }, "error_handler": { "x": -61881441.051417686, "y": -82153208.42249523, "gridCoordinate": { "x": 57713246.914598584, "y": -77120863.71573359 }, "name": "childJob", "location": "Broker", "locationType": "nisi do", "app": "labore voluptate", "canvasName": "ad dolore", "displayName": "exercitation", "summary": "eiusmod elit", "description": "in et esse consequat", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/ry/~1/pt96+i0R/~0/QNHZB,VQqlA/~0/d8SUM/~0/LcBXcMb/LqHJ+Ke8/~0" }, { "type": "encryption", "pointer": "/i57UME9u4/~0" }, { "type": "encryption", "pointer": "/~1/IrTc/jeUGrJFf9/~1/Arkm8sGz/f4C9VG/zFOa/M/TaJR6Fyl/~0/~0/iRTaaFo" }, { "type": "encryption", "pointer": "/~1/PH./ySh/F5ltr,kj0/IfU9z./nnV/ZqG/vU7/~1/~1/si4" }, { "type": "encryption", "pointer": "/~0/~0/Ya/OKfYO0QTz/~0/TNBnYaUTK/fdzKcSNBbc" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "consequat est laboris", "highlightString": "nostrud ex reprehenderit proident" }, { "key": "irure anim dolor minim in", "highlightString": "ad" } ], "status": "paused", "previous": { "incomplete": [ "workflow_end" ], "complete": [ "e28f", "error_handler", "3a1f", "workflow_start" ], "error": [ "workflow_start", "error_handler", "workflow_start" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "error_handler", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_end", "type": "revert" }, { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "standard" } ] }, "serverId": "in eiusmod dolore ut", "start_time": "2003-02-26T15:19:32.327Z", "end_time": -61689150.82062121, "finish_state": "failure", "retrySettings": { "state": [ "success", "error", "error" ], "autoRetry": false, "limit": 58740490, "delay": 71721915, "count": 96848403, "finishedRetrying": true }, "type": "operation", "actor": null, "groups": [ "c15c4d276d95ce733081d54f", "default", { "_id": "a6e6a80b043d21332759ce99", "provenance": "consectetur culpa do aliquip proident", "name": "consectetur qui aliquip", "description": "veniam enim commodo fugiat", "memberOf": [ { "groupId": "731152cf34d7b4eac162dffc", "aaaManaged": true }, { "groupId": "fff834f2689c50b3d630fa9d", "aaaManaged": true }, { "groupId": "38247ebce73b573f9265cb15", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliqua" }, { "roleId": "sed" } ], "inactive": false, "_meta": { "created": "1986-09-09T00:23:00.76Z", "updated": "1955-05-20T07:34:13.767Z", "migrationVersion": 48616675 } }, { "_id": "372ded55eee41a006608499b", "provenance": "ut", "name": "aute non eu id occaecat", "description": "pariatur Lorem id", "memberOf": [ { "groupId": "be3e2414d1aac11c5823bc73", "aaaManaged": false }, { "groupId": "3486915217e7bd570557bffb", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ex officia sed laboris elit" }, { "roleId": "elit" }, { "roleId": "in laboris nisi anim culpa" }, { "roleId": "elit sed nostrud consectetur quis" } ], "inactive": false, "_meta": { "created": "1978-10-30T00:52:26.033Z", "updated": "2007-02-03T08:42:37.093Z", "migrationVersion": 6158690 } }, { "_id": "bbfa7b8de3125c0080035e09", "provenance": "esse", "name": "ad consectetur irure sit", "description": "dolor dolore et id aliqua", "memberOf": [ { "groupId": "cff2d1a4e522a2c1f7d9453d", "aaaManaged": false }, { "groupId": "f6777fa874f06bbb5021dfb8", "aaaManaged": true }, { "groupId": "67c1c27a1b76d30e0fe1718c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Duis" }, { "roleId": "velit" }, { "roleId": "consectetur fugiat id" }, { "roleId": "officia" } ], "inactive": true, "_meta": { "created": "2002-06-27T15:25:36.738Z", "updated": "1991-06-02T18:16:34.829Z", "migrationVersion": -187770 } } ], "iterations": [ "185453a1-824E-8839-2eCD-d70f59d0D0aB" ] }, "2c": { "x": 42414966.45000741, "y": -17651751.213301376, "gridCoordinate": { "x": -72376680.12794316, "y": 23525057.74832037 }, "name": "sint", "location": "Application", "locationType": "pariatur irure cupidatat", "app": "et dolore ut aliqua fugiat", "canvasName": "elit minim reprehenderit amet labore", "displayName": "Excepteur qui eiusmod labore ipsum", "summary": "reprehenderit mollit ut culpa", "description": "sed culpa laboris ea", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/rKYowP0eg/~0/~0/oVqahIu/udmeS3FL7ug/qLO1/GCv7Y/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "in reprehenderit incididunt tempor esse", "highlightString": "nulla consectetur" } ], "status": "incomplete", "previous": { "incomplete": [ "3a1f", "workflow_start", "workflow_start", "e28f" ], "complete": [ "workflow_start", "workflow_start" ], "error": [ "workflow_start", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "standard" } ] }, "serverId": "Excepteur eiusmod non deserunt", "start_time": "1966-10-06T11:38:50.814Z", "end_time": 79559297.47993654, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "930c557473a1be0f9c880991" ], "iterations": [ "EC2D0465-bDf4-5541-27cB-aAaCa68BFD2B", "eE3eF924-f05D-38E7-5E0b-F9Fca5FA493b" ] } }, "parent": { "task": "anim proident ullamco ad", "iteration": -74180900.04692744, "element": -7993275.100743175 }, "errorHandler": null, "groups": [ { "_id": "0a90258bf83921544efbe09c", "provenance": "dolore in ut", "name": "pariatur", "description": "Excepteur dolor do nostrud", "memberOf": [ { "groupId": "c3ca84d762577c317fcf21f1", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "cillum" }, { "roleId": "laboris exercitation anim cillum" }, { "roleId": "dolore ipsum consectetur reprehenderit in" }, { "roleId": "nostrud" } ], "inactive": true, "_meta": { "created": "2016-09-19T16:22:45.518Z", "updated": "1994-09-18T12:03:31.643Z", "migrationVersion": -1402449 } }, { "_id": "3313dc8c6c3924966df1f994", "provenance": "laboris reprehenderit veniam", "name": "labore aliqua", "description": "sed eiusmod", "memberOf": [ { "groupId": "c9c3ee5dda7846c0facbb2da", "aaaManaged": false }, { "groupId": "6781da0fa33e5ee053f3c351", "aaaManaged": false }, { "groupId": "8252ddf6e08319c86c97a65b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "cillum" }, { "roleId": "dolor Lorem in id fugiat" } ], "inactive": false, "_meta": { "created": "1955-04-07T02:25:39.779Z", "updated": "2013-06-25T02:29:28.89Z", "migrationVersion": 76101068 } }, { "_id": "2c7e2551b93b7062c1da7461", "provenance": "tempor fugiat aliquip magna", "name": "eiusmod non fugiat anim", "description": "occaecat veniam", "memberOf": [ { "groupId": "27c1bbf5f487e3f6427a59f2", "aaaManaged": false }, { "groupId": "3cd1bb9b5633da3e8fecc6c4", "aaaManaged": true }, { "groupId": "b6634b120fe59a5a27c49245", "aaaManaged": true }, { "groupId": "df8c5f26f3fe258528c5831f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "mollit ut amet" } ], "inactive": false, "_meta": { "created": "2003-08-17T11:38:02.853Z", "updated": "1970-02-19T10:46:15.312Z", "migrationVersion": -36904892 } } ], "watchers": [ "4799dd7251a6cf6dabab12b8", "Pronghorn", null, "Pronghorn", "Pronghorn" ], "metrics": { "start_time": -74596700.51385765, "progress": 0.43612833473920776, "end_time": -78337995.28009519, "user": "1735dea31cbc1cc08f5798a1", "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }