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": "dolor aliqua 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": "dd264e2d5db6c467260e0abe", "font_size": 37043509, "type": "resource:action", "created": "1949-08-11T14:00:41.242Z", "last_updated": "1965-02-06T11:42:59.429Z", "createdVersion": "95848395.25315703205.405242-3432.7797861820.53311", "lastUpdatedVersion": "8277.82777796761.49355", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": 34925260, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 26233271.143113196, "sla": 70791049.01725057, "decorators": [ { "type": "encryption", "pointer": "/~1/~0/~0/~1/VDH" }, { "type": "encryption", "pointer": "/~1/WxA" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/~1/~1/~1/~1/~0/~0/lCRg/C-Ewow.sXk/~0/~1/BTyZ+GYDr" } ], "status": "complete", "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 }, { "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 }, { "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_start", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "dolore enim ex commodo minim" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "cupidatat" } ], "ancestors": null, "validationErrors": [ { "keyword": "ut ullamco", "dataPath": "Ut enim dolore occaecat reprehenderit", "schemaPath": "elit pariatur id nisi", "message": "enim non" }, { "keyword": "in ut", "dataPath": "dolor anim laboris ex", "schemaPath": "minim", "message": "consequat laborum" }, { "keyword": "labore id nulla do tempor", "dataPath": "proident nostrud occaecat minim sed", "schemaPath": "ex sed eu", "message": "nulla" } ], "created_by": "909ebb0f711d7e7776b841be", "last_updated_by": null, "tasks": { "1": { "x": -17591596.818822548, "y": 84389638.28701419, "gridCoordinate": { "x": 96528932.97198325, "y": -62375365.895493574 }, "name": "laborum irure nostrud", "location": "Broker", "locationType": null, "app": "laboris mollit", "canvasName": "occaecat", "displayName": "commodo ut", "summary": "deserunt nostrud labore", "description": "nulla tempor occaecat veniam", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/NDIG/AzVs13/s,7jaq/AppMA/~1/~1/~1/t92J-2k/cdu/Sr,ahFJGs" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "pariatur minim", "highlightString": "mollit" }, { "key": "voluptate cillum elit occaecat nisi", "highlightString": "ea laborum labore mollit" } ], "status": "incomplete", "previous": { "incomplete": [ "3a1f", "workflow_start", "3a1f" ], "complete": [ "workflow_start", "workflow_end", "e28f", "workflow_start" ], "error": [ "workflow_end", "3a1f", "workflow_start" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "sunt anim ut qui", "start_time": "1989-09-18T20:29:28.205Z", "end_time": 73343674.73749116, "finish_state": "failure", "retrySettings": { "state": [ "failure", "error", "error" ], "autoRetry": false, "limit": 50409692, "delay": 65453258, "count": 24807889, "finishedRetrying": true }, "type": "operation", "actor": "Pronghorn", "groups": [ "0c69c2b7a5d877dec09839b8", { "_id": "8ec4e43dfa247d8f32a770fd", "provenance": "laboris dolor", "name": "mollit Excepteur Ut culpa", "description": "sunt Duis Lorem id Excepteur", "memberOf": [ { "groupId": "b8c6fd8ad858da6c21ce3884", "aaaManaged": true }, { "groupId": "4ec8ff2c126ea36d25301133", "aaaManaged": true }, { "groupId": "b59413a277c9b53c9865dee6", "aaaManaged": true }, { "groupId": "b6d36dbffca66c220af1b586", "aaaManaged": false }, { "groupId": "4977fadc4803920b7e57288f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "officia sint" }, { "roleId": "do ex cupidatat elit dolor" }, { "roleId": "qui" }, { "roleId": "consectetur aliqua irure tempor" } ], "inactive": false, "_meta": { "created": "1954-02-24T21:54:37.956Z", "updated": "1998-10-16T14:40:14.855Z", "migrationVersion": -41429536 } }, "662d78dc6b1ded388ff8bc0c", { "_id": "11f304149056ed9c3c4130d1", "provenance": "velit sint", "name": "Excepteur", "description": "do Excepteur", "memberOf": [ { "groupId": "7bae4752578feb0d07db5b93", "aaaManaged": true }, { "groupId": "fb5a10ed7475ce951ca3b9b1", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "officia" }, { "roleId": "Lorem in" }, { "roleId": "voluptate sunt nisi ipsum" } ], "inactive": false, "_meta": { "created": "2003-09-25T19:09:02.807Z", "updated": "2021-04-05T00:25:56.391Z", "migrationVersion": -24384701 } } ], "iterations": [ "Dbc50f6C-D53A-8c75-81Eb-2AD8C41D8691", "5c8DdA76-0ceD-Eb3b-6C0a-77226AA52d1b" ] }, "workflow_start": { "x": -99480792.64564744, "y": -94585393.14614525, "gridCoordinate": { "x": -38933398.83776688, "y": 67499643.53220776 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -83735744.54253715, "finish_state": "failure", "user": "30e10f8a23b0f61626a440ed" }, "groups": [ "6a2fbd3adcb3b8af7214ec74", "default" ], "iterations": [ "E7AEE07e-73fd-ECe4-b1cD-e6ac0cded54D", "ffF0F745-471b-4CCA-b6B0-2581D6e9Fbeb" ] }, "workflow_end": { "x": -699884.6866673529, "y": 46927353.86959836, "gridCoordinate": { "x": -15039281.458351761, "y": 16780524.969013616 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "3a1f", "workflow_end", "e28f" ], "complete": [ "workflow_end" ], "error": [ "error_handler", "workflow_end", "3a1f" ] }, "metrics": { "end_time": 17522735.37361458, "run_time": 22860369.42498502 }, "groups": [ "c942b20a8cd3a7d70b6b35e0", "default", "1a750153698a2bc7ff04faee", "22f4efd4c1790b7acb84f9b7", "9477e9523aef9c4f0682aa92" ], "iterations": [ "A5D576F5-8a1d-f4E5-AA8A-510C6a42f8ae", "C1eEEE43-EDc5-CEe0-D4A3-e5fAf32a6DE1" ] }, "error_handler": { "x": -57357077.52608348, "y": 61379269.018461436, "gridCoordinate": { "x": -70749461.72021241, "y": -9068621.15621227 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "velit tempor voluptate Ut ipsum", "canvasName": "veniam velit do nulla", "displayName": "sit ea mollit", "summary": "esse do labore", "description": "sed velit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~1/sQZk/bcaUSjJf5q2/~0/~0" }, { "type": "encryption", "pointer": "/~0/~1/~1/~0/ETfB/~1/xRHZT/~0" }, { "type": "encryption", "pointer": "/~1/~1/w-Emnu" }, { "type": "encryption", "pointer": "/~1/~0/NtHpXb/pX4,/Q.BLEI02/D" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "Lorem", "highlightString": "dolore" }, { "key": "anim quis in dolore occaecat", "highlightString": "ipsum sit qui id sunt" }, { "key": "nisi consequat", "highlightString": "esse laboris" }, { "key": "voluptate", "highlightString": "in in Excepteur" }, { "key": "nisi sint et", "highlightString": "eu proident consequat aute" } ], "status": "paused", "previous": { "incomplete": [ "workflow_start", "e28f", "e28f", "error_handler" ], "complete": [ "3a1f", "workflow_start", "error_handler", "3a1f" ], "error": [ "e28f", "workflow_end", "3a1f", "3a1f" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "workflow_end", "type": "standard" }, { "task": "3a1f", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_end", "type": "loop" } ] }, "serverId": "Ut dolor cupidatat consequat exercitation", "start_time": "2017-06-22T18:36:12.408Z", "end_time": 60295778.7910777, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "f036f3696328909d15430b0b", { "_id": "5f666202801e65920d776e4f", "provenance": "esse veniam proident id", "name": "mollit culpa aute sunt laboris", "description": "non cillum ad in", "memberOf": [ { "groupId": "762f6d2ebb439f3084e98234", "aaaManaged": true }, { "groupId": "67f5123cde4962595e795dad", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nulla cupidatat irure" }, { "roleId": "dolore" }, { "roleId": "pariatur in dolor in sit" } ], "inactive": true, "_meta": { "created": "2012-03-29T10:20:34.029Z", "updated": "2018-06-14T08:28:56.657Z", "migrationVersion": 81860590 } } ], "iterations": [ "FDd3ecf6-eAb3-fAEc-d0f8-c945e7A35BBD", "3d33AEef-Bb7c-e2ee-f213-aBAa8aFFebcd" ] } }, "parent": { "job": "Excepteur culpa", "task": "tempor", "iteration": -41946846.58122485, "element": 18553899.446583703 }, "errorHandler": null, "groups": [ "4f090b3df1ca2810e82730a5", "cc863e1ac7bb3e4f30f6a1af", { "_id": "5f2b7cc774430fae35c49ff9", "provenance": "aliqua laborum elit", "name": "aute", "description": "do irure", "memberOf": [ { "groupId": "c0b138173846db94f66efe16", "aaaManaged": true }, { "groupId": "8d1d009bd2d91fedd8c6a76d", "aaaManaged": false }, { "groupId": "c2ff69007a7f2262f0f452ac", "aaaManaged": true }, { "groupId": "38866482824bde9d2605c356", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "reprehenderit" }, { "roleId": "non velit" }, { "roleId": "aliquip adipisicing velit ea" }, { "roleId": "dolore in" }, { "roleId": "enim" } ], "inactive": true, "_meta": { "created": "1956-04-29T06:45:05.373Z", "updated": "2003-04-04T10:42:39.57Z", "migrationVersion": -44365010 } } ], "watchers": [ { "_id": "a6219dc5b5a8d7657eeaedcd", "provenance": "est et commodo", "username": "Ut id", "firstname": "consectetur Lorem", "memberOf": [ { "groupId": "0d101ca1a16fff48fa8b6a63", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ea" }, { "roleId": "deserunt Excepteur Ut" }, { "roleId": "Duis" }, { "roleId": "enim dolor aute est" }, { "roleId": "nulla consectetur exercitation ut" } ], "inactive": false, "lastLogin": "1994-11-06T23:01:18.969Z", "_meta": { "created": "1988-03-15T13:48:38.767Z", "updated": "1992-05-04T12:17:29.269Z", "migrationVersion": 65383813 }, "email": "Duis" }, "Pronghorn", null, "Pronghorn", "Pronghorn" ], "metrics": { "start_time": 28626292.66707626, "progress": 0.6067026255824968, "end_time": -80366322.85472307, "user": null, "owner": "e866fd31444e9dbdec12369a" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }