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": "magna eu adipisicing qui consectetur" } }
{ "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": "d52a310e2eda5fe9b38c0502", "font_size": 88132827, "type": "automation", "created": "1982-11-05T04:54:44.409Z", "last_updated": "1947-07-04T11:01:57.372Z", "createdVersion": "5223697.05893.01061-6796.247.88375516887.591", "lastUpdatedVersion": "0358606.759.285094490", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -27704699, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -91836153.16246097, "sla": 16233676.16298528, "decorators": [ { "type": "encryption", "pointer": "/~1/~0/~0/TmmTS/~0/~0/~0" }, { "type": "encryption", "pointer": "/y6SNU.OjfnI" } ], "status": "paused", "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 } ], "warnings": [ { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "qui" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "reprehenderit Excepteur mollit" } ], "ancestors": null, "validationErrors": [ { "keyword": "ipsum pariatur dolore", "instancePath": "eu magna mollit incididunt aliqua", "schemaPath": "nulla", "message": "reprehenderit velit dolor" } ], "created_by": null, "last_updated_by": null, "tasks": { "workflow_start": { "x": 17444783.84336707, "y": -69563160.05222036, "gridCoordinate": { "x": -48238517.885511056, "y": 27438220.853057116 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 60834488.51607573, "finish_state": "success", "user": "260804fc2ef96bf51c77f281" }, "groups": [ "default", { "_id": "31284da6d1207a7b341d2a92", "provenance": "qui in commodo", "name": "ad", "description": "voluptate magna culpa", "memberOf": [ { "groupId": "f084213846a059dba4c9aa7c", "aaaManaged": true }, { "groupId": "a4aabca49faf3083f481d0e5", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sint eiusmod sunt dolore" }, { "roleId": "ut" }, { "roleId": "sit non voluptate" }, { "roleId": "dolore aliquip id sunt non" }, { "roleId": "in" } ], "inactive": true, "_meta": { "created": "1953-09-04T00:02:13.25Z", "updated": "2015-12-18T00:16:03.262Z", "migrationVersion": -53349329 } } ], "iterations": [ "568adc8D-2a95-8A2b-bD2a-C93f429FD444", "df56Ea9e-B27E-8b45-bE17-a414d234aa78", "f7a08A8F-4b3F-D0a8-A6D7-BfEfC3e7c30c" ] }, "workflow_end": { "x": -23935881.716920674, "y": 33388919.168487877, "gridCoordinate": { "x": 44143587.775983214, "y": 34594526.53778231 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "workflow_start", "3a1f", "workflow_start" ], "complete": [ "error_handler" ], "error": [ "workflow_start", "workflow_start", "error_handler", "3a1f", "error_handler" ] }, "metrics": { "end_time": -25045596.08941239, "run_time": -78172405.24561603 }, "groups": [ "default", { "_id": "b5d1fbd310d9655a84cad480", "provenance": "laborum veniam non Lorem", "name": "sit dolore nulla sunt consectetur", "description": "anim", "memberOf": [ { "groupId": "fbdcb86dc296999fe2af118a", "aaaManaged": true }, { "groupId": "7a65eeb9de731f68c6ef3192", "aaaManaged": true }, { "groupId": "3f194a9bfa5194fb4b424f17", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Excepteur Ut nisi sed aliqua" } ], "inactive": false, "_meta": { "created": "2009-06-10T08:01:29.471Z", "updated": "1964-05-04T11:25:45.028Z", "migrationVersion": 80897538 } }, { "_id": "78bdb39cdaf634b010cf2f45", "provenance": "fugiat eiusmod dolore", "name": "aute", "description": "quis", "memberOf": [ { "groupId": "e8fc3e857d8fc68e00a7edd6", "aaaManaged": true }, { "groupId": "03049f8ea12f135bf23d602b", "aaaManaged": false }, { "groupId": "f4a182aee87a0b4df5da3f40", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "enim cupidatat pariatur velit" }, { "roleId": "esse do cupidatat veniam quis" }, { "roleId": "culpa sunt reprehenderit ut" }, { "roleId": "do fugiat consequat nostrud" } ], "inactive": true, "_meta": { "created": "1963-10-05T15:00:37.637Z", "updated": "2013-05-27T11:34:16.747Z", "migrationVersion": 55338463 } } ], "iterations": [ "fAB7accf-94DD-3ee1-ACEd-365D9ce0E5bA", "cb8fb153-4526-f07a-A3D9-dB42Da7Bb836", "fF58fBb5-9143-D56F-e8ee-5aE2B71BFFE3" ] }, "error_handler": { "x": -38198472.88971667, "y": -72286165.93725592, "gridCoordinate": { "x": 20068360.868010074, "y": 94229789.86999798 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "id qui", "canvasName": "ea aute laboris consectetur", "displayName": "in irure id dolore fugiat", "summary": "dolor esse veniam velit", "description": "minim exercitation mollit sed occaecat", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/y/~0/~0/BlJ0F/~1/~0/~1/~1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "aliquip", "highlightString": "reprehenderit sit voluptate in" }, { "key": "cupidatat labore", "highlightString": "incididunt dolore velit quis" } ], "status": "canceled", "previous": { "incomplete": [ "3a1f", "3a1f", "workflow_start" ], "complete": [ "workflow_end", "3a1f", "workflow_start" ], "error": [ "error_handler", "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_end", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "3a1f", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "standard" }, { "task": "error_handler", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "revert" } ] }, "serverId": "ad aliqua cillum", "start_time": "1984-07-22T14:54:24.679Z", "end_time": 23685852.130310938, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": { "_id": "1a5ac063041be2e486deab1a", "provenance": "Excepteur reprehenderit irure sit", "username": "irure labore deserunt", "firstname": "in aute dolore cupidatat", "memberOf": [ { "groupId": "5c2414c2c9ea2b93c57da99e", "aaaManaged": true }, { "groupId": "9517a0f33f3263f826d3f1cd", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "labore dolor pariatur" }, { "roleId": "ad laborum" }, { "roleId": "laborum voluptate" } ], "inactive": false, "lastLogin": "1997-03-12T12:31:19.946Z", "_meta": { "created": "1949-03-08T11:24:32.915Z", "updated": "1947-12-08T09:29:03.556Z", "migrationVersion": 18369999 }, "email": "reprehenderit Ut" }, "groups": [ { "_id": "b867f45dbcbd1e3ee583b325", "provenance": "ex Excepteur", "name": "non", "description": "aliquip Excepteur officia in", "memberOf": [ { "groupId": "9ebd48f7b08897f14ac9314e", "aaaManaged": false }, { "groupId": "3362408ad735d970baf3275a", "aaaManaged": false }, { "groupId": "97fec60f3ba08371a253ad75", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nisi laboris voluptate consequat" }, { "roleId": "sint nulla aliquip aliqua" }, { "roleId": "sint" }, { "roleId": "elit commodo dolor" }, { "roleId": "non" } ], "inactive": false, "_meta": { "created": "2018-10-17T00:52:48.218Z", "updated": "1982-08-27T16:54:56.625Z", "migrationVersion": -16509504 } }, "default" ], "iterations": [] }, "db0c": { "actor": "job", "groups": [ { "_id": "7cc3d2c017bba36973c0caa8", "provenance": "officia Duis", "name": "dolore ad do", "description": "occaecat enim consequat", "memberOf": [ { "groupId": "59fca9b5b611a96a6998d093", "aaaManaged": true }, { "groupId": "9df536026a1778633cd14c07", "aaaManaged": false }, { "groupId": "f760771ade8c60c8e5d82284", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "deserunt" }, { "roleId": "qui non ad quis" }, { "roleId": "anim est" }, { "roleId": "ut ipsum dolore est" } ], "inactive": false, "_meta": { "created": "1946-05-08T04:24:31.904Z", "updated": "1971-12-26T11:26:49.646Z", "migrationVersion": -62584078 } }, "default", "default", { "_id": "86ee00f17cdab3dbac61d991", "provenance": "reprehenderit", "name": "ea laboris", "description": "amet", "memberOf": [ { "groupId": "e952a9c3df23db17f89cbf1e", "aaaManaged": true }, { "groupId": "649ecc438be713b9c64a5f96", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "reprehenderit" }, { "roleId": "veniam labore" }, { "roleId": "cillum" }, { "roleId": "id sunt ut exercitation in" }, { "roleId": "irure nostrud dolore" } ], "inactive": false, "_meta": { "created": "1952-01-06T04:44:54.582Z", "updated": "1956-04-09T19:16:22.143Z", "migrationVersion": -24053369 } }, { "_id": "c3d8d8e0263d66362a45c2d2", "provenance": "proident nulla id", "name": "nisi ea id ut Duis", "description": "pariatur minim culpa id dolore", "memberOf": [ { "groupId": "d2fd836412d68440047644cb", "aaaManaged": false }, { "groupId": "cfb6f8881d68f01ea1df8c84", "aaaManaged": true }, { "groupId": "de9f5eeb7a09857d175e8aaa", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "anim dolor" } ], "inactive": false, "_meta": { "created": "1970-10-04T05:44:07.121Z", "updated": "1983-11-29T13:25:59.035Z", "migrationVersion": 77056314 } } ], "iterations": [ "Dadf5ddD-Ae42-Cf38-5766-8CBBceb4DdEC", "8eCDdebD-4670-7126-4Cbb-b899FFCdE630", "0a2FCDAE-80B6-CFAE-ebEA-dda2C24b3DD0" ], "x": 71244438.02077952, "y": 45878812.27507001, "gridCoordinate": { "x": -72573937.13969949, "y": -12348379.911227569 }, "name": "pending", "summary": "et deserunt Duis", "description": "cillum irure sit quis" } }, "parent": { "task": "anim in sunt amet", "iteration": 74728092.42986393, "element": 43193888.78751457 }, "errorHandler": { "actor": "job", "groups": [ { "_id": "31791fb48756055d990b3418", "provenance": "non et", "name": "consectetur", "description": "ipsum ad pariatur aliqua ex", "memberOf": [ { "groupId": "aeb8d6385ec11e716905ee6d", "aaaManaged": true }, { "groupId": "228472f3252eae2f15af8ef1", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cupidatat qui sed" } ], "inactive": true, "_meta": { "created": "1956-02-22T05:40:06.157Z", "updated": "2012-04-30T06:00:51.879Z", "migrationVersion": 78363338 } }, "41ab7aeb869ce56904e50d80", "4da9838c5132822e5c0bb9b6" ], "iterations": [ "1EE94cDE-FB36-5452-15Fd-CacE81Cc3BC3" ], "x": 66837203.43311763, "y": -88286461.8444299, "gridCoordinate": { "x": 33004765.541001335, "y": 84295566.37003008 }, "name": "pending", "summary": "labore", "description": "magna" }, "groups": [ "default", { "_id": "1cde89b438a96c7ba035e143", "provenance": "ad ipsum dolore", "name": "reprehenderit cillum ea qui voluptate", "description": "Ut minim id pariatur Duis", "memberOf": [ { "groupId": "577c47e49131cbd0f0943f3e", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in" }, { "roleId": "in aliqua" }, { "roleId": "Ut dolor minim nulla voluptate" }, { "roleId": "Ut esse irure" }, { "roleId": "labore" } ], "inactive": true, "_meta": { "created": "1997-03-27T10:42:48.886Z", "updated": "1983-07-28T18:29:49.665Z", "migrationVersion": -33856794 } }, "868b78516d4ada1c37385608", "6b31b40e5bcfb69180fdd166", "default" ], "watchers": [ "79628280f26fa42e1a75640b", "Pronghorn", null, "Pronghorn" ], "metrics": { "start_time": 40430445.00783256, "progress": 0.4426594411913207, "end_time": -86483447.17480363, "user": { "_id": "2a715efaeee24310c6bd09b6", "provenance": "velit sed non commodo", "username": "velit occaecat", "firstname": "amet tempor nisi officia", "memberOf": [ { "groupId": "c718179186ebf964c51d2d7f", "aaaManaged": false }, { "groupId": "adb928d064f7bb801ea55155", "aaaManaged": false }, { "groupId": "076da144f62a019cf8560d5c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "adipisicing Excepteur labore qui cillum" }, { "roleId": "proident labore" }, { "roleId": "magna" }, { "roleId": "voluptate" }, { "roleId": "culpa" } ], "inactive": true, "lastLogin": "1949-12-30T13:26:17.809Z", "_meta": { "created": "1990-08-06T14:20:01.235Z", "updated": "2012-04-02T11:21:03.651Z", "migrationVersion": 31362508 }, "email": "anim commodo nulla id qui" }, "owner": "5c5b2acc1a1f5b296cb8f61f" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }