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 do" } }
{ "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": "602477c9f3939d94748413c6", "font_size": 82172483, "type": "resource:action", "created": "2025-02-03T17:35:47.441Z", "last_updated": "1955-01-29T11:24:33.099Z", "createdVersion": "1.78292614679.49376", "lastUpdatedVersion": "4628.212.07878673", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": 6031010, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -71217192.53505793, "sla": 73026461.54921696, "decorators": [ { "type": "encryption", "pointer": "/qda/~0" }, { "type": "encryption", "pointer": "/k/~0/KWYDKcFn/X" }, { "type": "encryption", "pointer": "/A/~0/wyeIUcg6kA2/wXu7bjMQo." }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/~0/~1/~1/~1/~0/~1/bf6,kdS/cpFMFt6D/B,Nmh4-yWfP/~1/JhrqpBlxF" } ], "status": "paused", "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": "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 }, { "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": "workflow_start", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "esse tempor ea ullamco" }, { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "dolor consectetur Duis", "instancePath": "dolor esse", "schemaPath": "ex", "message": "reprehenderit" }, { "keyword": "nulla deserunt tempor ut", "instancePath": "do ad", "schemaPath": "pariatur veniam do eu irure", "message": "nulla Excepteur" }, { "keyword": "fugiat enim", "instancePath": "officia non dolore", "schemaPath": "in Duis est", "message": "eiusmod" } ], "created_by": "b86516e62964504df6235fa8", "last_updated_by": { "_id": "297bdb9ba2651eca67bf34af", "provenance": "Excepteur in sed", "username": "esse dolor anim Ut cillum", "firstname": "ad minim", "memberOf": [ { "groupId": "3e61fea63e84977cdc72384d", "aaaManaged": true }, { "groupId": "4301bb59582ff9f253491299", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "et laborum non qui consectetur" }, { "roleId": "eu ipsum enim irure" }, { "roleId": "et sit" } ], "inactive": true, "lastLogin": "1965-04-22T03:24:58.075Z", "_meta": { "created": "2018-12-06T18:34:47.762Z", "updated": "1972-03-29T04:49:52.808Z", "migrationVersion": -37024671 }, "email": "nisi deserunt aliqua do est" }, "tasks": { "1": { "actor": "$var.job.fXppo", "groups": [ { "_id": "af67b1c0e6c9f4e8d59c830d", "provenance": "in pariatur ad ex", "name": "ut enim exercitation in", "description": "do amet fugiat ut", "memberOf": [ { "groupId": "dafec7c054e9262e3c855937", "aaaManaged": true }, { "groupId": "174e0b83958064e6f3fae1ad", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "commodo" }, { "roleId": "in tempor" }, { "roleId": "voluptate" }, { "roleId": "commodo anim ullamco proident quis" }, { "roleId": "et ut laborum" } ], "inactive": true, "_meta": { "created": "1947-01-13T00:18:34.854Z", "updated": "2015-07-13T09:36:42.934Z", "migrationVersion": -74794530 } }, { "_id": "3e2682016a14272348485e64", "provenance": "dolor sint amet", "name": "labore veniam", "description": "veniam", "memberOf": [ { "groupId": "a38893dee6e49dce68f2c857", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "fugiat voluptate veniam et" } ], "inactive": false, "_meta": { "created": "1992-05-20T14:52:19.907Z", "updated": "2017-06-29T06:04:58.357Z", "migrationVersion": 85260112 } } ], "iterations": [ "E78B8a6D-9e7d-5720-710C-dAe6AA5ECcbd", "09451e8D-dcFa-98cf-aF21-6Ed3C9Ad97Bf" ], "x": 44883937.822120935, "y": 63474650.102193296, "gridCoordinate": { "x": -6277595.8132611215, "y": 588608.5353602171 }, "name": "laboris Ut veniam commodo est", "location": "Adapter", "locationType": null, "app": "minim aliqua qui sit cupidatat", "canvasName": "proident eiusmod", "displayName": "nisi Lorem nulla Ut non", "summary": "cillum aute magna pariatur", "description": "eiusmod", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/Y0DqgffbCr/~1/~0/JQ,w/G3-q" }, { "type": "encryption", "pointer": "/IC+sdkO.h/m/~0/~1/~0" }, { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/SPqVhwZ/~0/~0/~0/~0" }, { "type": "encryption", "pointer": "/A8p0V1TyY3/u/~0/~0/~0/~1/RTAxA/TOW" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "do fugiat laboris", "highlightString": "ullamco" }, { "key": "veniam", "highlightString": "culpa commodo amet ut" }, { "key": "labore adipisicing", "highlightString": "ex cillum" } ], "status": "canceled", "previous": { "incomplete": [ "3a1f", "workflow_end", "workflow_start", "error_handler", "workflow_end" ], "complete": [ "3a1f", "workflow_end", "error_handler", "workflow_start", "3a1f" ], "error": [ "workflow_end", "workflow_start", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "revert" }, { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "ut cupidatat in", "start_time": "1948-08-12T13:05:27.484Z", "end_time": 91836520.58092844, "finish_state": "error", "retrySettings": null, "type": "automatic" }, "workflow_start": { "x": -70648104.8095719, "y": -96320652.6712229, "gridCoordinate": { "x": 94974126.18747538, "y": -91725186.97886068 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -83356985.6054464, "finish_state": "success", "user": "Pronghorn" }, "groups": [ { "_id": "63732747a67f319621cdea52", "provenance": "magna sed", "name": "ipsum eiusmod irure ut veniam", "description": "sunt minim sint fugiat", "memberOf": [ { "groupId": "b2d6871bea3ebeeabeccf7c8", "aaaManaged": false }, { "groupId": "090c6c50fceafff96849dfe2", "aaaManaged": false }, { "groupId": "6764cd4a7da7b88d37eb1d82", "aaaManaged": false }, { "groupId": "4ad7ae453702ff56fc2e409e", "aaaManaged": false }, { "groupId": "9c59b5cd07af21f2ff6fbb5c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "velit consectetur fugiat do labore" } ], "inactive": true, "_meta": { "created": "1963-10-17T12:45:25.635Z", "updated": "1978-10-12T16:34:06.265Z", "migrationVersion": 9867031 } }, { "_id": "9cb62249136698d4d0f50516", "provenance": "labore tempor", "name": "pariatur enim nostrud eiusmod do", "description": "consectetur", "memberOf": [ { "groupId": "e14d891d09904168cae13e59", "aaaManaged": true }, { "groupId": "8cd28249804e7053257c25db", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "culpa exercitation sunt esse" }, { "roleId": "ipsum amet" }, { "roleId": "Ut in consequat exercitation" }, { "roleId": "cillum dolor commodo" }, { "roleId": "ex laborum proident ut" } ], "inactive": true, "_meta": { "created": "1998-11-08T00:09:10.884Z", "updated": "2001-08-11T10:36:31.199Z", "migrationVersion": 39559144 } } ], "iterations": [ "BDF612cB-eAff-Cf7A-50cA-E4CAc7AefbcC" ] }, "workflow_end": { "x": 73986474.18198356, "y": 46144745.067433715, "gridCoordinate": { "x": -1742890.1511033177, "y": -24675933.7446945 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "e28f", "e28f", "workflow_end" ], "complete": [ "workflow_start", "workflow_end", "workflow_end", "e28f" ], "error": [ "workflow_start", "3a1f", "workflow_end" ] }, "metrics": { "end_time": 99797069.25493589, "run_time": 58046519.602751136 }, "groups": [ "f6b257388e1b0acd64577a62", "d5c07f6a8a4cb1f9a5efa0fa", "default" ], "iterations": [] }, "error_handler": { "x": 12717253.635774255, "y": 52316496.72275287, "gridCoordinate": { "x": -29169017.481418177, "y": -2166370.7335467786 }, "name": "childJob", "location": "Adapter", "locationType": "fugiat Duis dolor reprehenderit", "app": "Ut", "canvasName": "in et Duis", "displayName": "Lorem fugiat minim cupidatat sit", "summary": "mollit laboris", "description": "aute in occaecat eiusmod", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/DOD,oM/~0/kBTjfWSfX/~1/~0/b4exQ/~1" }, { "type": "encryption", "pointer": "/~1/IAf/~1/~1/rqOh7XI/~0/~1/~0" }, { "type": "encryption", "pointer": "/~1/~1" }, { "type": "encryption", "pointer": "/~0/~0/vaz/iDJ4KxATl/b/~0/~0/~1/~1/K5MIIWwKz/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "fugiat", "highlightString": "in aliquip irure aute anim" }, { "key": "ea est deserunt voluptate", "highlightString": "adipisicing ipsum ea" }, { "key": "do tempor", "highlightString": "laboris voluptate magna cillum pariatur" }, { "key": "laborum exercitation fugiat minim aliquip", "highlightString": "ad" } ], "status": "running", "previous": { "incomplete": [ "3a1f", "workflow_start", "workflow_end" ], "complete": [ "3a1f", "error_handler", "workflow_start" ], "error": [ "e28f", "e28f", "3a1f", "3a1f", "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "3a1f", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" } ] }, "serverId": "culpa consequat Ut Excepteur incididunt", "start_time": "2021-06-26T08:49:33.407Z", "end_time": -17002011.015477285, "finish_state": "failure", "retrySettings": { "state": [ "error", "failure", "failure", "error" ], "autoRetry": false, "limit": 42993028, "delay": 16470109, "count": 27128775, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "af0ad44fed201b06bffbc751", "30010ee5409bbbcd51070deb", { "_id": "460eff909d8f691aaa2f85f0", "provenance": "sed pariatur", "name": "aliquip qui fugiat", "description": "dolore dolor ullamco et", "memberOf": [ { "groupId": "159cc2cccf5b86fbb1caec5e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "et cillum consequat" }, { "roleId": "aute non dolore et" } ], "inactive": true, "_meta": { "created": "2010-04-26T20:41:17.916Z", "updated": "1955-07-22T20:36:22.03Z", "migrationVersion": -914658 } } ], "iterations": [ "c2bAc536-aa0d-DeBb-bAB6-fAAB014bC23e", "2a93bAaa-1ccA-db2D-64fc-B6Ee53a3d3F5" ] } }, "parent": { "job": "nisi incididunt Lorem eu id", "task": "ut", "iteration": 60872985.33278185, "element": 46626541.57068494 }, "errorHandler": { "actor": "job", "groups": [ "be67088a54af1a18ed2835ce", "default", "e539bbe91d965500eb53e797" ], "iterations": [], "x": 54003472.56697154, "y": 37047617.29548377, "gridCoordinate": { "x": 60635928.29802719, "y": -71255055.0905115 }, "name": "est cupidatat non dolore do", "location": "Application", "locationType": "labore voluptate officia", "app": "velit Duis est", "canvasName": "mollit anim sed sunt", "displayName": "eiusmod non Excepteur", "summary": "consequat velit Lorem culpa", "description": "voluptate Ut quis adipisicing", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/gNppR/~1/rG.BRJQoV/~1/Fhsdh/Xvdgo/~1/~1/QzSKzv3b" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "nostrud", "highlightString": "cillum sunt tempor in Lorem" }, { "key": "in ut in et", "highlightString": "consectetur Ut" }, { "key": "veniam dolore in ut", "highlightString": "aliqua anim dolore" }, { "key": "non occaecat", "highlightString": "in" }, { "key": "ipsum ut cupidatat", "highlightString": "ea Ut amet" } ], "status": "complete", "previous": { "incomplete": [ "workflow_start" ], "complete": [ "workflow_start", "workflow_start" ], "error": [ "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "3a1f", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "3a1f", "type": "standard" }, { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "error_handler", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "error_handler", "type": "revert" } ] }, "serverId": "consectetur ad", "start_time": "1985-10-07T23:46:42.964Z", "end_time": -52478060.52074422, "finish_state": "success", "retrySettings": null, "type": "automatic" }, "groups": [ "default", "2bd18f7ebfbe4229e07ff128" ], "watchers": [ { "_id": "c3bb3211e1d50b9952127b6c", "provenance": "laboris aute culpa", "username": "pariatur qui", "firstname": "occaecat cupidatat proident esse aliquip", "memberOf": [ { "groupId": "401b14be7c3651fedeb061ce", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "et elit dolor" } ], "inactive": true, "lastLogin": "2018-05-08T23:05:22.808Z", "_meta": { "created": "1954-06-04T09:40:58.296Z", "updated": "1980-08-30T12:48:05.289Z", "migrationVersion": -57755553 }, "email": "tempor fugiat velit" } ], "metrics": { "start_time": -96370314.44036946, "progress": 0.06851919370912096, "end_time": -43169399.440235525, "user": "4945966cf78ca9fb7389531b", "owner": { "_id": "f3e1ab3fa9a92eadb56470d4", "provenance": "ex labore quis occaecat Ut", "username": "in do sed aute", "firstname": "amet", "memberOf": [ { "groupId": "47fde4ceecbbf86498b29291", "aaaManaged": false }, { "groupId": "58f19b665abfc7ef55822750", "aaaManaged": true }, { "groupId": "aa5e38297bc2c3fdc3b4d3bc", "aaaManaged": true }, { "groupId": "16acc482ba11d3fc93e84f6b", "aaaManaged": true }, { "groupId": "9e296c798267c9924dc9defd", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sed eu do" }, { "roleId": "minim ex deserunt" }, { "roleId": "adipisicing" }, { "roleId": "veniam eiusmod sint" } ], "inactive": true, "lastLogin": "1955-09-09T04:58:29.442Z", "_meta": { "created": "1948-06-01T13:34:45.905Z", "updated": "1976-04-26T18:24:00.561Z", "migrationVersion": 53287581 }, "email": "proident dolore ipsum" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }