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": "irure in nulla tempor cillum" } }
{ "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": "4dbd4151c70898b8c1691824", "font_size": -34387346, "type": "resource:action", "created": "1978-12-01T12:45:06.996Z", "last_updated": "2021-01-18T10:23:47.549Z", "createdVersion": "7.1.598-2776.8598.3", "lastUpdatedVersion": "9567869.186288471.99032909-3335.305.245781386.6612144190", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": 24036651, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -50999722.92986692, "sla": -44188697.00396852, "decorators": [ { "type": "encryption", "pointer": "/KyjbqIC/vHI/U/xr/~0/DMwEN/~0/rx58SPSWVeJ" } ], "status": "canceled", "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": "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", "message": "cupidatat minim adipisicing mollit nisi" }, { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": [ "a9204acb9f6854dde121ddca", "2ed881d1a56d56444176d7fc", "27d2e113b60d64c2fb4bc157", "0071a3b358555253a08f4fa7" ], "validationErrors": [ { "keyword": "consequat fugiat dolore", "instancePath": "ut", "schemaPath": "eiusmod occaecat", "message": "elit reprehenderit Ut esse" }, { "keyword": "velit in", "instancePath": "Duis fugiat elit labore", "schemaPath": "nostrud sunt ea", "message": "Excepteur" }, { "keyword": "minim do", "instancePath": "ad pariatur ipsum velit culpa", "schemaPath": "Lorem aliquip", "message": "sunt ut anim Ut occaecat" }, { "keyword": "in tempor et", "instancePath": "non", "schemaPath": "est dolore ut quis dolor", "message": "sunt Excepteur" } ], "created_by": null, "last_updated_by": "2af684d58e26df37244b8ff2", "tasks": { "workflow_start": { "x": -18187044.438721627, "y": -34146070.54517997, "gridCoordinate": { "x": -18419788.25372985, "y": -94884133.97417644 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -88733290.21266812, "finish_state": "error", "user": { "_id": "20fde057344ea8f0b5c7010a", "provenance": "aliquip dolor fugiat nulla amet", "username": "exercitation esse cillum", "firstname": "pariatur quis magna sint amet", "memberOf": [ { "groupId": "4aec53b8cb58d3cc1c961b11", "aaaManaged": true }, { "groupId": "c5fbea5457d2e1fe7e78e430", "aaaManaged": true }, { "groupId": "fbf71443877fa88d052c644f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "elit exercitation anim non aliquip" }, { "roleId": "cillum" }, { "roleId": "non" }, { "roleId": "Ut ex fugiat in" } ], "inactive": true, "lastLogin": "1949-09-01T07:58:16.019Z", "_meta": { "created": "1984-12-06T21:49:46.602Z", "updated": "2007-07-07T05:42:55.046Z", "migrationVersion": -76299998 }, "email": "aliqua dolor nostrud esse in" } }, "groups": [ { "_id": "5f6fe8fc79402a8a223be89f", "provenance": "aliqua pariatur", "name": "cupidatat aute fugiat nisi anim", "description": "sed Lorem", "memberOf": [ { "groupId": "7700725a5a7017daef0df310", "aaaManaged": true }, { "groupId": "fcb178fd3cb14e17a143a555", "aaaManaged": false }, { "groupId": "2629be28b52d801c5a3ba0ae", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliquip eiusmod Ut" } ], "inactive": true, "_meta": { "created": "1972-07-25T10:49:49.057Z", "updated": "2015-10-10T10:33:45.727Z", "migrationVersion": 86836230 } }, { "_id": "b7d52a8c8588153bdae2f71a", "provenance": "ad", "name": "sed exercitation ipsum", "description": "pariatur voluptate aliqua dolor non", "memberOf": [ { "groupId": "8531babdf8f9830c4b832320", "aaaManaged": true }, { "groupId": "4c8102d70e6964bfa67d5df8", "aaaManaged": false }, { "groupId": "b1d20a9f207837255a20f1b8", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "elit non esse dolor" }, { "roleId": "tempor nostrud" } ], "inactive": false, "_meta": { "created": "1958-03-16T08:58:23.503Z", "updated": "1973-02-09T09:52:59.704Z", "migrationVersion": -51582520 } } ], "iterations": [ "eD4b49AA-7343-a337-DBFC-0Ac9A1f2bDA3" ] }, "workflow_end": { "x": -53257504.69719166, "y": -16123544.85619685, "gridCoordinate": { "x": 31650089.054554045, "y": 9462552.410502091 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "e28f", "workflow_start", "3a1f", "e28f", "workflow_start" ], "complete": [ "3a1f", "workflow_start", "workflow_end", "3a1f" ], "error": [ "workflow_end", "e28f", "workflow_start", "workflow_start", "3a1f" ] }, "metrics": { "end_time": 77610239.88302216, "run_time": 77356835.25874081 }, "groups": [ { "_id": "69bd310afacf43becdd54d1d", "provenance": "in culpa sed magna", "name": "quis reprehenderit", "description": "dolore sit non", "memberOf": [ { "groupId": "7f37703c650a8b04f861c6ea", "aaaManaged": false }, { "groupId": "f33c88ad431085b1defc31f9", "aaaManaged": false }, { "groupId": "9decc0d4d749e4dd54d79b89", "aaaManaged": true }, { "groupId": "0f8438d78b1c627858f8d0d3", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "officia incididunt veniam quis" }, { "roleId": "anim proident" }, { "roleId": "sint dolor Duis" }, { "roleId": "consectetur in velit incididunt ut" }, { "roleId": "irure minim" } ], "inactive": true, "_meta": { "created": "2021-11-08T19:13:45.22Z", "updated": "1973-06-30T01:28:26.631Z", "migrationVersion": 21862387 } }, "87746c051b84112c590655a0", "32b0531633b64d1bddad1279", "default", { "_id": "d5f5c76a243d22cf2458d5aa", "provenance": "pariatur", "name": "ipsum magna tempor aute", "description": "dolore cillum incididunt nostrud do", "memberOf": [ { "groupId": "db2113f17b3a574e8608b054", "aaaManaged": false }, { "groupId": "de506c5d27d928b041145a7e", "aaaManaged": true }, { "groupId": "74e95b0f4f4c50bad4ea4d1e", "aaaManaged": true }, { "groupId": "60f0af43f37888a4dbbb7981", "aaaManaged": true }, { "groupId": "3efcbbb8b1a641e339669909", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "proident deserunt consequat" } ], "inactive": true, "_meta": { "created": "2018-01-16T01:01:59.851Z", "updated": "2009-08-31T22:59:33.731Z", "migrationVersion": -12073503 } } ], "iterations": [ "CdB02C77-f84b-cC3F-A42f-68007fB29B7C", "CB26d26f-6eC6-D7f4-3EdC-e96b5f27bfe8" ] }, "error_handler": { "x": 95431791.33073384, "y": -250111.74733640254, "gridCoordinate": { "x": 79684888.08419058, "y": -32743094.628870577 }, "name": "childJob", "location": "Broker", "locationType": "mollit in elit", "app": "adipisicing Lorem aute labore laborum", "canvasName": "aliqua enim", "displayName": "irure", "summary": "ad", "description": "exercitation id non sit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/GeuqCm/~0/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "consequat", "highlightString": "ea velit deserunt sint" }, { "key": "ad sunt id veniam reprehenderit", "highlightString": "dolore exercitation" } ], "status": "error", "previous": { "incomplete": [ "e28f", "error_handler", "error_handler" ], "complete": [ "workflow_start" ], "error": [ "e28f" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "3a1f", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "standard" } ] }, "serverId": "tempor enim", "start_time": "2001-05-22T20:14:27.578Z", "end_time": -65571575.458058804, "finish_state": "success", "retrySettings": { "state": [ "error", "failure" ], "autoRetry": true, "limit": 1070605, "delay": 29988216, "count": 94088933, "finishedRetrying": true }, "type": "operation", "actor": "56d20d4a7f5c0d2d5669cec7", "groups": [ { "_id": "48a1ca097cc7814cf3fbcf77", "provenance": "dolore in Lorem", "name": "tempor", "description": "officia exercitation", "memberOf": [ { "groupId": "b79c4b59161b2f76fb4003d3", "aaaManaged": true }, { "groupId": "415938d13ee182aacd5226f9", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ut" }, { "roleId": "ut" }, { "roleId": "enim sunt anim" }, { "roleId": "anim est ut" } ], "inactive": false, "_meta": { "created": "2013-03-20T01:22:37.606Z", "updated": "2022-11-29T23:16:32.321Z", "migrationVersion": -83086519 } }, "default", { "_id": "2fcc228db19303e164bd3022", "provenance": "sint non minim in ut", "name": "mollit in", "description": "ut reprehenderit qui deserunt", "memberOf": [ { "groupId": "6d1e26e4e9efce505d373be5", "aaaManaged": false }, { "groupId": "f81787e71f2e751154c74776", "aaaManaged": false }, { "groupId": "0148ba43ef73f9498dba0c55", "aaaManaged": true }, { "groupId": "3f23c0232359310a8847a545", "aaaManaged": true }, { "groupId": "ec749025d886ffdbe2c0784b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "deserunt nulla dolor dolor" }, { "roleId": "nulla culpa cupidatat Duis eiusmod" } ], "inactive": false, "_meta": { "created": "1994-10-31T16:43:27.531Z", "updated": "1992-11-29T02:15:27.694Z", "migrationVersion": -62198665 } }, "13526bf86f3c3ca4ec8b8dac" ], "iterations": [ "F8a862a1-8e21-D9C0-2Bb6-d3A6372890cc" ] }, "2e": { "x": -6518416.385501832, "y": -87420323.83538465, "gridCoordinate": { "x": 86658832.28359962, "y": -96769871.10471465 }, "name": "ad", "location": "Adapter", "locationType": "voluptate proident nostrud Lorem", "app": "pariatur eu laborum sunt", "canvasName": "nulla ipsum", "displayName": "minim aliquip Duis tempor pariatur", "summary": "cillum fugiat dolor pariatur esse", "description": "reprehenderit laboris consequat sed pariatur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/AT66jiV65h/Nc/ioyZA/~0/a/CucFIFux3of/~1/gM/O9tPMspJS0N/lEbOSl" }, { "type": "encryption", "pointer": "/yNyIG19GY-E/~1/bdQFSUkcrsR/~1/~0/UViBPJvQ56A/MIKDT/~0/b63805HRVfU/o7/bB" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "ut in laboris Ut", "highlightString": "proident est" }, { "key": "elit in officia", "highlightString": "aliquip" }, { "key": "culpa officia cillum ex magna", "highlightString": "incididunt aliquip nisi" }, { "key": "cillum dolor ex Duis", "highlightString": "aute minim eu ut in" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_start", "e28f", "e28f", "workflow_start" ], "complete": [ "workflow_end", "workflow_end", "3a1f" ], "error": [ "3a1f", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "revert" } ] }, "serverId": "proident dolore", "start_time": "1979-05-12T09:21:45.25Z", "end_time": -23288258.355927423, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": { "_id": "9388ddcc03a79bd12cf2e114", "provenance": "voluptate officia laborum labore", "username": "nisi ex occaecat cillum", "firstname": "sed cillum", "memberOf": [ { "groupId": "40216fff35dbefc264d0b447", "aaaManaged": true }, { "groupId": "f370c95acfac3f223ee912dc", "aaaManaged": false }, { "groupId": "3ceb5f48d2edc8d63ca07473", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eiusmod non fugiat Ut minim" }, { "roleId": "voluptate ut nulla fugiat" }, { "roleId": "enim eiusmod velit" }, { "roleId": "aliquip aliqua" } ], "inactive": false, "lastLogin": "1971-08-07T00:04:13.236Z", "_meta": { "created": "1951-11-16T10:25:04.915Z", "updated": "2009-09-07T10:31:38.45Z", "migrationVersion": 41339193 }, "email": "irure consectetur deserunt" }, "groups": [ "default", { "_id": "bfb8312f12ec4822ab4eea95", "provenance": "commodo", "name": "nostrud tempor adipisicing", "description": "sint aliquip esse enim", "memberOf": [ { "groupId": "96f46f2f3d2a8e01c9aedbb5", "aaaManaged": true }, { "groupId": "182b87480f3ab104cc791ebb", "aaaManaged": true }, { "groupId": "5af5a64b06227408c3521eee", "aaaManaged": true }, { "groupId": "a1be93fb9bd64e5f70ad6246", "aaaManaged": true }, { "groupId": "749153f640ef7d46350299c4", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolor adipisicing nulla in" }, { "roleId": "voluptate laborum dolore pariatur aliqua" }, { "roleId": "in" }, { "roleId": "dolor" } ], "inactive": true, "_meta": { "created": "1949-09-21T09:47:08.273Z", "updated": "1951-06-25T00:12:21.082Z", "migrationVersion": -33047431 } }, "fc72458eb90b44af44714496" ], "iterations": [ "bAd14A2c-9912-8FC8-4f26-EfD673059b33" ] } }, "parent": { "job": "elit", "task": "non eiusmod aute", "iteration": 35109766.3451204, "element": 39822621.09136444 }, "errorHandler": null, "groups": [ "cef59ee4faf43f9c2ae2d963", { "_id": "5133ce0e859a6a38e1473a41", "provenance": "sed anim", "name": "officia", "description": "ipsum incididunt", "memberOf": [ { "groupId": "7885241ea7bedf4723ac1511", "aaaManaged": true }, { "groupId": "e04375b55b59343808dd601a", "aaaManaged": true }, { "groupId": "ca0fde6f7c64c83a06019d17", "aaaManaged": false }, { "groupId": "3310db87db571cc6ddbf6369", "aaaManaged": false }, { "groupId": "2a83b895e011f082508410ce", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "laborum cillum elit" }, { "roleId": "Duis dolore anim pariatur" }, { "roleId": "labore Ut dolor eu voluptate" } ], "inactive": true, "_meta": { "created": "1965-09-28T01:25:20.785Z", "updated": "2010-05-27T19:27:51.887Z", "migrationVersion": 4319103 } }, { "_id": "1d1fd15b8f2c5d682532de47", "provenance": "commodo", "name": "eu enim", "description": "officia", "memberOf": [ { "groupId": "2f3883f67d2ffaf7436e4f1c", "aaaManaged": true }, { "groupId": "9968e488a1dafc8927a94cc9", "aaaManaged": true }, { "groupId": "8cd72bd383ea0371decbd412", "aaaManaged": true }, { "groupId": "a1f6520e810d46a3e571ec36", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nisi ad" }, { "roleId": "ipsum nostrud aliquip veniam" } ], "inactive": true, "_meta": { "created": "1989-12-08T14:30:38.916Z", "updated": "1992-10-23T22:35:38.935Z", "migrationVersion": 42167837 } }, { "_id": "5d27c19a7c5763352af8437b", "provenance": "eiusmod nisi sed", "name": "Lorem", "description": "fugiat", "memberOf": [ { "groupId": "e99642b39f141119cef93693", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nulla sunt" }, { "roleId": "nostrud ex" } ], "inactive": false, "_meta": { "created": "1969-10-13T16:35:47.496Z", "updated": "1951-11-17T17:04:24.994Z", "migrationVersion": 32850729 } } ], "watchers": [ null ], "metrics": { "start_time": 69987924.5915595, "progress": 0.25301394579955505, "end_time": -98863342.00239064, "user": "Pronghorn", "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }