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": "dolor sit" } }
{ "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 created the requested item", "data": { "_id": "37a1f5829763357eca7e8ce7", "uuid": "f1d53617-d5a5-cc02-361d-54b425b58735", "font_size": 33869309, "type": "resource:compliance", "created": "1976-06-29T03:17:23.048Z", "last_updated": "1990-03-02T08:10:02.663Z", "createdVersion": "9.7865361.914387", "lastUpdatedVersion": "7605269.82214175.6398357568-6947.32997.3243213923.17034332931", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -74445068, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 14333168.52350375, "sla": 12612515.733064726, "decorators": [ { "type": "encryption", "pointer": "/UXKCCmCb" }, { "type": "encryption", "pointer": "/S/~0/wRsLvWSx1cr/QW/uk2T6f/eg/~1/~0/muYW02/~0" }, { "type": "encryption", "pointer": "/~1/~0/~1/SGCpEr+Up/~0/m" } ], "status": "complete", "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 } ], "warnings": [ { "task": "e28f", "name": "myCoolDocumentName", "message": "quis exercitation ut" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "commodo officia ad do" } ], "ancestors": [ "51dda86e2ea33bab43487848", "ba4a50aae4bc41e634e3b292" ], "validationErrors": [ { "keyword": "dolor do nulla ad", "instancePath": "aute tempor elit", "schemaPath": "magna eiusmod eu non cillum", "message": "aute officia" }, { "keyword": "quis sed sunt dolore ex", "instancePath": "ullamco", "schemaPath": "veniam", "message": "minim culpa elit" }, { "keyword": "sunt dolore sint amet ut", "instancePath": "officia Ut", "schemaPath": "occaecat exercitation sint ullamco", "message": "quis incididunt culpa est" }, { "keyword": "reprehenderit esse nulla", "instancePath": "tempor esse ea", "schemaPath": "sint ea est in", "message": "cillum in tempor magna" } ], "created_by": null, "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": -85746745.47691914, "y": -75378615.22783396, "gridCoordinate": { "x": 45729011.344382465, "y": -45184492.46182516 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -94305872.79535234, "finish_state": "error", "user": "Pronghorn" }, "groups": [ "default", "default", "beb781ba0128a5ec1eef62ea" ], "iterations": [ "70C781c3-A2dB-fA5D-97ed-A78fF1cF39eE", "a2cA27d7-512f-9D1d-ffB7-cd8AF5f9Ae7E", "Cc03bA9a-28ee-c2Dd-4EA3-B39aFea5Eaea" ] }, "workflow_end": { "x": 76704917.99581009, "y": -89747131.47259687, "gridCoordinate": { "x": -65873564.425809674, "y": 71703270.80217147 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "e28f", "workflow_end", "e28f", "workflow_start", "error_handler" ], "complete": [ "workflow_end", "workflow_start" ], "error": [ "workflow_start" ] }, "metrics": { "end_time": 67920142.72069284, "run_time": 81386525.39311221 }, "groups": [ "5d7199c336a6d60aabf2b37a", { "_id": "33ce84a08d2b498c3d8341dd", "provenance": "Ut pariatur", "name": "do eiusmod dolor", "description": "voluptate fugiat ex esse", "memberOf": [ { "groupId": "ea0db7d1bf1377b32bba7c79", "aaaManaged": true }, { "groupId": "54814d79c7952a2e8e9f5042", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "commodo quis fugiat" }, { "roleId": "laborum" }, { "roleId": "Duis" }, { "roleId": "Ut" }, { "roleId": "culpa enim" } ], "inactive": false, "_meta": { "created": "2010-09-12T18:46:38.239Z", "updated": "1982-03-17T13:30:00.938Z", "migrationVersion": 93798239 } }, "default" ], "iterations": [ "8a20A04B-E7fC-b2f7-8f3A-E8aac5044aDE" ] }, "error_handler": { "x": 93089719.55065063, "y": -16641275.900113687, "gridCoordinate": { "x": -4481874.04681772, "y": -31692280.6716256 }, "name": "childJob", "location": "Application", "locationType": null, "app": "eu", "canvasName": "irure commodo laborum voluptate eiusmod", "displayName": "minim cillum dolor magna", "summary": "eiusmod", "description": "tempor voluptate", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/R/~0/~1/MQSPoo/G3/wiqyUU5" }, { "type": "encryption", "pointer": "/~0/M.-5g/~1/~0/~0/IYd/~0/Kd59/~1/t/fW/jKOyGKPTzn" }, { "type": "encryption", "pointer": "/~1/~0/WJLso/CiGhtJWa/Stdhi.E/r/~0/SK9/~0/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "labore", "highlightString": "Ut ad reprehenderit anim" } ], "status": "incomplete", "previous": { "incomplete": [ "error_handler", "workflow_start", "workflow_start", "workflow_start", "workflow_end" ], "complete": [ "workflow_start", "workflow_start" ], "error": [ "error_handler", "error_handler", "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "revert" } ] }, "serverId": "ad", "start_time": "2019-12-12T08:10:26.275Z", "end_time": 29361605.137481734, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "37d14b162c6162ed94f7b610", "default", "2029dcc99c012f8c660356df", "7479bacfa305689fdcd60daf", "589eadb97153860cc1d686e5" ], "iterations": [ "EFC6dA26-7c5C-EcF4-fDb9-9eD83Cc0E540", "4E88306A-D7Db-5bBe-a1e4-fDD33F00a4Bd" ] }, "79ff": { "x": 20359594.25291933, "y": 39149638.22275102, "gridCoordinate": { "x": -26426086.522973955, "y": -59704331.68882962 }, "name": "reprehenderit ea dolore amet", "location": "Broker", "locationType": "eu tempor in amet", "app": "exercitation", "canvasName": "veniam magna", "displayName": "do in sint in", "summary": "officia ut laboris ullamco ea", "description": "irure dolore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/NWfK/J+tb/~0/y/~0/G9M0k/emftpUZ" }, { "type": "encryption", "pointer": "/ikO7/JGCK/~1/~0/~1/W/~1/lx/cMEGWvryd/~1" }, { "type": "encryption", "pointer": "/~1/~0/~1/gp/~1/~0/nOSeo/iHD-I" }, { "type": "encryption", "pointer": "/~1/AoHE1QLp0/~1/cPLz/M7/y/MirmJoCRx-,/PMT/EbMf9jw" }, { "type": "encryption", "pointer": "/~1/bogIQB" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "labore cupidatat ea do ex", "highlightString": "in amet officia Excepteur" } ], "status": "error", "previous": { "incomplete": [ "error_handler" ], "complete": [ "error_handler", "e28f", "workflow_end", "3a1f" ], "error": [ "workflow_start", "e28f", "error_handler", "workflow_start", "3a1f" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "loop" } ] }, "serverId": "Duis", "start_time": "1971-02-23T20:38:08.903Z", "end_time": -85099474.4317438, "finish_state": "error", "retrySettings": { "state": [ "success", "failure", "success", "success", "error" ], "autoRetry": false, "limit": 66856229, "delay": 61945310, "count": 55178794, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "9f8fcac34bfe6e22606102dc", "1bceb90e71876ab35e959e58", "710751a51ebd83b212a26b96" ], "iterations": [] } }, "parent": { "job": "qui aliqua in Duis ex", "task": "amet ullamco qui pariatur", "iteration": -23505064.166482687, "element": 28835430.25819418 }, "errorHandler": null, "groups": [ { "_id": "a7ccdb4d673d0e5f76796cce", "provenance": "Ut eiusmod dolore", "name": "in cillum sit", "description": "eu nulla", "memberOf": [ { "groupId": "c90d049773236091bb05fa16", "aaaManaged": true }, { "groupId": "3edade02070e96856ff5fdda", "aaaManaged": true }, { "groupId": "0d2de2d1597e656f1dc8d836", "aaaManaged": false }, { "groupId": "b519da583a4efd043b71e34f", "aaaManaged": true }, { "groupId": "5b71e67673e476478953c0e7", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "tempor minim" }, { "roleId": "sint officia deserunt" } ], "inactive": true, "_meta": { "created": "2016-12-15T04:59:14.701Z", "updated": "1955-10-20T10:50:38.048Z", "migrationVersion": -27643523 } }, "default", { "_id": "f6cb3c8e341f757ffb018a10", "provenance": "do consequat est culpa labore", "name": "in cupidatat dolore sed laborum", "description": "dolore ex aute consectetur Duis", "memberOf": [ { "groupId": "e5163a44b120fb9c28826487", "aaaManaged": false }, { "groupId": "391bdba9223cb7a30b86d369", "aaaManaged": false }, { "groupId": "7812816a636adcc1473dbd3f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aute ut eiusmod anim officia" }, { "roleId": "consequat dolore cupidatat Duis dolore" }, { "roleId": "ipsum irure nisi aliquip consequat" }, { "roleId": "ipsum culpa reprehenderit" } ], "inactive": false, "_meta": { "created": "2015-08-06T03:47:18.951Z", "updated": "1962-05-03T19:42:28.126Z", "migrationVersion": -19741915 } }, { "_id": "542aa7c716cd779600a042af", "provenance": "in", "name": "in", "description": "eu occaecat", "memberOf": [ { "groupId": "0a3f4ee25c55e801cb5c1a0c", "aaaManaged": false }, { "groupId": "a1c4c4cdb5b82f76c6c761c9", "aaaManaged": false }, { "groupId": "2aa6a381ca6abe0dfcb02ce6", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "et laboris dolore" } ], "inactive": true, "_meta": { "created": "1981-07-14T21:12:15.622Z", "updated": "1987-11-06T06:07:24.818Z", "migrationVersion": -69354944 } }, "954e3436491ed22ba1925255" ], "watchers": [ { "_id": "9fb9be111883fb7e669856bc", "provenance": "est nostrud enim ut nulla", "username": "culpa", "firstname": "incididunt eiusmod reprehenderit", "memberOf": [ { "groupId": "376cca7ee0c1a9e0058dc63a", "aaaManaged": false }, { "groupId": "23bc464659cc898b3cf38c0b", "aaaManaged": true }, { "groupId": "8a238b92e36c9a3dc6c3307e", "aaaManaged": true }, { "groupId": "a6ba08bdb2b39e07bf1bc245", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "est dolore dolore deserunt" }, { "roleId": "sunt ullamco consectetur" }, { "roleId": "nisi quis" }, { "roleId": "sed ad do ipsum ut" }, { "roleId": "Ut do amet" } ], "inactive": true, "lastLogin": "1987-06-16T11:44:15.673Z", "_meta": { "created": "1992-06-10T21:46:51.047Z", "updated": "2023-04-21T19:24:04.555Z", "migrationVersion": 72188944 }, "email": "commodo fugiat ipsum eu" }, "Pronghorn", "Pronghorn", "b7ad11c9db464a81fe77a373", { "_id": "df17d8932fa25cf0c53a2635", "provenance": "anim", "username": "commodo eiusmod sed esse", "firstname": "eiusmod", "memberOf": [ { "groupId": "21c7490923bb35a3ccf59eef", "aaaManaged": false }, { "groupId": "d95251410cefc0843863bb09", "aaaManaged": true }, { "groupId": "b7cde4c038883cab328571a6", "aaaManaged": false }, { "groupId": "f49484dd9e98a5bc9c8df4df", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ipsum" }, { "roleId": "velit quis" }, { "roleId": "pariatur" }, { "roleId": "qui" } ], "inactive": true, "lastLogin": "2018-12-18T19:04:00.772Z", "_meta": { "created": "1996-11-21T00:50:38.776Z", "updated": "1962-08-12T11:20:27.479Z", "migrationVersion": -34353524 }, "email": "commodo tempor" } ], "metrics": { "start_time": -58554064.61170403, "progress": 0.4306291435093852, "end_time": -51806392.660162136, "user": "136c785445f3bf7366302ed0", "owner": { "_id": "f8a9e1c782ac6b2065c601bf", "provenance": "non et", "username": "aute et exercitation Ut id", "firstname": "proident ipsum mollit qui consectetur", "memberOf": [ { "groupId": "3a85ac623f293e713a0c6cc4", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "amet fugiat consequat" }, { "roleId": "Excepteur sed ex" }, { "roleId": "proident amet velit dolor culpa" } ], "inactive": true, "lastLogin": "2014-02-08T04:50:50.257Z", "_meta": { "created": "2008-04-10T14:59:47.398Z", "updated": "2022-07-20T11:55:29.761Z", "migrationVersion": -79947039 }, "email": "ut qui dolore in laborum" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }