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": "ut elit aute ullamco" } }
{ "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 retrieved search results", "data": { "_id": "5f438b6cf9927a03c5d8b9a9", "font_size": 56226870, "type": "automation", "created": "2020-10-08T21:04:32.096Z", "last_updated": "1994-03-24T10:48:28.053Z", "createdVersion": "72.7966593330.69244303191-8451.366481.507.4296422", "lastUpdatedVersion": "011951415.629.46377-9186.615860669.766500591.2", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -87316637, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -39130935.70288839, "sla": -24338417.562308654, "decorators": [ { "type": "encryption", "pointer": "/~1/~0/tQgOHkE/~1/wwpTZ--bq/~0/~1/~1" }, { "type": "encryption", "pointer": "/~1/~1/~1/~1/~1/FSKi012C/DNM8Kh/818S/~0/~1/aU4Sogj/F" } ], "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": "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": "error_handler", "name": "myCoolDocumentName", "message": "voluptate" } ], "ancestors": [ "19eafd77dd97f38ccc0a0da8" ], "validationErrors": [ { "keyword": "deserunt culpa", "dataPath": "quis enim exercitation", "schemaPath": "tempor amet eu", "message": "officia" }, { "keyword": "eu nostrud quis proident", "dataPath": "anim aliqua ea", "schemaPath": "aute commodo", "message": "enim voluptate cillum non" } ], "created_by": "e32a895c4aa5850ecd9e4aac", "last_updated_by": null, "tasks": { "workflow_start": { "x": 51277361.4856357, "y": 17869536.067810938, "gridCoordinate": { "x": 19590176.56527862, "y": -49329182.42629252 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 38542708.179445386, "finish_state": "success", "user": "80fee5351a90ba50fb140c31" }, "groups": [ "default", "default", "2997670cdec59a7bca7eb891" ], "iterations": [ "1eCb06C1-a8CB-E73f-2e1C-E988ef0E7dcA", "40ec1897-A5Ba-591A-4828-D5A992A5c5a4" ] }, "workflow_end": { "x": 44507802.18868205, "y": 96638349.47807956, "gridCoordinate": { "x": -87026807.64306638, "y": -49864594.288519815 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "e28f", "3a1f", "3a1f" ], "complete": [ "workflow_start", "workflow_end", "3a1f", "error_handler" ], "error": [ "workflow_end" ] }, "metrics": { "end_time": -38957322.06823435, "run_time": 87194814.76959857 }, "groups": [ { "_id": "168237e5fc7757f2f42fe853", "provenance": "labore do est sunt", "name": "et qui sit", "description": "sit Duis do anim elit", "memberOf": [ { "groupId": "6b4b1539c6ff28f1bf57c98d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "tempor ad veniam" }, { "roleId": "culpa minim" }, { "roleId": "nostrud qui magna" }, { "roleId": "ad" }, { "roleId": "incididunt irure dolor laboris qui" } ], "inactive": false, "_meta": { "created": "1976-07-16T23:06:46.496Z", "updated": "1968-12-24T19:20:56.78Z", "migrationVersion": 66394942 } }, "default", "default", "default" ], "iterations": [ "A740a17d-0754-670B-Fd40-D2475fBaaC4b", "dA8fdF4F-FA27-e3Fe-A3D8-45d1cA6db92e", "d6672E2f-dc9C-bd07-DBA9-1cdBb8ED9FCC" ] }, "error_handler": { "x": 64301112.830507725, "y": -28812119.80103089, "gridCoordinate": { "x": -93318829.3024445, "y": 23411357.300761715 }, "name": "childJob", "location": "Adapter", "locationType": "mollit non dolore voluptate", "app": "occaecat", "canvasName": "ex est", "displayName": "labore", "summary": "tempor Lorem", "description": "consequat Excepteur ad laborum", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/dX/~0/~0/~0/~0/~1/~1" }, { "type": "encryption", "pointer": "/HLA5wzy5" }, { "type": "encryption", "pointer": "/~0/Z" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "quis proident aliqua", "highlightString": "aute" } ], "status": "complete", "previous": { "incomplete": [ "3a1f", "error_handler" ], "complete": [ "workflow_start", "error_handler", "workflow_start", "error_handler", "workflow_end" ], "error": [ "error_handler", "workflow_start", "e28f", "e28f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "e28f", "type": "loop" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "standard" } ] }, "serverId": "sed irure consequat veniam Ut", "start_time": "1954-07-28T09:02:51.008Z", "end_time": 52979161.165261835, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": { "_id": "3abcb42362841de36133c62c", "provenance": "voluptate aute", "username": "elit pariatur qui ullamco", "firstname": "et culpa aliqua adipisicing mollit", "memberOf": [ { "groupId": "f63ba7c79ce593ca9061ae48", "aaaManaged": false }, { "groupId": "b2420e56124dc648e3c030f6", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Duis" }, { "roleId": "labore Duis cillum" }, { "roleId": "labore" }, { "roleId": "magna" }, { "roleId": "mollit quis anim commodo" } ], "inactive": false, "lastLogin": "2023-12-10T08:56:22.018Z", "_meta": { "created": "1995-05-12T16:01:21.141Z", "updated": "1980-07-15T09:56:36.102Z", "migrationVersion": -41847344 }, "email": "ad Duis in dolore" }, "groups": [ "468d39180205f98e885f3109", "default", "d0fac9de5c8d4cbc4b4e722d", { "_id": "40c5e50ffdbfe09f186e810b", "provenance": "sint dolor consectetur veniam anim", "name": "culpa consequat sed reprehenderit", "description": "et id aute ut", "memberOf": [ { "groupId": "e2baafd8efd3a3037f890e56", "aaaManaged": true }, { "groupId": "ef62318b5d2e34e205a96929", "aaaManaged": false }, { "groupId": "d8360a92952199a040e08810", "aaaManaged": false }, { "groupId": "61db4ebff958b16dc925f8a0", "aaaManaged": true }, { "groupId": "e96895012d12be37662612c3", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sint" }, { "roleId": "esse elit ex ipsum" } ], "inactive": false, "_meta": { "created": "1947-03-14T14:36:07.09Z", "updated": "1989-08-15T18:05:40.131Z", "migrationVersion": 20245662 } } ], "iterations": [ "C30BcdbC-a9ca-B4eF-C262-C821d07dB132", "3189BcDe-72Bc-AF8F-ead1-bDBbab85d7B6", "Ba806e5A-8Aa0-84Af-dE29-1DFFAaF2473A" ] }, "c": { "x": -44115125.95174543, "y": 91810653.71868065, "gridCoordinate": { "x": 34626146.18091199, "y": 11054343.954378605 }, "name": "et", "location": "Application", "locationType": null, "app": "nostrud", "canvasName": "labore do in qui", "displayName": "ut reprehenderit dolor proident", "summary": "sit tempor", "description": "anim consequat qui labore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/dX55,9,xg/Vx7eH" }, { "type": "encryption", "pointer": "/~0/~0/RQ/~1/~1/CB/~1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "elit deserunt aute", "highlightString": "sed Ut eu" }, { "key": "esse sunt in", "highlightString": "sit nostrud dolore elit" }, { "key": "nulla fugiat in", "highlightString": "sint irure do proident" }, { "key": "ut", "highlightString": "exercitation non laboris" } ], "status": "complete", "previous": { "incomplete": [ "3a1f", "workflow_end", "3a1f" ], "complete": [ "workflow_start" ], "error": [ "workflow_start", "3a1f", "workflow_end" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "loop" }, { "task": "workflow_end", "type": "standard" } ] }, "serverId": "Ut eu officia occaecat labore", "start_time": "1970-09-30T19:30:55.762Z", "end_time": -41501668.9040133, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "5b985199ccaa9e1208c30587", "provenance": "dolor proident", "name": "labore dolore in qui", "description": "voluptate", "memberOf": [ { "groupId": "95938a8403a84caf63bb0b9a", "aaaManaged": true }, { "groupId": "b8fe625cac44f3cab8ed2e4c", "aaaManaged": true }, { "groupId": "c18e543810ce69f431f28190", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "labore" }, { "roleId": "fugiat tempor ex nisi" }, { "roleId": "deserunt dolore" }, { "roleId": "dolor" }, { "roleId": "aliquip aliqua nulla" } ], "inactive": false, "_meta": { "created": "2023-01-17T09:39:50.857Z", "updated": "2019-12-18T07:48:13.369Z", "migrationVersion": -49308451 } }, { "_id": "9826b18a1112292c9dedaaba", "provenance": "voluptate magna in ea", "name": "velit cupidatat Ut in nostrud", "description": "quis laborum", "memberOf": [ { "groupId": "c4af9e0ab62382fe77bcff61", "aaaManaged": false }, { "groupId": "9b5fe20fa8ba3178d627151a", "aaaManaged": false }, { "groupId": "f087ca63df20634f809c26c0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "occaecat adipisicing ex labore" }, { "roleId": "aute irure et nisi" } ], "inactive": true, "_meta": { "created": "1976-01-28T10:43:01.479Z", "updated": "1958-09-21T11:55:50.106Z", "migrationVersion": 642151 } }, "b48928f40a2125eb5eb6d87b", "default" ], "iterations": [ "FD3C94dd-B05c-Ad86-7bFC-8bd206f39Bb2" ] } }, "parent": { "job": "amet sed in fugiat labore", "task": "deserunt sint reprehenderit officia", "iteration": 38465455.298157156, "element": 62520205.13941634 }, "errorHandler": { "x": -52279638.95012837, "y": -68581115.10027042, "gridCoordinate": { "x": 7027718.516885087, "y": 55765003.21174839 }, "name": "nisi", "location": "Adapter", "locationType": "in", "app": "dolor amet Excepteur sint", "canvasName": "nostrud commodo nisi elit", "displayName": "aute ipsum culpa sunt", "summary": "ex pariatur", "description": "eiusmod in eu commodo", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/P/~0/cq/D4bIA8O" }, { "type": "encryption", "pointer": "/~0/~1/~1/~1/~1/zY3rohGmPEp" }, { "type": "encryption", "pointer": "/w/M1i7Lbm/~1/~1/U/~0/z2c2KO8t" }, { "type": "encryption", "pointer": "/~0/bdg-3BBaxY/knwDX/p1" }, { "type": "encryption", "pointer": "/~0/~1/h-T,2.+mymG/~0/xiRn/G.8/~0/NwN4Kj79aRo" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "velit cupidatat occaecat", "highlightString": "nostrud ad ullamco proident" }, { "key": "in magna ea in", "highlightString": "non sed adipisicing laboris" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start", "workflow_start", "e28f", "e28f" ], "complete": [ "e28f", "3a1f", "workflow_start" ], "error": [ "workflow_end", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "error_handler", "type": "loop" } ] }, "serverId": "enim quis", "start_time": "1957-08-07T18:05:04.969Z", "end_time": -21223090.773127586, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "2f9d19ae0a7533b509f2627f", "groups": [ "2d12d4b98c2d710f55bb0a88", { "_id": "0dd6f15d35ccf714c76818a6", "provenance": "dolor id eu", "name": "Lorem Duis ut do ullamco", "description": "adipisicing veniam eu est in", "memberOf": [ { "groupId": "34f7466ad07f1fdf88db1192", "aaaManaged": true }, { "groupId": "c76091db5dcb279776e199c8", "aaaManaged": false }, { "groupId": "325e2dbf3a05096fe1caf917", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "magna non quis et officia" }, { "roleId": "nisi aliquip" }, { "roleId": "sint" }, { "roleId": "consectetur fugiat ipsum do aute" } ], "inactive": false, "_meta": { "created": "1996-12-26T03:10:38.493Z", "updated": "1960-01-28T01:38:29.956Z", "migrationVersion": -14270910 } }, { "_id": "e0ffc6ab171de0641c093e20", "provenance": "dolore fugiat adipisicing", "name": "Duis labore", "description": "esse laborum", "memberOf": [ { "groupId": "274562ee098ff302deaa2df3", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "culpa Lorem" }, { "roleId": "aute adipisicing mollit laboris ad" }, { "roleId": "mollit ad ipsum anim" }, { "roleId": "commodo aliquip minim mollit" } ], "inactive": true, "_meta": { "created": "1947-05-01T00:38:47.679Z", "updated": "2005-06-28T16:35:07.469Z", "migrationVersion": -13425889 } }, { "_id": "a1f7b78e3ca1d09d23921720", "provenance": "do culpa consectetur", "name": "qui dolor tempor enim officia", "description": "deserunt", "memberOf": [ { "groupId": "e2186fd8fc81af7320b4fbd1", "aaaManaged": true }, { "groupId": "9e176d3d71d61e776f4dd9a2", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eiusmod proident" }, { "roleId": "in dolor" }, { "roleId": "laborum dolor adipisicing" } ], "inactive": true, "_meta": { "created": "2001-10-18T08:42:26.288Z", "updated": "2000-10-16T00:43:24.335Z", "migrationVersion": -23871174 } } ], "iterations": [ "bc2CdD8C-e1Ca-a2DB-A1c7-d94DedE53CcB" ] }, "groups": [ "default", "2117fcf5b902522b4de49e1a", { "_id": "2b366b2bfd22a8753d8dcf97", "provenance": "quis amet ea dolore velit", "name": "anim ex", "description": "eu sed", "memberOf": [ { "groupId": "756658bc27d66d7afb7a04cb", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "veniam" }, { "roleId": "Ut deserunt id quis" }, { "roleId": "incididunt ut" }, { "roleId": "in incididunt Duis veniam" }, { "roleId": "adipisicing" } ], "inactive": true, "_meta": { "created": "2012-08-31T20:34:47.423Z", "updated": "2008-09-03T13:51:09.303Z", "migrationVersion": -82442235 } }, "24f37f6a69bfbd18ef9bc95f", "default" ], "watchers": [ "Pronghorn" ], "metrics": { "start_time": 69051707.76939556, "progress": 0.7466169247597239, "end_time": -72558158.81523447, "user": { "_id": "f66213ce5aa4b9105139c2b8", "provenance": "et", "username": "tempor elit mollit aute Duis", "firstname": "mollit", "memberOf": [ { "groupId": "4c5a3977383553a5bb7d43df", "aaaManaged": false }, { "groupId": "73ab2307aef061bf8c44c141", "aaaManaged": false }, { "groupId": "6296694c593d433d0c90a297", "aaaManaged": true }, { "groupId": "6d4ab67830586dbba05e7b67", "aaaManaged": false }, { "groupId": "fbece13da0e785ed772b3b20", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in amet nostrud cillum" }, { "roleId": "Lorem laboris nisi" }, { "roleId": "Lorem ipsum ut eiusmod" }, { "roleId": "qui ad veniam" } ], "inactive": true, "lastLogin": "2008-06-06T14:19:35.625Z", "_meta": { "created": "1982-08-23T07:10:17.527Z", "updated": "1949-12-10T21:31:31.244Z", "migrationVersion": 6230804 }, "email": "irure aliqua eu Lorem" }, "owner": { "_id": "262ba17a21761e08d4689a3a", "provenance": "pariatur qui laboris", "username": "cillum", "firstname": "culpa dolor irure", "memberOf": [ { "groupId": "12f5f6a0ba1e3826795db010", "aaaManaged": true }, { "groupId": "5115822d3a93bc8af6e2f1fa", "aaaManaged": false }, { "groupId": "2db4c4e0af16bb623687c125", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "commodo" }, { "roleId": "ad non" } ], "inactive": false, "lastLogin": "1969-05-21T16:55:05.369Z", "_meta": { "created": "1962-12-24T02:59:31.746Z", "updated": "1972-05-11T14:46:23.958Z", "migrationVersion": 91244365 }, "email": "dolore" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }