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": "commodo" } }
{ "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": "ab92f3ce8fb2997522a87094", "font_size": 17542983, "type": "automation", "created": "1948-06-16T20:48:02.567Z", "last_updated": "2017-05-17T02:37:36.499Z", "createdVersion": "4660.7013.5539374722-1150.98.93", "lastUpdatedVersion": "72750645.88849741.7", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": -19230856, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -12144179.67315051, "sla": -21534573.088259906, "decorators": [ { "type": "encryption", "pointer": "/~1/j1h-M7K9xGd/~1" }, { "type": "encryption", "pointer": "/~0/~0/~1/~0/YB96vOz-yqE/~1/tVUv2MSIk7/~1/Iydpl0u" }, { "type": "encryption", "pointer": "/Q/~1" }, { "type": "encryption", "pointer": "/vqXNB1vEYNx/~0/~1/~0/F1vEM,/~1" } ], "status": "complete", "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" } ], "ancestors": [ "658d9d9e90dc32848033eee9", "d0322300e8a4f4d919dbb33e", "79d6caab735882964a167223" ], "validationErrors": [ { "keyword": "voluptate ipsum eiusmod", "dataPath": "proident qui Excepteur ut", "schemaPath": "laborum nisi est ullamco ex", "message": "quis do magna anim" }, { "keyword": "sint", "dataPath": "id", "schemaPath": "est in Excepteur incididunt elit", "message": "nostrud" }, { "keyword": "elit commodo cupidatat sit et", "dataPath": "incididunt eu non sint", "schemaPath": "pariatur", "message": "laborum ex pariatur" } ], "created_by": { "_id": "0b7fa8be9cd392259a749b1a", "provenance": "amet et Duis nulla", "username": "cupidatat culpa non consectetur fugiat", "firstname": "ea", "memberOf": [ { "groupId": "2fc9ad800ffda8af0ec45fc4", "aaaManaged": true }, { "groupId": "2b93d98f947413268c8f58b2", "aaaManaged": true }, { "groupId": "b702cece1f2058e93ecf163b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ad pariatur" }, { "roleId": "veniam exercitation laboris cillum" }, { "roleId": "aliquip elit" }, { "roleId": "cillum" } ], "inactive": true, "lastLogin": "2019-06-29T19:00:12.964Z", "_meta": { "created": "2001-01-03T12:50:57.607Z", "updated": "2006-02-05T15:43:19.562Z", "migrationVersion": 67599085 }, "email": "eiusmod quis" }, "last_updated_by": "4ba3bc1d2b3189e0627c2497", "tasks": { "workflow_start": { "x": 33896228.62251285, "y": -16690932.771108717, "gridCoordinate": { "x": -17198707.57767415, "y": -13360192.020358682 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -61103352.9897969, "finish_state": "success", "user": { "_id": "3e40a94a675bd5de3aec56f5", "provenance": "consectetur sit", "username": "tempor Excepteur voluptate et sunt", "firstname": "quis officia", "memberOf": [ { "groupId": "128ab5d612611a0655bf7d8c", "aaaManaged": false }, { "groupId": "68205444a5853ccb47b35a28", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Ut labore enim" }, { "roleId": "pariatur consequat fugiat" }, { "roleId": "non occaecat" }, { "roleId": "culpa aliqua labore do occaecat" } ], "inactive": false, "lastLogin": "1952-01-14T17:08:30.387Z", "_meta": { "created": "1953-12-19T02:48:57.437Z", "updated": "1967-07-10T15:02:22.586Z", "migrationVersion": -43553601 }, "email": "ex proident consectetur ipsum" } }, "groups": [ { "_id": "54a482842a48ab5b26e98935", "provenance": "elit", "name": "sit irure consequat adipisicing tempor", "description": "anim ad irure labore", "memberOf": [ { "groupId": "90c1fd8e8f9ea34f83e44f7d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "culpa proident veniam" } ], "inactive": true, "_meta": { "created": "2008-05-19T17:55:06.502Z", "updated": "1989-09-11T12:14:48.522Z", "migrationVersion": 84128897 } }, "9bd25ac295f314dad7b35f5a" ], "iterations": [ "6DcDcd6D-5bAC-Ec5B-6A7a-8E0faebBDdB1", "5A4E3bCb-550C-EaeF-58Ab-f484DB85Cc36", "65d98655-ce25-Caa4-Dd6c-83bDBb9c0FB8" ] }, "workflow_end": { "x": 59826315.370738655, "y": -73265000.5773691, "gridCoordinate": { "x": -55990082.33865041, "y": 27754651.326652676 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "workflow_start", "workflow_start", "error_handler", "error_handler" ], "complete": [ "workflow_start", "workflow_start", "workflow_end" ], "error": [ "workflow_start" ] }, "metrics": { "end_time": -56535829.12496389, "run_time": 91911099.0147233 }, "groups": [ { "_id": "a817bc610185b6303dfca055", "provenance": "aliqua", "name": "dolore consectetur", "description": "exercitation", "memberOf": [ { "groupId": "6cfcf278bf6d610653f8aa70", "aaaManaged": true }, { "groupId": "6b513a62475bef8cd3989583", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "esse et culpa amet nisi" } ], "inactive": false, "_meta": { "created": "1998-04-09T17:53:04.535Z", "updated": "1996-03-18T00:01:45.289Z", "migrationVersion": -85762621 } }, "default", "e2aff8b70bd32feb4fb73656" ], "iterations": [ "f4e1d1e7-8eaB-eC76-3Fa4-456F8Db0aB7F", "6EBFE2fC-BEAB-2DaD-E05C-c54b2e6BfBfE" ] }, "error_handler": { "x": 68908909.05721796, "y": -43502184.85401545, "gridCoordinate": { "x": 45926384.433235556, "y": 75395215.7775661 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "nulla sed culpa nostrud", "canvasName": "dolor cupidatat eu", "displayName": "pariatur sit sunt ad cillum", "summary": "elit consequat velit occaecat", "description": "voluptate dolore Lorem", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/T5mX0" }, { "type": "encryption", "pointer": "/mMdxOcd/JK89SwA8-If/np9ThEE7K/~1/U78/f/~1/cbPNl2y/~0" }, { "type": "encryption", "pointer": "/~1/j,jA-CL/~0" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "laboris deserunt", "highlightString": "qui cupidatat in adipisicing irure" } ], "status": "paused", "previous": { "incomplete": [ "workflow_start" ], "complete": [ "workflow_start", "workflow_start" ], "error": [ "3a1f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_end", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_end", "type": "loop" } ] }, "serverId": "adipisicing laboris irure nostrud", "start_time": "2013-01-11T05:09:05.024Z", "end_time": -34043696.51652384, "finish_state": "error", "retrySettings": { "state": [ "failure", "failure", "success" ], "autoRetry": true, "limit": 18054712, "delay": 43597756, "count": 62894444, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ { "_id": "3fd1e9ecabde028dbf99aa35", "provenance": "magna", "name": "in veniam in in consectetur", "description": "reprehenderit", "memberOf": [ { "groupId": "e6c2abb5560e352d9137e396", "aaaManaged": true }, { "groupId": "ca819d860cdfc60c76bc35c2", "aaaManaged": false }, { "groupId": "67651b203189cd6385ea0225", "aaaManaged": false }, { "groupId": "9363a698b4a66fd5726af0d4", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "eu" }, { "roleId": "cupidatat in reprehenderit" }, { "roleId": "dolor" } ], "inactive": true, "_meta": { "created": "1952-06-20T23:16:09.534Z", "updated": "1949-03-03T13:54:30.162Z", "migrationVersion": -25628607 } }, "default" ], "iterations": [ "6eF76a1B-F2FE-A7ba-36f2-e58B51d6cb14", "6cCBE6c9-E19f-E7ee-dCf5-a7dd5b5524b7" ] }, "7b": { "actor": "job", "groups": [ { "_id": "ceed061a0e73f06189686094", "provenance": "ad laborum irure in", "name": "commodo consequat cillum minim", "description": "velit fugiat", "memberOf": [ { "groupId": "83eb825ab2742c2593d006f2", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "veniam enim non labore" }, { "roleId": "veniam ullamco officia in anim" } ], "inactive": false, "_meta": { "created": "1990-10-09T14:07:31.345Z", "updated": "1977-04-30T08:04:17.386Z", "migrationVersion": -5501957 } }, { "_id": "406e45de849380082a27727a", "provenance": "aute occaecat consequat proident", "name": "deserunt velit adipisicing commodo nostrud", "description": "aliqua nisi consequat ad", "memberOf": [ { "groupId": "9669dd33d91120c15bc71e7b", "aaaManaged": false }, { "groupId": "f24326ddda64ce3204cd5492", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cillum nulla veniam dolor commodo" }, { "roleId": "deserunt veniam velit" }, { "roleId": "occaecat" }, { "roleId": "est" }, { "roleId": "veniam dolore aliquip est" } ], "inactive": false, "_meta": { "created": "2014-08-15T19:31:20.072Z", "updated": "2008-01-26T03:31:07.369Z", "migrationVersion": -86129047 } }, "default", { "_id": "cbd6e38c66edf9093cd0c620", "provenance": "labore in eu irure", "name": "consequat incididunt tempor ad", "description": "enim exercitation Excepteur", "memberOf": [ { "groupId": "61f2dcace2bf94e9bbf80807", "aaaManaged": false }, { "groupId": "be941c6bc193e01cd4bb339c", "aaaManaged": true }, { "groupId": "5d4f3e695be0def8f5b0cd8f", "aaaManaged": false }, { "groupId": "07ab87b65263ab130c834704", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolore tempor" }, { "roleId": "in esse mollit ut deserunt" }, { "roleId": "ea nostrud in Ut dolore" } ], "inactive": true, "_meta": { "created": "1947-03-14T16:59:00.704Z", "updated": "1958-05-28T09:32:07.903Z", "migrationVersion": -50620975 } }, { "_id": "5818cbda5d735eec0561a387", "provenance": "adipisicing dolore", "name": "dolore", "description": "voluptate officia", "memberOf": [ { "groupId": "b0a6cd458612e629cab86ed2", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "laboris nulla" }, { "roleId": "occaecat sint ea veniam" }, { "roleId": "Duis" }, { "roleId": "Ut veniam eu deserunt" } ], "inactive": false, "_meta": { "created": "1998-04-03T12:41:14.629Z", "updated": "2010-07-20T07:57:58.947Z", "migrationVersion": 84138348 } } ], "iterations": [ "68b4d919-1FB9-0E4a-DA07-9cE8e19abCea", "a1C3E78F-F267-D048-8d49-b5662CfCE13C" ], "x": 97586496.37303641, "y": -60266064.91530506, "gridCoordinate": { "x": -76186954.85127059, "y": 44857785.01017141 }, "name": "esse exercitation dolor", "location": "Application", "locationType": "ad dolor in veniam", "app": "nisi aute et ut", "canvasName": "anim quis", "displayName": "eiusmod", "summary": "pariatur ut", "description": "pariatur consequat", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/cO0-i/T/~0" }, { "type": "encryption", "pointer": "/~1/IHYgCw/K/UlPB1sUtt/H,4zs/~0/c+G,bE/~1/y0a4N.LNb/~0/Xy-0r8UnZz" }, { "type": "encryption", "pointer": "/c/WnEwFjI4j/~0/~1/SdlmCQz4/ypimx/~0" }, { "type": "encryption", "pointer": "/~0/YFO/~1/~0/Udf8r" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "sunt ullamco est et esse", "highlightString": "in" }, { "key": "Lorem", "highlightString": "nostrud non voluptate" } ], "status": "failure", "previous": { "incomplete": [ "3a1f", "workflow_end" ], "complete": [ "workflow_end" ], "error": [ "workflow_start", "e28f", "workflow_end", "workflow_start" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "loop" } ] }, "serverId": "officia consequat", "start_time": "1956-09-22T02:23:09.078Z", "end_time": -14172625.92262593, "finish_state": "error", "retrySettings": null, "type": "manual", "view": "ea consequat" } }, "parent": { "task": "ex", "iteration": 91669627.44687483, "element": -5542840.102478802 }, "errorHandler": { "actor": { "_id": "39bf660a47590ec25432022b", "provenance": "irure anim esse sit", "username": "laborum", "firstname": "aute", "memberOf": [ { "groupId": "70b2a0b8ba6a32b33942a5a3", "aaaManaged": false }, { "groupId": "3f20114d172425c9b7c72642", "aaaManaged": false }, { "groupId": "4b3e1003c6de7ae705cc7314", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "non in" }, { "roleId": "dolor adipisicing non" }, { "roleId": "irure deserunt" }, { "roleId": "nostrud dolor voluptate" }, { "roleId": "ea sint dolore proident deserunt" } ], "inactive": false, "lastLogin": "2024-12-14T13:30:40.751Z", "_meta": { "created": "1976-02-19T10:26:44.453Z", "updated": "1998-10-11T05:59:35.911Z", "migrationVersion": 12706706 }, "email": "quis" }, "groups": [ "default", "default", "default", "8c534ae8aac19a73df35fdfc", "fff299f4a82b804f6cbf01e1" ], "iterations": [ "2b3B0fD5-3cDA-ED4A-bDD0-Ea03D48EDE68", "ECCB31D0-AA13-e727-EbaC-c904C018AbBF", "F1dD6ae1-034B-5a58-2C5E-A6aDDe1B3b10" ], "x": -32343157.877099797, "y": -54853828.80687251, "gridCoordinate": { "x": 30680266.98708421, "y": -65519078.95818427 }, "name": "eu ullamco commodo qui non", "location": "Adapter", "locationType": "nulla eiusmod", "app": "officia", "canvasName": "et exercitation sint", "displayName": "Duis aliqua dolor esse aute", "summary": "nulla id aute", "description": "nisi", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/wkyvtH/~0/qtLWSUyt0I./a8w5k.rC/~1/~0/q6cT1VQymdP" }, { "type": "encryption", "pointer": "/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "aute id dolore voluptate qui", "highlightString": "incididunt ad" }, { "key": "ut ea nulla fugiat mollit", "highlightString": "pariatur" }, { "key": "sunt", "highlightString": "ex irure est nulla" }, { "key": "velit Duis laborum", "highlightString": "quis" }, { "key": "Lorem", "highlightString": "deserunt aliquip" } ], "status": "complete", "previous": { "incomplete": [ "3a1f" ], "complete": [ "workflow_end" ], "error": [ "workflow_start" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "revert" } ], "error": [ { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "cupidatat dolor", "start_time": "1998-10-26T10:44:32.141Z", "end_time": 43256706.63858497, "finish_state": "success", "retrySettings": { "state": [ "success", "failure", "failure", "error" ], "autoRetry": true, "limit": 17376650, "delay": 42872894, "count": 20299731, "finishedRetrying": false }, "type": "manual", "view": "officia sed enim quis" }, "groups": [ "default", { "_id": "79d7054b0fe7056b4317ac56", "provenance": "dolor", "name": "aliquip laboris", "description": "Excepteur", "memberOf": [ { "groupId": "8ae88c734686c3adbdc2fc54", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliquip" }, { "roleId": "incididunt in" }, { "roleId": "exercitation amet nulla dolore est" }, { "roleId": "enim aliqua sint" } ], "inactive": false, "_meta": { "created": "2003-07-03T15:00:40.473Z", "updated": "1963-02-21T11:58:33.23Z", "migrationVersion": -96700680 } }, "default", "default", "e3459405612e2c6d5459166c" ], "watchers": [ "c39d94cd52e6d6e7a3973a4f", { "_id": "13213623590a274b15f4e023", "provenance": "quis", "username": "aute ullamco mollit", "firstname": "laboris", "memberOf": [ { "groupId": "fa5bb72fa8b008e49642ec5f", "aaaManaged": false }, { "groupId": "12d293b0fd8998b680505d29", "aaaManaged": true }, { "groupId": "d29010477401681ed5ad1a5e", "aaaManaged": true }, { "groupId": "7e77969a95d5c2479dd6d4e0", "aaaManaged": false }, { "groupId": "c1b16eeb2cbbb3b722cbf695", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliqua aute" }, { "roleId": "esse laboris" }, { "roleId": "sed" }, { "roleId": "ullamco proident" }, { "roleId": "id" } ], "inactive": false, "lastLogin": "1955-07-28T16:24:38.192Z", "_meta": { "created": "1985-01-01T12:04:50.336Z", "updated": "1970-06-26T09:29:04.665Z", "migrationVersion": 34008134 }, "email": "non ullamco amet irure" } ], "metrics": { "start_time": -98254096.09120372, "progress": 0.008418206808922246, "end_time": -1228415.9795298576, "user": "Pronghorn", "owner": { "_id": "b9a41f17b60f1460b4f1d6b3", "provenance": "dolore reprehenderit laborum enim", "username": "qui est magna aliquip", "firstname": "proident ipsum tempor sit", "memberOf": [ { "groupId": "72e19cd041de965f2622cf0e", "aaaManaged": false }, { "groupId": "74c96c150aab677c9f09f160", "aaaManaged": true }, { "groupId": "f8043e4720670b4adb9daafe", "aaaManaged": false }, { "groupId": "2132f806a6025bd27756f563", "aaaManaged": true }, { "groupId": "ca3696d5d1053814261f6ae4", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Duis ipsum" } ], "inactive": false, "lastLogin": "1974-10-04T04:06:01.599Z", "_meta": { "created": "1986-06-29T21:13:57.964Z", "updated": "1970-08-22T22:04:25.811Z", "migrationVersion": -58714533 }, "email": "deserunt" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }