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": "nostrud dolor veniam et" } }
{ "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": "e135ec41b72400104033072e", "font_size": -72231660, "type": "resource:action", "created": "2010-01-15T03:47:58.106Z", "last_updated": "1995-02-28T00:52:41.043Z", "createdVersion": "171575.582.00036555-0328.3999438521.866.6120374", "lastUpdatedVersion": "93882.599618435.853", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 11466436, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 72978908.3515405, "sla": 78122561.97437176, "decorators": [ { "type": "encryption", "pointer": "/NE3pV6eBj/~0/QAsi/MIZrv+WqG/dSd4MUciT" }, { "type": "encryption", "pointer": "/~0/~0/FJCAY4dXc+N/dR/fD-QJ/~0/oZadj20WPL3/csRtx/~1/EFazcbzhz-C" } ], "status": "canceled", "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 } ], "warnings": [ { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "consequat ad sit" } ], "ancestors": null, "validationErrors": [ { "keyword": "nostrud nisi commodo", "dataPath": "Duis do non reprehenderit", "schemaPath": "et velit eu dolore", "message": "aliquip ut ex Duis ad" }, { "keyword": "esse culpa dolore", "dataPath": "incididunt et ea nisi", "schemaPath": "ad", "message": "occaecat adipisicing officia consectetur laborum" }, { "keyword": "cupidatat Lorem", "dataPath": "tempor in", "schemaPath": "laborum non", "message": "tempor minim incididunt ut" }, { "keyword": "velit id est", "dataPath": "occaecat officia ipsum ullamco", "schemaPath": "aute ea deserunt pariatur", "message": "nulla laborum id" }, { "keyword": "dolor", "dataPath": "sit do", "schemaPath": "consectetur anim voluptate nostrud", "message": "sit reprehenderit" } ], "created_by": null, "last_updated_by": null, "tasks": { "workflow_start": { "x": 46827906.83826643, "y": 60112963.265212774, "gridCoordinate": { "x": 5368334.726615712, "y": -22957045.42224741 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -33732733.27954869, "finish_state": "failure", "user": "Pronghorn" }, "groups": [ "62c42e9ce07992d27dd02dc1", "default", { "_id": "77a45261c22442e0b4cb54d8", "provenance": "pariatur adipisicing Excepteur ullamco", "name": "adipisicing", "description": "id aliquip ut labore", "memberOf": [ { "groupId": "67541fabdf8fb44c673796f0", "aaaManaged": false }, { "groupId": "1195ce3ff953d46d6dcf3c5a", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ad occaecat" }, { "roleId": "proident fugiat" }, { "roleId": "sint" }, { "roleId": "occaecat consectetur consequat est" }, { "roleId": "ut do fugiat labore ad" } ], "inactive": true, "_meta": { "created": "1977-08-03T21:19:25.047Z", "updated": "1963-09-23T03:38:40.407Z", "migrationVersion": -26550501 } } ], "iterations": [ "7ACfd638-Bab5-c7fe-ECED-99BeE3AC955b", "eE3E7252-BcC1-4aBb-8F0e-c3fCB293d3a6" ] }, "workflow_end": { "x": 28563517.761803195, "y": -35432905.77184916, "gridCoordinate": { "x": -39054453.71359377, "y": 36995397.43998009 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_end", "workflow_start" ], "complete": [ "3a1f", "e28f" ], "error": [ "e28f", "3a1f" ] }, "metrics": { "end_time": 69453360.73748681, "run_time": 28188677.516261995 }, "groups": [ { "_id": "98268bda1c8b2e66ec3a970a", "provenance": "laboris voluptate magna", "name": "consequat nostrud ipsum irure", "description": "ipsum mollit", "memberOf": [ { "groupId": "77cd5782fa863b280d7f84bc", "aaaManaged": false }, { "groupId": "ffbcabf0f0392e9234b8c042", "aaaManaged": false }, { "groupId": "ca0e4346dc83ae9335357493", "aaaManaged": true }, { "groupId": "ee75676ca1b35119365c017a", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "occaecat sed in" }, { "roleId": "ipsum est in Lorem dolor" } ], "inactive": true, "_meta": { "created": "2013-09-05T16:43:43.915Z", "updated": "1986-06-16T17:13:13.401Z", "migrationVersion": 90534293 } } ], "iterations": [ "Bf4eD96C-0eE5-81Dd-7C7b-8Be994E69153" ] }, "error_handler": { "x": 38749702.88792527, "y": -66825964.77693008, "gridCoordinate": { "x": 67483806.11306354, "y": -47759165.592883244 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "laboris cillum aliqua elit", "canvasName": "dolore aliqua", "displayName": "non irure Ut", "summary": "consectetur", "description": "id eu incididunt", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/LK0tA+Py,MP/c-xsD/np/QElLi/DEcKad" }, { "type": "encryption", "pointer": "/~1/K/~0/~0/~1/DFSntrSWe/f8gvaqadK/F41BdY.Up/dN9fe1J" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "mollit est irure fugiat deserunt", "highlightString": "eiusmod deserunt ut" }, { "key": "aute in esse", "highlightString": "labore" } ], "status": "failure", "previous": { "incomplete": [ "error_handler", "error_handler", "workflow_end", "workflow_start", "error_handler" ], "complete": [ "e28f", "3a1f", "workflow_start", "error_handler" ], "error": [ "workflow_start", "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "standard" } ], "error": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_end", "type": "standard" } ] }, "serverId": "aliqua irure", "start_time": "1967-05-30T20:59:27.423Z", "end_time": -39831701.85190961, "finish_state": "error", "retrySettings": { "state": [ "error", "error", "failure" ], "autoRetry": true, "limit": 23981113, "delay": 14590964, "count": 80689297, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "fb97a90a66212949b1cd728c" ], "iterations": [ "7bAfE05d-f8e9-b163-37B0-BA8FE5DF54E3" ] }, "f8": { "actor": "job", "groups": [ { "_id": "01b8abc8d2323caece68d83d", "provenance": "officia", "name": "labore sit", "description": "dolor in velit", "memberOf": [ { "groupId": "36c0d973eeea1e80c2689f3c", "aaaManaged": true }, { "groupId": "101559ce7f159c6364371bb8", "aaaManaged": true }, { "groupId": "1471bbe1ba68f37be2c4c316", "aaaManaged": true }, { "groupId": "744f76ec45e7a5f104470952", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "do ut veniam" }, { "roleId": "pariatur cillum dolor est sed" }, { "roleId": "sed" }, { "roleId": "nulla eu quis" } ], "inactive": true, "_meta": { "created": "1976-01-18T17:10:31.868Z", "updated": "1995-04-02T14:25:38.293Z", "migrationVersion": -67206106 } }, { "_id": "d49db1bc90230bd72e32171b", "provenance": "ut", "name": "dolor quis irure tempor consequat", "description": "consequat anim officia", "memberOf": [ { "groupId": "cb1dcec5f6a24ee170febc06", "aaaManaged": true }, { "groupId": "744e6848a886e15642fcd2b2", "aaaManaged": false }, { "groupId": "26b20d09843603026041e31b", "aaaManaged": false }, { "groupId": "47b10322b3e0589b8c5fa558", "aaaManaged": true }, { "groupId": "af1f616e4075207a1f972e26", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "pariatur cillum mollit" }, { "roleId": "adipisicing incididunt in irure dolor" } ], "inactive": false, "_meta": { "created": "1961-12-24T07:22:05.306Z", "updated": "2017-05-10T20:26:40.182Z", "migrationVersion": 14489490 } }, "default", "default" ], "iterations": [ "BfbfA339-c28E-3E9f-1AAf-cb78b2Bd4d2f", "b3FdCB9f-C0dB-Ec1E-2c51-86dc7de5dD1F" ], "x": -22977950.63826613, "y": -10346184.414477825, "gridCoordinate": { "x": -79687201.1183809, "y": -53322932.49411224 }, "name": "pending", "summary": "adipisicing deserunt", "description": "amet veniam adipisicing sunt" } }, "parent": { "task": "consectetur enim nisi eu", "iteration": -1984414.734855339, "element": 64578462.57987404 }, "errorHandler": { "actor": null, "groups": [ { "_id": "a9c5366f2629acb40356fa48", "provenance": "velit nulla", "name": "enim commodo nostrud", "description": "nostrud", "memberOf": [ { "groupId": "4a8e35103b003db76256af10", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ipsum in eu" }, { "roleId": "exercitation" } ], "inactive": false, "_meta": { "created": "1958-07-26T11:03:23.211Z", "updated": "1946-09-17T22:55:53.551Z", "migrationVersion": 19015657 } }, "7d789bb8c012b05e86bd0d37", { "_id": "fd1e14d0e8cb0784a7a83860", "provenance": "aliquip commodo consequat est deserunt", "name": "sit", "description": "ad sunt non do", "memberOf": [ { "groupId": "8fa1334663c5b04772a8cabd", "aaaManaged": false }, { "groupId": "f3b3e68bf84a77caa717f9cf", "aaaManaged": false }, { "groupId": "05ab3e200406a3d5100c318e", "aaaManaged": false }, { "groupId": "7df9653ae69abfd3165ee427", "aaaManaged": true }, { "groupId": "7906f03ae5a62bc2caed3ae8", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aliquip anim" } ], "inactive": true, "_meta": { "created": "2004-02-09T17:59:42.321Z", "updated": "1953-11-23T15:26:44.718Z", "migrationVersion": -2257291 } } ], "iterations": [ "f05C40c5-cecF-a292-ACAe-b78f9fDAEC3A" ], "x": -39638308.516860835, "y": -87896429.59905067, "gridCoordinate": { "x": 11817682.615863264, "y": -9021749.843254983 }, "name": "pending", "summary": "adipisicing", "description": "minim ad" }, "groups": [ "57145e9506fdda176a2ceca5" ], "watchers": [ { "_id": "b04783eef7aec670093373c7", "provenance": "Ut consequat", "username": "proident nisi incididunt minim", "firstname": "dolor est dolore", "memberOf": [ { "groupId": "c8641fa086b8bfcdf10b2ba0", "aaaManaged": false }, { "groupId": "288d7b14623bad69da8f3fb6", "aaaManaged": false }, { "groupId": "aa84c72b69dc8609307ec569", "aaaManaged": false }, { "groupId": "700aadb5aa828cf7ebfb2316", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "minim" }, { "roleId": "est deserunt tempor" }, { "roleId": "ut aliqua sit" }, { "roleId": "eu in reprehenderit ullamco" }, { "roleId": "dolor nostrud Duis cillum in" } ], "inactive": false, "lastLogin": "1971-04-24T04:07:39.835Z", "_meta": { "created": "2014-09-27T16:54:24.712Z", "updated": "2001-05-30T16:58:46.599Z", "migrationVersion": -87349494 }, "email": "in" } ], "metrics": { "start_time": 19911483.41347389, "progress": 0.24381558115139645, "end_time": -37886944.895768605, "user": "296b290c07d383d65ed141f3", "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }