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": "amet sed enim" } }
{ "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": "cb560b5616a48bc1629ee695", "font_size": 25304913, "type": "resource:action", "created": "2008-01-18T20:19:51.921Z", "last_updated": "1955-11-01T13:28:47.73Z", "createdVersion": "316597162.15970.52438909-6391.5244.31729304", "lastUpdatedVersion": "18029.90034490.4662961573-9267.380641010.960.681251275", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -26153174, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 50446679.23000285, "sla": 13816533.57156773, "decorators": [ { "type": "encryption", "pointer": "/~1/e/~0/~1/~0/zVoEW7l/S/s/vnRbJVS/wTHMyOtMFxo/o6AcYrTB" } ], "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": "e28f", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "aliqua ipsum ea ad velit" } ], "ancestors": [ "7105a00b82d582f7a0ee4141", "24d68237b16f30508c202a2a", "c3befd0afac89f5aab79a6a5" ], "validationErrors": [ { "keyword": "in", "dataPath": "officia", "schemaPath": "consectetur pariatur", "message": "et in non aute ex" }, { "keyword": "adipisicing", "dataPath": "Excepteur", "schemaPath": "aute et in officia", "message": "non" } ], "created_by": { "_id": "aec857e4ea04b7adee88191d", "provenance": "proident labore consequat", "username": "consequat laborum", "firstname": "quis laborum voluptate sit amet", "memberOf": [ { "groupId": "7ff4b46f9cff3a22e6643aba", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "pariatur tempor" }, { "roleId": "pariatur sit culpa ea eu" }, { "roleId": "cillum cupidatat" }, { "roleId": "id dolore tempor" } ], "inactive": true, "lastLogin": "1967-07-11T17:34:33.293Z", "_meta": { "created": "1968-07-18T23:37:00.091Z", "updated": "1957-12-01T14:31:10.619Z", "migrationVersion": -13444273 }, "email": "pariatur ut dolore" }, "last_updated_by": { "_id": "d2e506dd768c48cf0d0fac84", "provenance": "ex enim ut", "username": "culpa", "firstname": "nisi", "memberOf": [ { "groupId": "9f7f0752002aff2d60c72fda", "aaaManaged": false }, { "groupId": "5ce019420f291aa13f170751", "aaaManaged": true }, { "groupId": "3eae49b88802525c1a7aab1a", "aaaManaged": false }, { "groupId": "bac42dbf54fa08b7633f6581", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Excepteur incididunt enim irure" }, { "roleId": "est velit" }, { "roleId": "amet aute sit occaecat anim" }, { "roleId": "officia" } ], "inactive": false, "lastLogin": "1946-01-22T00:24:45.983Z", "_meta": { "created": "2017-11-27T16:46:50.988Z", "updated": "1979-10-25T03:04:35.437Z", "migrationVersion": 89841140 }, "email": "ut aute in sit" }, "tasks": { "workflow_start": { "x": 59229042.52794665, "y": -74140263.55174053, "gridCoordinate": { "x": 74579762.9858048, "y": 12279592.132765144 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -82055383.87162554, "finish_state": "success", "user": "9c590b0b3e5c8e2a44d2629d" }, "groups": [ { "_id": "27d7f0a4782f6c2447d627fa", "provenance": "aute", "name": "aliquip", "description": "do quis", "memberOf": [ { "groupId": "7b6de8c65958b25f365cd539", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sunt" }, { "roleId": "minim do" } ], "inactive": true, "_meta": { "created": "1945-11-25T15:22:20.088Z", "updated": "1977-03-14T01:47:57.855Z", "migrationVersion": -11680708 } }, { "_id": "2cd73a03d410fa9e80160391", "provenance": "consectetur", "name": "quis ex enim id", "description": "laboris", "memberOf": [ { "groupId": "0089a4063660e7be25dc5a4b", "aaaManaged": true }, { "groupId": "f2c13211ec5448e0cc3d2f7f", "aaaManaged": true }, { "groupId": "3078e8f203c8ba90c33b8bc4", "aaaManaged": true }, { "groupId": "5089e3e21d0b1e438c1dd861", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "voluptate" }, { "roleId": "ut" }, { "roleId": "velit esse magna aliquip" }, { "roleId": "adipisicing fugiat culpa dolore" }, { "roleId": "consequat culpa" } ], "inactive": true, "_meta": { "created": "1959-05-26T11:50:18.506Z", "updated": "2002-01-01T10:24:27.893Z", "migrationVersion": -90990300 } }, { "_id": "b07daee7e44bc001673d124b", "provenance": "Duis labore veniam id qui", "name": "commodo", "description": "non Excepteur in anim ad", "memberOf": [ { "groupId": "b6f4913288105dc13c57f323", "aaaManaged": true }, { "groupId": "b06c007643b677925d0103eb", "aaaManaged": false }, { "groupId": "896ee28d818ea21c6499e54c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Duis" }, { "roleId": "reprehenderit" }, { "roleId": "voluptate" } ], "inactive": false, "_meta": { "created": "1987-08-24T01:47:27.561Z", "updated": "1947-12-11T07:36:43.929Z", "migrationVersion": 42308777 } }, "c5807ab4bdd5be8d6604c8fb" ], "iterations": [ "BC7cc163-b8E6-838A-ffAB-D7D7563DAD4c", "Bb9C3D3F-BCfF-3D7B-e3f5-ddf8cCadA6fA" ] }, "workflow_end": { "x": -60945061.82940802, "y": 76568129.7072235, "gridCoordinate": { "x": 51771320.592702985, "y": -23877159.541205734 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "e28f", "workflow_end" ], "complete": [ "3a1f", "error_handler", "workflow_start", "workflow_end" ], "error": [ "error_handler", "workflow_start", "workflow_end" ] }, "metrics": { "end_time": -41791594.6066834, "run_time": 37261923.1504522 }, "groups": [ { "_id": "dd6ea423675a697607654dd7", "provenance": "proident irure nulla est", "name": "quis esse", "description": "in laboris", "memberOf": [ { "groupId": "69ac1e075d8f75659f6db015", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consectetur in" } ], "inactive": true, "_meta": { "created": "1979-11-13T20:43:16.183Z", "updated": "1995-07-02T05:32:14.962Z", "migrationVersion": -12307045 } }, "624c65079010461ab393ee98", { "_id": "8bc04c80dd3c22fe04470cb2", "provenance": "dolore voluptate nostrud dolor do", "name": "Ut", "description": "labore laborum qui nostrud ea", "memberOf": [ { "groupId": "ec53fa460b15326df84a7db3", "aaaManaged": false }, { "groupId": "de055c8ac688e56a99c37a5a", "aaaManaged": true }, { "groupId": "e8b59a71cccffc2f0f6be30d", "aaaManaged": true }, { "groupId": "909f6d9c611fed2a09e46fd6", "aaaManaged": false }, { "groupId": "3070b92273b38aa2e7fb0fba", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Excepteur" }, { "roleId": "cupidatat esse in dolore" }, { "roleId": "ea laborum" } ], "inactive": false, "_meta": { "created": "2000-07-13T13:24:56.087Z", "updated": "1976-05-24T17:46:29.664Z", "migrationVersion": 71822489 } }, "ce7fcca58d7e2fa04c030c0b" ], "iterations": [] }, "error_handler": { "x": -76541670.92373596, "y": 57291073.1377573, "gridCoordinate": { "x": -38715470.67562968, "y": 92023630.84166643 }, "name": "childJob", "location": "Application", "locationType": "officia dolor est occaecat eiusmod", "app": "aliqua eu exercitation Lorem Ut", "canvasName": "voluptate aute", "displayName": "minim ad", "summary": "irure culpa consectetur aliqua", "description": "aliquip eu quis", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/e/oc/..gI7/~1/GPuH4cUH0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "dolore exercitation velit", "highlightString": "exercitation consectetur sunt" }, { "key": "sed", "highlightString": "do mollit commodo non" }, { "key": "consectetur sunt aute occaecat amet", "highlightString": "in nulla pariatur" } ], "status": "failure", "previous": { "incomplete": [ "workflow_end", "e28f" ], "complete": [ "3a1f", "3a1f" ], "error": [ "e28f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "revert" } ] }, "serverId": "ea est", "start_time": "1997-09-05T06:15:51.348Z", "end_time": 99298991.73699838, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": { "_id": "51bdb76e56145eaa49f17a12", "provenance": "in ut velit", "username": "labore proident velit", "firstname": "ullamco", "memberOf": [ { "groupId": "be233824831f6ab51441d9a8", "aaaManaged": true }, { "groupId": "009ed94097c1e1323caa1365", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "fugiat laboris" }, { "roleId": "minim officia Duis" } ], "inactive": false, "lastLogin": "2020-10-27T19:13:34.634Z", "_meta": { "created": "1994-07-17T11:24:06.914Z", "updated": "1961-07-02T15:18:40.673Z", "migrationVersion": 48477199 }, "email": "minim cupidatat veniam et" }, "groups": [ "default", { "_id": "3c13b6146f20fb11ba0b0052", "provenance": "Lorem Duis", "name": "ipsum cillum ut laboris", "description": "veniam enim", "memberOf": [ { "groupId": "795bea28a2c790fd7851dc94", "aaaManaged": true }, { "groupId": "788a118bd5f9bc63d0afa1f9", "aaaManaged": false }, { "groupId": "3e4ae828f90d804461554393", "aaaManaged": true }, { "groupId": "9f61850ef18ef4e6571c6d8b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in consequat nostrud" }, { "roleId": "elit reprehenderit" }, { "roleId": "eiusmod dolor commodo" }, { "roleId": "est anim dolore et aute" } ], "inactive": true, "_meta": { "created": "1960-12-09T00:05:39.605Z", "updated": "1961-03-16T10:00:59.605Z", "migrationVersion": 74483230 } } ], "iterations": [ "a2B0b4dC-E30F-E3Cf-5Cf3-B0EE0cfFae44", "fF6e33Bf-F63D-4a2f-cc1D-35DABEfD9d62", "e0ABAB04-63cb-aA14-4B36-50A8e6dE4d78" ] }, "8b90": { "actor": "Pronghorn", "groups": [ { "_id": "83b71015697b11847fa61df6", "provenance": "sunt eiusmod in", "name": "magna", "description": "fugiat", "memberOf": [ { "groupId": "49b91cf5d952def69232ba9c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "labore veniam sed" } ], "inactive": true, "_meta": { "created": "2017-02-06T07:15:29.622Z", "updated": "1963-08-30T11:04:24.798Z", "migrationVersion": -14156800 } }, "default" ], "iterations": [ "3a824699-8aC5-FFfF-51f5-F894C97BA1FE" ], "x": -61490720.370896935, "y": 66433443.40544674, "gridCoordinate": { "x": -88714028.1285657, "y": 35748053.86274412 }, "name": "pending", "summary": "in consequat reprehenderit commodo ea", "description": "ad consequat sunt" } }, "parent": { "job": "non in", "task": "ut Excepteur dolor minim", "iteration": 23566114.75398451, "element": 81125365.06941769 }, "errorHandler": null, "groups": [ { "_id": "11ccfd3ea51b39aaf4e14ae9", "provenance": "id", "name": "mollit aute", "description": "esse anim sunt", "memberOf": [ { "groupId": "e17b2becd403e121a4499ebf", "aaaManaged": false }, { "groupId": "d2c790a70b250db5ae69d077", "aaaManaged": true }, { "groupId": "f986e07c8da1d978a6649b0a", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "laborum ex Lorem aliqua" }, { "roleId": "enim amet veniam culpa dolor" }, { "roleId": "exercitation ullamco" }, { "roleId": "ut dolore ea labore" } ], "inactive": false, "_meta": { "created": "2004-07-18T21:35:53.48Z", "updated": "2009-02-11T02:46:55.402Z", "migrationVersion": -12415063 } }, "36ea0e00d195344fef8d1d99", { "_id": "9295353e61aae41d1b6eb755", "provenance": "dolore eiusmod", "name": "occaecat qui sit", "description": "anim eiusmod", "memberOf": [ { "groupId": "4b2dd54bc113ac9a82b75453", "aaaManaged": true }, { "groupId": "8da91c9844db9d64e8cd4be4", "aaaManaged": true }, { "groupId": "fc6e7c4b493ceb48539d0fa2", "aaaManaged": true }, { "groupId": "72d3b21086984131dda6dd13", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "esse" }, { "roleId": "Ut anim sit ea" } ], "inactive": false, "_meta": { "created": "2007-07-01T11:13:30.154Z", "updated": "1975-04-23T20:07:41.201Z", "migrationVersion": -69749695 } }, "default", "430620be58762763a1e8e0b6" ], "watchers": [ { "_id": "4897c70fa8393e810d7c397e", "provenance": "adipisicing consectetur ipsum minim", "username": "cillum incididunt laborum voluptate", "firstname": "aliqua veniam ut", "memberOf": [ { "groupId": "153a937c23b5e6a5b5b1c1e8", "aaaManaged": false }, { "groupId": "f92235e45d71d6d94e4ff03c", "aaaManaged": true }, { "groupId": "0f792c4ef1e13e6cf81b194f", "aaaManaged": false }, { "groupId": "2946467fa4c9808d74a926c6", "aaaManaged": false }, { "groupId": "4001f542f4b8ae12b5017dd8", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "proident laborum irure enim" }, { "roleId": "incididunt non labore commodo" } ], "inactive": false, "lastLogin": "1999-05-23T07:06:04.576Z", "_meta": { "created": "1986-05-06T22:14:16.704Z", "updated": "1966-05-16T22:46:41.982Z", "migrationVersion": -51501966 }, "email": "adipisicing in" } ], "metrics": { "start_time": 13953708.85604383, "progress": 0.6378083233304119, "end_time": -72924157.09570883, "user": "12cd7996fa5f7d90890144aa", "owner": "37c34cb3ad0b8951ff8e232a" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }