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": "id occaecat Excepteur sit" } }
{ "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": "977be0b3998ea91bc616f8e2", "font_size": -48534012, "type": "automation", "created": "1985-08-19T02:56:53.974Z", "last_updated": "2000-04-14T13:41:41.033Z", "createdVersion": "224629078.906894.121", "lastUpdatedVersion": "1946537021.40.545303790-0500.6.90315483", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -94477834, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -66551946.17146996, "sla": 86308175.91483754, "decorators": [ { "type": "encryption", "pointer": "/~1/~0" }, { "type": "encryption", "pointer": "/WW/~0" }, { "type": "encryption", "pointer": "/~1/~0/w0m+BfSfil./DY/U/z9cJ5UqK9/oTCNG1p/L1qJxNLcl+/~0/U6SA/~1" } ], "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName", "message": "veniam reprehenderit" } ], "ancestors": null, "validationErrors": [ { "keyword": "voluptate cillum nulla ea est", "dataPath": "enim", "schemaPath": "ipsum occaecat in aliqua exercitation", "message": "nulla occaecat Excepteur commodo veniam" }, { "keyword": "cupidatat esse", "dataPath": "sit consequat sunt", "schemaPath": "irure", "message": "ullamco sint nostrud" }, { "keyword": "dolor ea officia", "dataPath": "amet voluptate Ut pariatur do", "schemaPath": "incididunt ea", "message": "ut occaecat ut elit" }, { "keyword": "eiusmod nulla", "dataPath": "qui incididunt nisi laborum", "schemaPath": "adipisicing nisi in aliquip", "message": "dolore" }, { "keyword": "in velit ad", "dataPath": "velit ullamco voluptate aliquip", "schemaPath": "voluptate qui est Duis enim", "message": "magna" } ], "created_by": { "_id": "4c15ae129627799d96af1cdc", "provenance": "laboris occaecat non eu", "username": "nisi", "firstname": "aute ex ut", "memberOf": [ { "groupId": "108b7d77155733bcf0fe59d4", "aaaManaged": false }, { "groupId": "bd8d9421d4ecc91b665b17c1", "aaaManaged": false }, { "groupId": "d3d534aec187fef5cedcc1c4", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ea aliquip voluptate aliqua ut" }, { "roleId": "mollit dolor nulla sit laborum" }, { "roleId": "ut non sed pariatur" }, { "roleId": "dolor est Excepteur ex" }, { "roleId": "voluptate" } ], "inactive": true, "lastLogin": "1963-02-09T18:11:29.631Z", "_meta": { "created": "1975-02-07T01:20:38.636Z", "updated": "1961-03-04T21:28:55.658Z", "migrationVersion": -48800937 }, "email": "fugiat consequat mollit" }, "last_updated_by": { "_id": "ede46941f23ee7cba8e53847", "provenance": "dolor exercitation ut", "username": "nisi ad in minim", "firstname": "nostrud et", "memberOf": [ { "groupId": "b404b3ff12d2ba703e67769f", "aaaManaged": false }, { "groupId": "59e87fe581a598d44bed8240", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "laborum adipisicing non labore voluptate" }, { "roleId": "fugiat nulla laboris consectetur Duis" } ], "inactive": true, "lastLogin": "1964-06-21T01:49:29.128Z", "_meta": { "created": "1989-01-02T20:53:41.49Z", "updated": "2017-01-16T20:53:38.584Z", "migrationVersion": 44745373 }, "email": "tempor eu culpa" }, "tasks": { "workflow_start": { "x": -48434041.62086564, "y": 43981676.93651125, "gridCoordinate": { "x": 53767078.657004505, "y": 64618518.20395705 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 65882238.399778634, "finish_state": "success", "user": null }, "groups": [ { "_id": "07169f7f3ec578dbe5bc0348", "provenance": "et", "name": "esse sint quis anim", "description": "velit", "memberOf": [ { "groupId": "aea388e50b9a292a4fdce861", "aaaManaged": false }, { "groupId": "9a85cba5ed0b16a7b0b65066", "aaaManaged": false }, { "groupId": "b3b34f01b2d4d1d3a326fcba", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "qui incididunt amet" }, { "roleId": "ea eu do cupidatat" }, { "roleId": "pariatur ipsum sint" }, { "roleId": "qui minim" }, { "roleId": "amet in" } ], "inactive": true, "_meta": { "created": "1969-07-19T12:44:43.16Z", "updated": "1980-01-07T10:18:30.861Z", "migrationVersion": 75496124 } } ], "iterations": [ "C4bEc00C-c1Ad-E7f7-6F5D-8db805C79AB4", "E77E7efe-EccA-619B-eAFf-04b618D0064C" ] }, "workflow_end": { "x": 63346623.458447844, "y": -61128917.87335681, "gridCoordinate": { "x": 62193475.64887509, "y": 77353794.04146671 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "e28f", "workflow_end" ], "complete": [ "workflow_start" ], "error": [ "3a1f", "e28f", "error_handler" ] }, "metrics": { "end_time": 93704075.4965896, "run_time": -99329597.78866151 }, "groups": [ { "_id": "e316051a666e47ffbab9af0c", "provenance": "sit ut enim Duis", "name": "aliqua commodo", "description": "Ut nostrud est", "memberOf": [ { "groupId": "74546ae0d49a75dfe874b414", "aaaManaged": true }, { "groupId": "41c2c9d378f6dc0c6be894a0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "quis" } ], "inactive": true, "_meta": { "created": "2016-04-17T08:42:17.632Z", "updated": "1968-01-07T00:12:16.919Z", "migrationVersion": 21664381 } }, { "_id": "a5f9d582ee633a40d269f0a2", "provenance": "ad quis officia", "name": "nostrud", "description": "aliquip amet", "memberOf": [ { "groupId": "6cbe8aace234c4b262f1d89b", "aaaManaged": false }, { "groupId": "d0baf288dfd59b82df9439fc", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consectetur" }, { "roleId": "dolore incididunt" } ], "inactive": true, "_meta": { "created": "1991-05-15T18:19:27.517Z", "updated": "2013-05-14T04:37:01.646Z", "migrationVersion": 16882155 } }, "5a49d71c873daecb0aa65ef0", "57acb1b1f92e61f966b94f05" ], "iterations": [ "189A982D-e7CD-E809-2A4a-82984843b7e9", "bDC4cdFC-f9F3-8CE6-8c14-7EeC6CDa52ff" ] }, "error_handler": { "x": -26600331.248601392, "y": 74282272.85382536, "gridCoordinate": { "x": 62435709.004426956, "y": 86389401.71237683 }, "name": "childJob", "location": "Application", "locationType": "dolor esse", "app": "elit ut", "canvasName": "ex sunt eiusmod dolore ad", "displayName": "mollit", "summary": "Excepteur aliqua", "description": "ea sit reprehenderit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/s/UDMxoiZ/~0/lsmCjih/R1IKhHxOn87/~1" }, { "type": "encryption", "pointer": "/ujQ/855J-a/qb6qbDZF7VY/~0/agGyAl16h/lGa.d" }, { "type": "encryption", "pointer": "/~0/l5aoNArO/P+1-ckDqGg/v" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "Lorem amet", "highlightString": "labore nulla quis" }, { "key": "commodo esse in ut", "highlightString": "deserunt mollit esse in" }, { "key": "ut culpa dolor aliquip ullamco", "highlightString": "esse" }, { "key": "ea", "highlightString": "fugiat esse velit consequat laborum" }, { "key": "reprehenderit irure cupidatat anim esse", "highlightString": "in mollit laboris qui nostrud" } ], "status": "complete", "previous": { "incomplete": [ "workflow_start", "3a1f", "workflow_start", "3a1f", "workflow_start" ], "complete": [ "e28f", "e28f" ], "error": [ "error_handler" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "error_handler", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "deserunt incididunt", "start_time": "1982-01-31T21:25:47.456Z", "end_time": -3523160.371685162, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "default", { "_id": "9766fd51883b361343ac2159", "provenance": "proident", "name": "eu", "description": "magna", "memberOf": [ { "groupId": "3b9724209c3db05f41b836b0", "aaaManaged": true }, { "groupId": "30175a58581ec99d0a9b0f51", "aaaManaged": true }, { "groupId": "929bb06eca41c047aacdb86a", "aaaManaged": true }, { "groupId": "6f7f719c2ec06606b15a0a7a", "aaaManaged": false }, { "groupId": "9d3026b4fe1d77025c8bb2b1", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cupidatat laborum" }, { "roleId": "qui Ut" } ], "inactive": true, "_meta": { "created": "2002-01-05T22:21:56.883Z", "updated": "2007-11-26T07:20:40.705Z", "migrationVersion": -77731456 } }, "56285d20f45f5ca781e3afc2", { "_id": "95d14fecc5bde57e7d8f6ef5", "provenance": "do id", "name": "commodo consectetur elit", "description": "amet velit", "memberOf": [ { "groupId": "1fc740ba20fed8513bac4d98", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "deserunt dolore aute" }, { "roleId": "deserunt Ut fugiat" }, { "roleId": "non" }, { "roleId": "fugiat Duis" } ], "inactive": false, "_meta": { "created": "1974-09-02T22:26:34.236Z", "updated": "1948-06-04T03:24:17.381Z", "migrationVersion": 49805204 } }, "default" ], "iterations": [ "33D52f78-3FDb-825F-D524-8c38CAE6CDaE", "2c76c2FB-88Bd-3Ecc-AAbe-AEcf3c2Affbb", "C9cc5A5B-8deB-9B09-6deC-ac7A4Bfe8B0c" ] }, "3b": { "x": -56578918.12128941, "y": -25918352.114093184, "gridCoordinate": { "x": -90331937.71022812, "y": 55019671.40528116 }, "name": "ea reprehenderit est sit", "location": "Application", "locationType": null, "app": "exercitation dolor ipsum minim aliqua", "canvasName": "sed exercitation ut deserunt", "displayName": "ut sunt Duis", "summary": "irure enim consequat occaecat", "description": "in ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/rlh/MOe3RUh/~0/~0/~0" }, { "type": "encryption", "pointer": "/uO/~1" }, { "type": "encryption", "pointer": "/~0/~0/uI8KHi/PX5/r1U/~1/~0/~1/zAt5O6xwGs" }, { "type": "encryption", "pointer": "/Qmu4H,Xdy/e9HVcZao./wSx+I3g1Jiv/EnlN,Cn4/~1/~0/~1/~0/vI" }, { "type": "encryption", "pointer": "/~1/lby7t/S/GR60,29J" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "eu voluptate ad proident", "highlightString": "officia ea occaecat ut" } ], "status": "complete", "previous": { "incomplete": [ "3a1f", "error_handler", "3a1f", "workflow_start", "workflow_start" ], "complete": [ "e28f" ], "error": [ "error_handler", "3a1f", "e28f", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "anim", "start_time": "1995-09-10T02:24:39.943Z", "end_time": -4095491.896026939, "finish_state": "error", "retrySettings": { "state": [ "error" ], "autoRetry": false, "limit": 69653332, "delay": 87910936, "count": 66309280, "finishedRetrying": false }, "type": "operation", "actor": "e56dba96be794a534cde52a8", "groups": [ "423b89eca8dd496750bcf95c", { "_id": "dc6caf9e025bd2dc0e6ce264", "provenance": "dolore", "name": "irure sit", "description": "laborum in commodo", "memberOf": [ { "groupId": "f84f876160c1024f0ac0dafa", "aaaManaged": true }, { "groupId": "54bf9d2821ee6da0e9f612ca", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "reprehenderit" } ], "inactive": false, "_meta": { "created": "2019-11-03T22:04:50.575Z", "updated": "1959-11-25T15:12:00.809Z", "migrationVersion": -50004852 } } ], "iterations": [ "0ABA9f06-Bf4F-b81C-0b09-b80fFaae4cc7", "E305c5EE-10Ac-20C4-e4dD-c3AEefBe4Db1", "CbA53eB2-FF99-e0D1-ADA1-0F92f00eF683" ] } }, "parent": { "task": "esse est commodo", "iteration": -46284400.742909916, "element": -88323675.64081433 }, "errorHandler": null, "groups": [ "21fc465a852f3ce5e23ffe4e", "default", "default" ], "watchers": [ { "_id": "075359ebb72a8a628e93fcbd", "provenance": "ex Lorem sit enim", "username": "Duis", "firstname": "ut ex laboris tempor dolore", "memberOf": [ { "groupId": "f5b8b235eb5de9c42e99abab", "aaaManaged": false }, { "groupId": "98c68cdb0430444a56cf9b7a", "aaaManaged": true }, { "groupId": "bad23d58678d81a8f65a34b3", "aaaManaged": true }, { "groupId": "16e9561bc7b0462bc25a56ff", "aaaManaged": true }, { "groupId": "b2277b61bd6747b941e9c72f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "voluptate" }, { "roleId": "proident sint ad cupidatat" }, { "roleId": "minim fugiat Lorem ut elit" }, { "roleId": "adipisicing mollit in ut tempor" }, { "roleId": "nulla ipsum" } ], "inactive": true, "lastLogin": "1997-12-31T09:46:05.571Z", "_meta": { "created": "2013-06-17T19:44:29.921Z", "updated": "1950-09-15T01:15:59.079Z", "migrationVersion": -82549219 }, "email": "ut deserunt velit qui et" }, "44b8e345dcea2522cd4d381f", { "_id": "95f90fe4a7cee079a0a6a703", "provenance": "aute tempor dolor", "username": "nisi sint enim", "firstname": "nostrud tempor", "memberOf": [ { "groupId": "b32f4708c01c1f2fc9c41abf", "aaaManaged": true }, { "groupId": "b8471c68f49ca6b6dc6140d5", "aaaManaged": false }, { "groupId": "285b537296fe53da2af07be3", "aaaManaged": false }, { "groupId": "5c6aa9c20d06b698eb854fbb", "aaaManaged": false }, { "groupId": "afecddcb334412b68176634f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "commodo" }, { "roleId": "sint ut consectetur" }, { "roleId": "dolor magna culpa id in" }, { "roleId": "in incididunt" }, { "roleId": "consectetur irure Lorem eiusmod" } ], "inactive": false, "lastLogin": "1978-11-15T00:10:05.309Z", "_meta": { "created": "1990-10-30T00:19:09.299Z", "updated": "1993-10-26T20:53:15.339Z", "migrationVersion": -85078487 }, "email": "ea laboris" } ], "metrics": { "start_time": 17422173.01991169, "progress": 0.15141258287856307, "end_time": -33927398.02273384, "user": "3ea4808ceceb0752697cd535", "owner": "45a32be6efd84f5787af8a8f" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }