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 do eu" } }
{ "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": "b9e612fb344e50d2d934ac31", "font_size": 58805201, "type": "automation", "created": "1955-04-07T10:24:13.764Z", "last_updated": "2022-08-05T15:04:59.085Z", "createdVersion": "5392.95420.3632689-0474.4729631.9527317383", "lastUpdatedVersion": "1.188478.2017681-9345.686285624.4852", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": -73069090, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -50331875.82158556, "sla": -39464657.37488585, "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~0/MwWGN49c/~0/VXU,t3490/~0/t90d4jl/nLpeyZLz1/dA/p" }, { "type": "encryption", "pointer": "/~1/~0/~0/~0" }, { "type": "encryption", "pointer": "/~1/gmyyi/dZx/xuaKb" }, { "type": "encryption", "pointer": "/~0/iU04G/i" } ], "status": "paused", "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": "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 } ], "warnings": [ { "task": "workflow_end", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "in nulla enim ea eu" } ], "ancestors": [ "89fb7f0662ac74e09d2b38a7", "80c8387a35f055e7ce17d145" ], "validationErrors": [ { "keyword": "in mollit sint et veniam", "dataPath": "dolore do esse ex", "schemaPath": "dolor exercitation reprehenderit", "message": "occaecat incididunt in nisi" }, { "keyword": "sint", "dataPath": "occaecat mollit in sint", "schemaPath": "eu Ut amet est", "message": "occaecat irure ea dolor" }, { "keyword": "culpa exercitation", "dataPath": "nostrud", "schemaPath": "aliquip irure incididunt Lorem adipisicing", "message": "ullamco est" }, { "keyword": "laboris", "dataPath": "culpa officia", "schemaPath": "fugiat", "message": "sint et" }, { "keyword": "qui exercitation", "dataPath": "ut do et sed", "schemaPath": "Duis adipisicing culpa veniam proident", "message": "ut dolore sunt irure consectetur" } ], "created_by": { "_id": "44c14e8b4f96f7bb6b88506a", "provenance": "est ullamco fugiat sunt", "username": "eu sed", "firstname": "aute do veniam fugiat dolor", "memberOf": [ { "groupId": "5a4f50d1e12fe97cc5365162", "aaaManaged": true }, { "groupId": "239aac274ea02bb527130a5b", "aaaManaged": true }, { "groupId": "86c1b1e9613b11b8152e197f", "aaaManaged": true }, { "groupId": "206e083781f7a6ae8a73a0d6", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consectetur" }, { "roleId": "laborum tempor" }, { "roleId": "qui occaecat" }, { "roleId": "consequat commodo" } ], "inactive": true, "lastLogin": "2004-01-30T02:04:38.496Z", "_meta": { "created": "1950-08-10T18:30:08.237Z", "updated": "1948-06-22T01:28:20.74Z", "migrationVersion": 60393789 }, "email": "culpa" }, "last_updated_by": null, "tasks": { "1": { "actor": { "_id": "04e29e8c0311624e81fde3cb", "provenance": "consectetur laborum quis incididunt", "username": "ea velit", "firstname": "consectetur Excepteur sit cillum", "memberOf": [ { "groupId": "02cb1cf41d47bd1eb12e48a5", "aaaManaged": false }, { "groupId": "d2794914586502290f68290f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "amet" }, { "roleId": "laborum veniam culpa dolor exercitation" }, { "roleId": "esse minim" }, { "roleId": "nulla in cupidatat minim irure" }, { "roleId": "dolore ipsum tempor eu" } ], "inactive": false, "lastLogin": "2020-06-11T16:42:20.931Z", "_meta": { "created": "1984-03-19T12:19:08.923Z", "updated": "2018-03-03T11:11:17.393Z", "migrationVersion": -36186547 }, "email": "ad" }, "groups": [ "default", "892da2d204d46e784e5a4c04", { "_id": "7e92bd65ed2a7980c850e609", "provenance": "cupidatat est mollit Duis amet", "name": "irure voluptate laboris amet cupidatat", "description": "sint et consectetur", "memberOf": [ { "groupId": "9fa2b639da54b5b1e0d3286d", "aaaManaged": false }, { "groupId": "5be527abb941db3c6e41fd1f", "aaaManaged": true }, { "groupId": "73877149ead4182c512bd131", "aaaManaged": false }, { "groupId": "4441592d8f77914a3edba4ae", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consequat mollit" }, { "roleId": "dolore irure non" }, { "roleId": "ex ut amet Excepteur" } ], "inactive": true, "_meta": { "created": "2013-11-15T17:29:02.387Z", "updated": "1964-01-22T23:40:29.056Z", "migrationVersion": -82008195 } }, "eedd0c01a3a4064ac2defb91", "default" ], "iterations": [ "eFE94C7d-BFfa-5abD-940D-29b1C805beE4" ], "x": -864719.0259023905, "y": 26142564.869199842, "gridCoordinate": { "x": -37990069.80048443, "y": 72074660.69053319 }, "name": "veniam ipsum Ut", "location": "Broker", "locationType": null, "app": "magna Ut aute officia anim", "canvasName": "amet consectetur", "displayName": "aute cillum in", "summary": "enim", "description": "incididunt dolore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/NkYA/~1/w/mPakp0U5//~1/Nl4t-oAnZ/~0/~1/~1/Bp16pN" }, { "type": "encryption", "pointer": "/~0/~0/~0/vNv/QcnA6N/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "esse laboris deserunt tempor sint", "highlightString": "labore velit" }, { "key": "sunt", "highlightString": "sed cillum ipsum" } ], "status": "scheduled", "previous": { "incomplete": [ "error_handler", "workflow_start", "e28f", "workflow_end", "error_handler" ], "complete": [ "error_handler", "e28f", "workflow_end", "error_handler" ], "error": [ "workflow_start", "workflow_start", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "standard" } ] }, "serverId": "eiusmod veniam", "start_time": "2023-12-22T04:22:27.456Z", "end_time": -84236409.53563294, "finish_state": "success", "retrySettings": { "state": [ "success", "success", "error", "failure", "error" ], "autoRetry": true, "limit": 66401817, "delay": 69211345, "count": 39711033, "finishedRetrying": false }, "type": "manual", "view": "laboris occaecat cillum fugiat" }, "workflow_start": { "x": -38104122.68957175, "y": 89030368.50387305, "gridCoordinate": { "x": -14965160.556412727, "y": -93966026.24531169 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 94128613.2115685, "finish_state": "failure", "user": { "_id": "f571194ec11a7d8b48da1563", "provenance": "dolore Ut", "username": "minim proident aute", "firstname": "dolor", "memberOf": [ { "groupId": "a52e9137760ac51d3e73ee0c", "aaaManaged": false }, { "groupId": "6f40f4e2deda5176883412b1", "aaaManaged": true }, { "groupId": "05decd5aa8bc970345003e5b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "fugiat in do" }, { "roleId": "ad irure" } ], "inactive": true, "lastLogin": "2020-11-17T14:53:19.334Z", "_meta": { "created": "1997-08-16T05:40:12.946Z", "updated": "1950-11-09T11:49:06.304Z", "migrationVersion": 14029861 }, "email": "labore aliqua laboris" } }, "groups": [ "default", { "_id": "ac0b6e3aa1dd800e6eade420", "provenance": "ipsum deserunt", "name": "Duis", "description": "sit commodo", "memberOf": [ { "groupId": "5f7f101412398713f6b14fb1", "aaaManaged": true }, { "groupId": "911f69939d09bd49d3f426c5", "aaaManaged": true }, { "groupId": "b2e654ad0146f59363ed562f", "aaaManaged": true }, { "groupId": "f50e7b6abccf6571b2f48b94", "aaaManaged": false }, { "groupId": "0d8eb24af16746a456f624fb", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cillum ea commodo consectetur" } ], "inactive": false, "_meta": { "created": "2003-12-22T03:24:17.974Z", "updated": "1949-07-29T11:19:56.112Z", "migrationVersion": 21330814 } } ], "iterations": [ "1aE0f8d1-0caa-DcCe-71fa-4D2eEb8aBF30", "e94A4DcF-afFd-9B1c-ab48-e5a014f4eFd4" ] }, "workflow_end": { "x": -58555183.01046283, "y": 96985303.29508474, "gridCoordinate": { "x": 47356140.28950873, "y": -91763305.16014378 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "workflow_end", "3a1f" ], "complete": [ "error_handler", "3a1f", "3a1f", "workflow_end", "e28f" ], "error": [ "workflow_end", "error_handler", "e28f" ] }, "metrics": { "end_time": -61285307.74457257, "run_time": -46826198.24557039 }, "groups": [ "1f3e5b5cd711d509fa7c2ede", { "_id": "78974002657f103d48b45edd", "provenance": "cillum ut", "name": "tempor", "description": "consectetur aute anim", "memberOf": [ { "groupId": "393044ae49e8eee80cede9a2", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "culpa do adipisicing irure laborum" }, { "roleId": "quis commodo" }, { "roleId": "in do mollit ex laboris" }, { "roleId": "anim ullamco" } ], "inactive": false, "_meta": { "created": "1975-05-19T19:39:44.676Z", "updated": "2023-04-13T13:01:37.207Z", "migrationVersion": 23671144 } }, "a706eca9148e4eee52ea93d1", "0310eea51b7b798d2df00e1b", { "_id": "a93164b290f508d8b5b7223c", "provenance": "occaecat Duis in Excepteur amet", "name": "incididunt sint occaecat", "description": "eu", "memberOf": [ { "groupId": "15a1801ee4469a8447275dc0", "aaaManaged": true }, { "groupId": "2be72f6e8ec67535476fcfdb", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "irure" }, { "roleId": "enim ex eu" }, { "roleId": "ea veniam Excepteur enim" }, { "roleId": "magna sunt" }, { "roleId": "in" } ], "inactive": false, "_meta": { "created": "1946-01-28T09:54:52.268Z", "updated": "1946-04-05T23:18:43.928Z", "migrationVersion": 41226108 } } ], "iterations": [ "2A9d4c58-Ee9b-B150-8d5B-Ad5dDc7B1Db3", "E8BD2825-78bf-580D-8795-b5cF412506bD", "CaA3A3FF-BaC0-C60d-FccB-1D0Dd3819FfE" ] }, "error_handler": { "x": 28638218.546686918, "y": -80634907.83626501, "gridCoordinate": { "x": 15189537.146642312, "y": -39081456.29340414 }, "name": "childJob", "location": "Broker", "locationType": "cupidatat sint consequat", "app": "magna ut tempor labore", "canvasName": "voluptate mollit elit", "displayName": "ut", "summary": "consectetur in sunt", "description": "nostrud reprehenderit non incididunt", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/MCGt/~0/~1/~1" }, { "type": "encryption", "pointer": "/i+/ta/~0/mI/~1/~1/JlB9qtL1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "dolor esse incididunt proident aliquip", "highlightString": "esse" }, { "key": "commodo in eu", "highlightString": "Ut Duis nulla esse aliqua" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start", "e28f" ], "complete": [ "workflow_start", "workflow_start", "workflow_start", "workflow_start", "error_handler" ], "error": [ "e28f", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "3a1f", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_end", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "error_handler", "type": "standard" } ] }, "serverId": "Excepteur irure dolor ipsum", "start_time": "1975-09-05T20:26:39.203Z", "end_time": 6801131.409152955, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "default", { "_id": "4080bc7cd6ffe73f246cfaeb", "provenance": "fugiat", "name": "velit sed eiusmod enim id", "description": "et ea dolore aliquip", "memberOf": [ { "groupId": "3aa005234d25bc7bec0d7910", "aaaManaged": true }, { "groupId": "5784c551e287cfd454e0b446", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "et sunt" }, { "roleId": "in" }, { "roleId": "dolor Lorem enim mollit" }, { "roleId": "do non aliquip id sint" } ], "inactive": true, "_meta": { "created": "1951-07-03T14:26:12.624Z", "updated": "1970-06-03T11:29:01.486Z", "migrationVersion": -64312615 } }, { "_id": "aeb53d6928fe847e1eeed9ee", "provenance": "nostrud minim", "name": "fugiat", "description": "reprehenderit nisi Duis", "memberOf": [ { "groupId": "d0b57ee561329d37b7737447", "aaaManaged": false }, { "groupId": "7158db31d571ff9dff01a962", "aaaManaged": true }, { "groupId": "85e80399daed6f1318657f95", "aaaManaged": false }, { "groupId": "15b617e1a350c5fce774bb58", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "id" }, { "roleId": "laboris" } ], "inactive": true, "_meta": { "created": "2000-12-01T19:46:37.695Z", "updated": "1951-10-14T00:55:22.284Z", "migrationVersion": -83821573 } }, "582132fd2dbaf3e34e41da5e" ], "iterations": [ "f0B4bBF5-C15E-059b-AE15-1b1b9F6CcDbB" ] } }, "parent": { "task": "veniam incididunt", "iteration": -86500092.99466932, "element": 46802760.77600905 }, "errorHandler": null, "groups": [ "4792756bff5736371084b881" ], "watchers": [ "Pronghorn", "Pronghorn", "Pronghorn", { "_id": "1af2cf5b5c28e5097d19a5d9", "provenance": "nostrud minim nulla Duis est", "username": "sit ullamco et", "firstname": "dolor", "memberOf": [ { "groupId": "56442854edeb6960f43d6fac", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "proident aliquip" }, { "roleId": "nostrud aliquip" } ], "inactive": false, "lastLogin": "2006-11-26T20:08:05.346Z", "_meta": { "created": "2016-04-20T12:16:24.215Z", "updated": "1950-01-25T16:17:00.136Z", "migrationVersion": -57523069 }, "email": "proident mollit dolor" }, null ], "metrics": { "start_time": -75915166.52212738, "progress": 0.5257465646269446, "end_time": -6133128.5269063115, "user": "Pronghorn", "owner": "cd4b3fc70ed3d5bf58771a55" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }