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": "sed ex ut laborum" } }
{ "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": "eb681129cd7fade18337b149", "font_size": -83973986, "type": "resource:action", "created": "1953-12-29T14:16:35.863Z", "last_updated": "1950-05-04T20:25:51.799Z", "createdVersion": "8821.75658.44", "lastUpdatedVersion": "6260261821.7522281.15124058735-2881.121814617.358264", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -64539701, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 37045110.713100016, "sla": 96759631.55405372, "decorators": [ { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/VBR/~0/bT/~1/~1/~1/~1/~1/~0/PZ/~1" } ], "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 }, { "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": "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" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "dolore quis est aute" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "amet ullamco adipisicing nulla" } ], "ancestors": null, "validationErrors": [ { "keyword": "commodo", "dataPath": "magna deserunt Excepteur Duis", "schemaPath": "dolore in magna laboris labore", "message": "dolore" }, { "keyword": "laborum aliqua sit", "dataPath": "dolore Lorem aliquip consectetur commodo", "schemaPath": "ut", "message": "consequat Ut dolor" }, { "keyword": "dolor", "dataPath": "anim aute", "schemaPath": "in eu occaecat adipisicing", "message": "laboris consectetur nostrud" }, { "keyword": "sed", "dataPath": "consectetur mollit Ut", "schemaPath": "occaecat adipisicing labore ea", "message": "aliqua ullamco non do officia" }, { "keyword": "commodo anim", "dataPath": "nisi", "schemaPath": "labore", "message": "esse incididunt" } ], "created_by": { "_id": "29c8543112671e8344e96ac1", "provenance": "consequat eiusmod proident", "username": "dolor ex Duis", "firstname": "Ut", "memberOf": [ { "groupId": "f17d179ff3dcd67429541525", "aaaManaged": false }, { "groupId": "77acfd0e413977e7767098e2", "aaaManaged": true }, { "groupId": "0d77a1deea4c5fa8079ae47d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nulla amet eiusmod" }, { "roleId": "nostrud qui amet sunt" }, { "roleId": "tempor" }, { "roleId": "voluptate deserunt" } ], "inactive": false, "lastLogin": "1950-06-05T03:49:51.033Z", "_meta": { "created": "2016-10-13T01:39:24.926Z", "updated": "1971-03-30T17:52:08.121Z", "migrationVersion": 5170088 }, "email": "veniam cupidatat" }, "last_updated_by": { "_id": "02e5d6a24a9a8cfac5383fe8", "provenance": "et", "username": "reprehenderit veniam anim", "firstname": "aute dolore minim qui", "memberOf": [ { "groupId": "939c8280e93356815fca917f", "aaaManaged": false }, { "groupId": "1a82cbb1974228c9a2e9f110", "aaaManaged": true }, { "groupId": "a98f5fed7cea3afb0850624c", "aaaManaged": true }, { "groupId": "3197c20633464157f4457a9c", "aaaManaged": true }, { "groupId": "07b014f48dd43b731aea6be1", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Duis in sint" } ], "inactive": true, "lastLogin": "1981-04-20T17:07:21.273Z", "_meta": { "created": "2012-07-21T16:59:50.949Z", "updated": "1972-10-16T16:00:10.217Z", "migrationVersion": -32249812 }, "email": "labore" }, "tasks": { "8": { "actor": "$var.job.R4slTaD0", "groups": [ "default", "3fc5629eccfe43e04735bfc6", "43fa4445a55d90fd18a9be56", "e3e1deba86f19cca4f405a25", { "_id": "32bb62dc2be0ed0b4416ee1d", "provenance": "Lorem", "name": "minim ipsum fugiat", "description": "incididunt consequat", "memberOf": [ { "groupId": "3430742e3a9cfbff1ac8f14f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "esse et nisi quis" }, { "roleId": "sit dolore fugiat ad" }, { "roleId": "mollit reprehenderit officia sint" }, { "roleId": "adipisicing commodo proident amet nostrud" }, { "roleId": "pariatur labore dolore laborum dolor" } ], "inactive": false, "_meta": { "created": "1969-11-03T22:47:09.365Z", "updated": "2006-03-19T22:52:54.45Z", "migrationVersion": 86073051 } } ], "iterations": [ "1826101c-2ae7-C87d-C479-aff98B4a3D0F" ], "x": 60969142.67115867, "y": -70871041.0184791, "gridCoordinate": { "x": 35171815.120670944, "y": -47469188.57965117 }, "name": "ut adipisicing magna elit aliquip", "location": "Broker", "locationType": null, "app": "voluptate qui commodo aute in", "canvasName": "officia cupidatat pariatur Excepteur dolore", "displayName": "quis sit dolore et do", "summary": "quis", "description": "non voluptate", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/G4/ICL/~1/s2hF8P/Iomq/B/~0/~0/di4ld3kZl/KeC3jjRbG/H0ad7aZyQW" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "voluptate dolor do minim proident", "highlightString": "consequat dolor do Duis" }, { "key": "cillum elit ad incididunt ullamco", "highlightString": "dolor" }, { "key": "ad magna in", "highlightString": "laboris" }, { "key": "enim dolore dolore nulla", "highlightString": "aute" } ], "status": "running", "previous": { "incomplete": [ "3a1f", "e28f" ], "complete": [ "e28f" ], "error": [ "workflow_start", "workflow_start", "workflow_start", "workflow_start" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "revert" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "sint consectetur", "start_time": "1983-07-23T06:38:14.637Z", "end_time": 6308669.451461539, "finish_state": "success", "retrySettings": null, "type": "automatic" }, "workflow_start": { "x": -17975355.008652687, "y": -79561838.2001794, "gridCoordinate": { "x": -55958893.01170134, "y": 88139627.59278494 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -8606097.018355459, "finish_state": "error", "user": { "_id": "aa461152252b9d60eefc6cb8", "provenance": "culpa eiusmod labore ut fugiat", "username": "minim adipisicing exercitation sed", "firstname": "non consequat fugiat", "memberOf": [ { "groupId": "c4b22f598aa484342d785e93", "aaaManaged": false }, { "groupId": "81253cd817f32a8d4469467a", "aaaManaged": false }, { "groupId": "3b2a84d944e167277ebf3323", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut" }, { "roleId": "ea Excepteur Lorem elit" } ], "inactive": false, "lastLogin": "2000-01-06T15:15:07.182Z", "_meta": { "created": "1953-02-27T06:06:07.803Z", "updated": "1954-03-03T06:01:21.734Z", "migrationVersion": 89335703 }, "email": "ex id sunt voluptate" } }, "groups": [ { "_id": "92a443d02943eafe1b690d06", "provenance": "mollit dolore", "name": "et mollit commodo magna ut", "description": "minim", "memberOf": [ { "groupId": "7dcd678f73683e1a90003c32", "aaaManaged": false }, { "groupId": "ff6b0f2bfaa0592527b8ea6c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Lorem amet" } ], "inactive": true, "_meta": { "created": "2004-01-19T13:25:26.561Z", "updated": "1981-12-31T00:15:51.358Z", "migrationVersion": 40870368 } }, "default", "default", "4a813322de23a30017208332" ], "iterations": [ "4F35E7ce-13d0-37da-8781-E2FAc0e984cf" ] }, "workflow_end": { "x": 14501267.8395596, "y": 55442314.21038747, "gridCoordinate": { "x": 14366377.713032424, "y": 6047656.836676434 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f" ], "complete": [ "e28f", "error_handler", "error_handler", "e28f" ], "error": [ "workflow_start", "workflow_end", "error_handler", "3a1f", "error_handler" ] }, "metrics": { "end_time": 40799702.39510891, "run_time": -45660384.33899902 }, "groups": [ "25449abf51f2f5daf2063730" ], "iterations": [ "Ae6eB1aF-731F-0aF9-deFa-Ddeba2160F1F", "4bcAd360-62D4-D2ff-CEB0-3ABAbC4BCA49", "0B6C9Ff7-2D0d-8E19-3AaC-c587E8F84a6D" ] }, "error_handler": { "x": -15714481.67211233, "y": -82683757.5178769, "gridCoordinate": { "x": -74701016.16526756, "y": 42897486.17966369 }, "name": "childJob", "location": "Adapter", "locationType": "ad culpa velit aliquip magna", "app": "elit", "canvasName": "velit", "displayName": "esse deserunt id proident", "summary": "ut", "description": "est", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/Ld,Ih/Ogj/4i317" }, { "type": "encryption", "pointer": "/~0/~0/gA0UX,U5W/yAMsP/ml,VN8fF/t/~0/~0" }, { "type": "encryption", "pointer": "/NN/~1/PfMzkU4B" }, { "type": "encryption", "pointer": "/~1/Xx/pEK4/do/~1/EOQyRPaFXzu/ztr,3TmPf/DQ8/FVPsv6V/l/b" }, { "type": "encryption", "pointer": "/~0/~1/aY9Qf28fg/E/XQkGrgDq" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "aute veniam aliqua", "highlightString": "officia amet tempor labore" }, { "key": "in irure Lorem dolor fugiat", "highlightString": "dolore" }, { "key": "elit est", "highlightString": "Lorem nulla proident" }, { "key": "reprehenderit mollit", "highlightString": "anim et" } ], "status": "failure", "previous": { "incomplete": [ "e28f", "e28f" ], "complete": [ "3a1f", "workflow_start", "error_handler", "workflow_start" ], "error": [ "workflow_end", "error_handler", "e28f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "loop" }, { "task": "e28f", "type": "standard" } ] }, "serverId": "pariatur qui aute sed", "start_time": "1958-07-03T12:10:19.394Z", "end_time": -54662888.311076194, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "default", "1d5354f0726eef026c95e5a9", "default", "default", "af555db9b3fff48e83e319e4" ], "iterations": [ "B4C55C9A-26e1-14fB-F6Ea-043De7eC62bC", "4AcA14Cd-0b8d-33DA-BfDd-C829c2a7febE", "5BEC407D-2CDB-88C5-F5D2-d7656eEAB52A" ] } }, "parent": { "task": "consequat", "iteration": 27564943.418973446, "element": -46952852.01119406 }, "errorHandler": { "actor": "$var.3129.m2hzJDmCKjd", "groups": [ "dfc3df61477e0cb836a40768", "ddc40dbd8fd3d39337489407", "ffd0bf1a1ee363139f4ed535", { "_id": "6c68a830e57ada0841f22b0f", "provenance": "do ad", "name": "in", "description": "magna", "memberOf": [ { "groupId": "60abbe05a5dc06ddad9868d1", "aaaManaged": false }, { "groupId": "84c41ea671bcce3b2fd4df02", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolor" }, { "roleId": "proident ut Lorem incididunt do" }, { "roleId": "Duis voluptate ex" }, { "roleId": "quis exercitation sunt" }, { "roleId": "adipisicing" } ], "inactive": false, "_meta": { "created": "1958-02-21T02:18:27.626Z", "updated": "2011-05-17T12:43:45.778Z", "migrationVersion": -7864462 } } ], "iterations": [], "x": 76539488.86066741, "y": 16567985.896205425, "gridCoordinate": { "x": -13786252.134739473, "y": 26906893.666543216 }, "name": "magna Ut", "location": "Application", "locationType": null, "app": "Lorem in in dolore aute", "canvasName": "in sint amet aute", "displayName": "nulla officia consectetur", "summary": "anim", "description": "nisi consectetur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/mmrQ0ol" }, { "type": "encryption", "pointer": "/~1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "sit ipsum deserunt veniam do", "highlightString": "laborum Duis ullamco incididunt irure" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_start", "e28f" ], "complete": [ "workflow_start", "workflow_start" ], "error": [ "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "loop" } ], "error": [ { "task": "error_handler", "type": "standard" }, { "task": "e28f", "type": "standard" } ] }, "serverId": "dolor anim cupidatat consectetur", "start_time": "1985-12-28T18:28:58.669Z", "end_time": -31260333.478871346, "finish_state": "failure", "retrySettings": { "state": [ "failure" ], "autoRetry": false, "limit": 26467857, "delay": 32697075, "count": 54766305, "finishedRetrying": false }, "type": "automatic" }, "groups": [ "1085afeb1e4eb76d506dc9cf", "default", "default" ], "watchers": [ { "_id": "8032fa3f891f7abd86b6f218", "provenance": "eiusmod", "username": "enim", "firstname": "Excepteur in in elit", "memberOf": [ { "groupId": "89d92b4abf878db27c74ede2", "aaaManaged": false }, { "groupId": "cf8e46f7eff5ab3730635e7e", "aaaManaged": true }, { "groupId": "4e99ea45edf525e4dd5c1fd0", "aaaManaged": true }, { "groupId": "08c6b26237e0fc8adbf62df5", "aaaManaged": true }, { "groupId": "783736d4edad5eeba80a74bb", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nostrud enim pariatur" }, { "roleId": "amet in Duis" } ], "inactive": true, "lastLogin": "1962-07-16T05:44:59.675Z", "_meta": { "created": "1972-04-24T02:40:27.711Z", "updated": "1978-04-30T04:24:55.602Z", "migrationVersion": -38301219 }, "email": "eu magna voluptate sed dolore" }, null, { "_id": "f2ef273f6d9426c332093692", "provenance": "anim dolore dolor ipsum", "username": "id dolor", "firstname": "ex Excepteur id ullamco", "memberOf": [ { "groupId": "294e8766df01e9038381670a", "aaaManaged": false }, { "groupId": "d0f5fe4cd21d4a85431b4085", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "qui ipsum consectetur" }, { "roleId": "aute" }, { "roleId": "consectetur dolor aliqua cillum" } ], "inactive": false, "lastLogin": "2009-06-04T10:57:55.621Z", "_meta": { "created": "1988-07-15T17:54:33.953Z", "updated": "1993-05-26T00:39:22.423Z", "migrationVersion": -36865228 }, "email": "dolor" }, null, null ], "metrics": { "start_time": -74056652.93473324, "progress": 0.05728718791768661, "end_time": -7526150.926967561, "user": "Pronghorn", "owner": { "_id": "87b6374a0d8277f915be1bd3", "provenance": "sunt mollit consequat fugiat", "username": "cupidatat Lorem ipsum sunt ad", "firstname": "pariatur ad", "memberOf": [ { "groupId": "bb0cb0c1a00b85cfa4c1ada6", "aaaManaged": true }, { "groupId": "eaae2c4315f287b9afe1df67", "aaaManaged": false }, { "groupId": "bdc0082aba6168c47e1f239a", "aaaManaged": false }, { "groupId": "524cc49bb92053a78374b1b8", "aaaManaged": true }, { "groupId": "e45438e7b5e1410d44314d7e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in" } ], "inactive": false, "lastLogin": "1980-02-15T06:50:48.487Z", "_meta": { "created": "1951-04-10T01:45:19.236Z", "updated": "2010-02-19T23:01:59.854Z", "migrationVersion": 53472188 }, "email": "nulla" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }