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": "ad sed consectetur voluptate" } }
{ "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": "ff7ffedffe4ac284ef837928", "font_size": -85909471, "type": "resource:action", "created": "1957-06-16T20:01:29.178Z", "last_updated": "2011-06-30T10:17:36.599Z", "createdVersion": "2.840050.6", "lastUpdatedVersion": "84726.8244015.3", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -84776991, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -52276629.47047924, "sla": 93065238.12342623, "decorators": [ { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/pik+OkvYG6/~0/~1/~1" }, { "type": "encryption", "pointer": "/~0/~1/~0/jlylL/OO/qJu/~0/~1" } ], "status": "running", "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": "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": "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", "message": "labore in" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" } ], "ancestors": [ "f3610da55f823f7948086828", "436cd2f901f77642a14b57cd", "68c04530001078605c1763fc" ], "validationErrors": [ { "keyword": "cillum mollit veniam", "dataPath": "consequat", "schemaPath": "dolor adipisicing proident laborum sunt", "message": "laborum deserunt" }, { "keyword": "ad nostrud pariatur mollit commodo", "dataPath": "sint ullamco in", "schemaPath": "commodo sed consequat aute", "message": "adipisicing" }, { "keyword": "ea et", "dataPath": "id magna labore Excepteur ex", "schemaPath": "ex Lorem ipsum adipisicing culpa", "message": "mollit officia" }, { "keyword": "non laborum culpa adipisicing commodo", "dataPath": "occaecat", "schemaPath": "sint dolore", "message": "minim commodo esse qui" }, { "keyword": "consequat", "dataPath": "aliqua ullamco esse sint ut", "schemaPath": "tempor et officia", "message": "nostrud" } ], "created_by": "947de439a912753944bec2f5", "last_updated_by": { "_id": "a756d4fd9853bd488d22bfb1", "provenance": "amet", "username": "ea dolore", "firstname": "velit ex proident id", "memberOf": [ { "groupId": "1a4115ccd2378efb658913bd", "aaaManaged": true }, { "groupId": "3c67b7e75d63b5138d443520", "aaaManaged": true }, { "groupId": "a918b95bf810d0e48897050b", "aaaManaged": true }, { "groupId": "9c6eb4c47adea5c74102eddd", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sint dolor quis ut" }, { "roleId": "dolore voluptate" }, { "roleId": "adipisicing" }, { "roleId": "Ut" }, { "roleId": "voluptate commodo" } ], "inactive": true, "lastLogin": "1970-11-30T12:59:54.775Z", "_meta": { "created": "1964-07-25T07:31:28.944Z", "updated": "1960-06-13T07:46:22.644Z", "migrationVersion": 53205187 }, "email": "ullamco" }, "tasks": { "185": { "actor": "job", "groups": [ "41e0e62eea8b0e427e763b20", "06311ce4980a534d1182bacb", { "_id": "28b3e3c0a373ca05a8a1d50a", "provenance": "dolor proident id dolore", "name": "sit laborum", "description": "non nisi amet velit sint", "memberOf": [ { "groupId": "4bc474bea87644bec2e83904", "aaaManaged": false }, { "groupId": "5d3576892026f2e1a6870a46", "aaaManaged": true }, { "groupId": "e8d920cb519618f5bcb9ed19", "aaaManaged": false }, { "groupId": "4e6b9e6d280510110b0bae31", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cillum eu dolor quis aliquip" }, { "roleId": "eiusmod Duis aliqua consequat" }, { "roleId": "dolore commodo" } ], "inactive": true, "_meta": { "created": "1950-05-25T21:07:53.821Z", "updated": "1961-09-06T20:52:28.874Z", "migrationVersion": -97523872 } }, { "_id": "e3a55a630364cfbd9d1c1e4e", "provenance": "eu", "name": "ullamco proident", "description": "aute esse ipsum nulla", "memberOf": [ { "groupId": "f93fc459e0c4a49184f32b7a", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "non aliqua" }, { "roleId": "mollit aute" }, { "roleId": "incididunt elit in eiusmod non" }, { "roleId": "Excepteur irure dolor" }, { "roleId": "proident eu sit incididunt aliqua" } ], "inactive": false, "_meta": { "created": "1999-12-27T18:14:04.096Z", "updated": "2016-10-05T19:07:07.057Z", "migrationVersion": -31403791 } }, { "_id": "1990b1397740c9ccf9c58b2d", "provenance": "laborum mollit", "name": "eiusmod velit elit labore", "description": "dolore", "memberOf": [ { "groupId": "13414255f779c8591e874d6b", "aaaManaged": false }, { "groupId": "358eddcd8e2b1766173045ca", "aaaManaged": true }, { "groupId": "0803abff94a0632c8c50a1c9", "aaaManaged": false }, { "groupId": "51702f5430e27a494b88d365", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Duis sunt" } ], "inactive": true, "_meta": { "created": "1988-02-07T07:01:58.552Z", "updated": "1966-01-12T12:50:46.033Z", "migrationVersion": -49369907 } } ], "iterations": [ "D4B7cdF7-7D3b-DDa3-b10f-64e67f2d2faE" ], "x": 87277234.51382619, "y": 53119107.02791476, "gridCoordinate": { "x": -75253509.39276692, "y": 3147135.618186295 }, "name": "ea", "location": "Broker", "locationType": null, "app": "cupidatat non Excepteur", "canvasName": "sit proident Duis enim", "displayName": "irure laborum", "summary": "adipisicing nulla velit deserunt ad", "description": "est anim", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/frLD/~0/di3z" }, { "type": "encryption", "pointer": "/~1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "sunt ut cupidatat dolor", "highlightString": "amet cillum" } ], "status": "failure", "previous": { "incomplete": [ "workflow_end", "workflow_end", "workflow_end", "3a1f" ], "complete": [ "error_handler", "3a1f", "error_handler" ], "error": [ "workflow_end", "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "revert" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "error_handler", "type": "standard" } ] }, "serverId": "dolor Excepteur in dolore", "start_time": "1958-01-23T13:00:22.772Z", "end_time": 53521620.58051717, "finish_state": "failure", "retrySettings": null, "type": "manual", "view": "non eiusmod" }, "workflow_start": { "x": -83153227.94105121, "y": 25591020.342703834, "gridCoordinate": { "x": -97410665.45105305, "y": 67947235.94019896 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 25956402.194083154, "finish_state": "success", "user": "Pronghorn" }, "groups": [ { "_id": "ebee3278d4cbd11c0cbc077a", "provenance": "tempor", "name": "occaecat", "description": "aliquip", "memberOf": [ { "groupId": "dab574cb1e431fa1ce7846c1", "aaaManaged": true }, { "groupId": "68835f2db96952ce300e375b", "aaaManaged": false }, { "groupId": "dd4c768a1b0fc5912379132f", "aaaManaged": false }, { "groupId": "58a86bc0a323e08f994a94fd", "aaaManaged": false }, { "groupId": "d3afc754ae3584fb430b0c09", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "do velit dolore ad nulla" }, { "roleId": "ea eu enim Lorem sed" } ], "inactive": false, "_meta": { "created": "1948-09-23T12:49:25.74Z", "updated": "1989-09-25T18:12:08.263Z", "migrationVersion": 52067515 } }, "default" ], "iterations": [] }, "workflow_end": { "x": -2653962.1382793784, "y": 99908814.53606564, "gridCoordinate": { "x": -59605268.671247736, "y": 72217213.06678674 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end" ], "complete": [ "workflow_end" ], "error": [ "workflow_start", "error_handler", "workflow_start" ] }, "metrics": { "end_time": 11704697.814591512, "run_time": 16032524.446837515 }, "groups": [ { "_id": "c8dee9c5339c6a8de14fc989", "provenance": "in", "name": "anim culpa eu ullamco", "description": "tempor est pariatur ipsum", "memberOf": [ { "groupId": "592db71a5ca3d4fb1119d651", "aaaManaged": false }, { "groupId": "a3f7c71efa36b0f44003cf5f", "aaaManaged": false }, { "groupId": "841602a2f4446472fa0b072f", "aaaManaged": false }, { "groupId": "626772f17cd3d6d68b8b50e3", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ut ad in" }, { "roleId": "dolor" }, { "roleId": "dolore fugiat sint consectetur" }, { "roleId": "magna sint" } ], "inactive": false, "_meta": { "created": "2000-03-01T11:24:20.748Z", "updated": "2012-09-18T05:30:14.509Z", "migrationVersion": -48129975 } }, "default", { "_id": "9e90bbbde2ecd607cd0a8b4e", "provenance": "dolore officia sed esse dolore", "name": "magna", "description": "Excepteur Lorem in ut esse", "memberOf": [ { "groupId": "382535766654127fe05bc940", "aaaManaged": false }, { "groupId": "96c56dd98631f2958c0b59f7", "aaaManaged": false }, { "groupId": "f1fe98172fb99bde686a20a2", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consequat officia mollit incididunt" }, { "roleId": "non exercitation veniam" }, { "roleId": "Excepteur aliqua ea ut consectetur" }, { "roleId": "dolore enim" } ], "inactive": true, "_meta": { "created": "1992-12-18T06:23:13.102Z", "updated": "1955-02-12T15:07:07.834Z", "migrationVersion": -82630000 } }, "ae8991b9ffac9c7bd17f738d" ], "iterations": [ "6075ADa9-223F-6EEC-Bf3a-A55A12CC8fD9", "Fe8d327D-b8f8-Dd4C-14be-DFfafB39aDf2" ] }, "error_handler": { "x": -98776065.3809711, "y": -72852523.18505564, "gridCoordinate": { "x": 16024557.839598596, "y": -700648.6947162598 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "aliquip labore", "canvasName": "id et aute veniam", "displayName": "exercitation velit quis non Ut", "summary": "ullamco eu quis", "description": "esse eu tempor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~0/~0/~0" }, { "type": "encryption", "pointer": "/~1/~0/XshIDq7FiB/~0/~1/CWAofaLZqUB/~1/S/YxZyvwCST0c/Qphl/~1" }, { "type": "encryption", "pointer": "/yah1yeGl," } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "mollit dolor nulla quis voluptate", "highlightString": "magna proident Duis non voluptate" }, { "key": "do cupidatat sunt", "highlightString": "in ullamco aliqua" }, { "key": "anim aliqua in", "highlightString": "eu nisi ex deserunt Ut" }, { "key": "enim ex laborum culpa sed", "highlightString": "do in dolor nulla" }, { "key": "sit", "highlightString": "ad enim in esse Excepteur" } ], "status": "incomplete", "previous": { "incomplete": [ "3a1f", "error_handler", "workflow_start", "error_handler" ], "complete": [ "e28f", "workflow_start", "workflow_start" ], "error": [ "3a1f", "workflow_end", "e28f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "qui reprehenderit ullamco", "start_time": "1946-06-23T13:19:56.643Z", "end_time": -42671887.937170275, "finish_state": "success", "retrySettings": { "state": [ "success", "success" ], "autoRetry": true, "limit": 41678807, "delay": 85329035, "count": 3102008, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "36e9057abf70c7703aaea8fa", "f49793ba44586586a90ab379", { "_id": "65226250f998b5d21219b12e", "provenance": "est ipsum sed adipisicing irure", "name": "aute Duis Ut", "description": "fugiat veniam", "memberOf": [ { "groupId": "c7c4bd490075c83919de10c9", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "exercitation magna" } ], "inactive": true, "_meta": { "created": "1994-12-11T14:53:09.871Z", "updated": "1985-04-01T23:24:57.452Z", "migrationVersion": 19195283 } }, { "_id": "e21381e968ff5ac830412fbe", "provenance": "Excepteur id Lorem", "name": "minim", "description": "tempor", "memberOf": [ { "groupId": "69d442d034043b8598c37902", "aaaManaged": false }, { "groupId": "8ff01995f3946c4f13adf005", "aaaManaged": false }, { "groupId": "ce1f35fce01c58ddf777b5bc", "aaaManaged": false }, { "groupId": "23710fda9f71fd72560d2ae4", "aaaManaged": true }, { "groupId": "27c7f500c36af8b946bdc387", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "elit Excepteur quis" } ], "inactive": false, "_meta": { "created": "1983-06-15T14:29:10.019Z", "updated": "1983-12-09T10:58:31.624Z", "migrationVersion": 8486663 } } ], "iterations": [ "3DFC7f65-00c6-C0B0-DceE-Ff13E20036fD", "abaacA8e-c879-6f57-EAa7-aBb345EfE06b", "Be23bFd0-cCBb-174B-844E-5CEA214C867B" ] } }, "parent": { "task": "sunt eiusmod", "iteration": 84415303.47002062, "element": 88029670.98046017 }, "errorHandler": null, "groups": [ "default", "a592602bc93639df5c8cb208" ], "watchers": [ "Pronghorn", { "_id": "e3583a317b289cfeefc5785a", "provenance": "ad proident", "username": "do eu reprehenderit dolor", "firstname": "ex anim elit in", "memberOf": [ { "groupId": "e8a922373fc38cb040abfa2d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "id est" } ], "inactive": true, "lastLogin": "1952-09-12T11:39:41.158Z", "_meta": { "created": "2006-03-13T01:43:34.43Z", "updated": "2023-08-05T18:04:15.817Z", "migrationVersion": 45661642 }, "email": "reprehenderit" } ], "metrics": { "start_time": -49171226.979116686, "progress": 0.6677542643255716, "end_time": -86721341.64614333, "user": { "_id": "db5c2df20fe3e98652132b9c", "provenance": "esse et ex incididunt", "username": "aliquip consectetur in", "firstname": "irure tempor in minim", "memberOf": [ { "groupId": "860321d79b197d46a019d72b", "aaaManaged": true }, { "groupId": "82e1269a4cc2e6e8801dd153", "aaaManaged": true }, { "groupId": "1b1c57fd3f61571d28d42f15", "aaaManaged": false }, { "groupId": "d758d85385a24eccdacee48e", "aaaManaged": false }, { "groupId": "cedf642abd0862c5ce666334", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sit id cupidatat incididunt dolore" }, { "roleId": "do" }, { "roleId": "minim veniam nostrud sit velit" } ], "inactive": true, "lastLogin": "1984-02-04T07:38:40.803Z", "_meta": { "created": "1973-09-28T23:34:09.786Z", "updated": "2018-04-07T22:29:59.37Z", "migrationVersion": 11332604 }, "email": "deserunt eiusmod commodo ut" }, "owner": { "_id": "857ac53f6f885d2ac2423328", "provenance": "aliquip magna dolore tempor amet", "username": "officia", "firstname": "sed", "memberOf": [ { "groupId": "68e197fc0460bfa65494dd99", "aaaManaged": false }, { "groupId": "032e5546a803bc9e0c390c81", "aaaManaged": true }, { "groupId": "e30a6e0553cd9b72034f5a08", "aaaManaged": false }, { "groupId": "a856e4351136fce5a9ca604c", "aaaManaged": true }, { "groupId": "054e2c921479ad059419bc20", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "quis amet sint cupidatat" }, { "roleId": "quis in ullamco incididunt" }, { "roleId": "tempor" }, { "roleId": "commodo elit" }, { "roleId": "nulla" } ], "inactive": true, "lastLogin": "1969-04-26T14:09:23.63Z", "_meta": { "created": "1990-12-22T01:12:06.603Z", "updated": "1963-01-01T01:58:57.34Z", "migrationVersion": -42242956 }, "email": "veniam commodo" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }