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": "fugiat reprehenderit" } }
{ "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 created the requested item", "data": { "_id": "44a7d8343e51552775fbc2b8", "font_size": 27002700, "type": "resource:compliance", "created": "2011-03-31T14:17:08.732Z", "last_updated": "1963-06-09T08:27:12.464Z", "createdVersion": "9953055681.81551.548527", "lastUpdatedVersion": "3449.3790968.6933010675", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 22962498, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 10297874.985480651, "sla": -67542467.01179394, "decorators": [ { "type": "encryption", "pointer": "/r-N/~0/ip5r/~1/Q/tstf8Hw/~0/~1/lfVK1tPbz+/KLGgU/NZ2KAfiVU" }, { "type": "encryption", "pointer": "/~0/oWdQAL3U,M/~1/~0/K0xH" } ], "status": "error", "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": "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_end", "name": "myCoolDocumentName", "message": "proident incididunt" } ], "ancestors": null, "validationErrors": [ { "keyword": "proident pariatur ut irure", "instancePath": "magna", "schemaPath": "sint", "message": "dolor nostrud culpa" }, { "keyword": "et qui sunt", "instancePath": "ipsum mollit commodo", "schemaPath": "in aliqua", "message": "amet Ut" }, { "keyword": "dolor consequat", "instancePath": "amet quis nisi minim", "schemaPath": "mollit in", "message": "sit reprehenderit" } ], "created_by": "Pronghorn", "last_updated_by": { "_id": "f9ed3cb4e02a531d3127b266", "provenance": "est sed officia", "username": "commodo labore officia do est", "firstname": "eu velit ad est", "memberOf": [ { "groupId": "92ede2905abaac2a2187df15", "aaaManaged": false }, { "groupId": "9c62e11131650209647493e2", "aaaManaged": false }, { "groupId": "db65d38221d93632b69d9812", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Duis" } ], "inactive": true, "lastLogin": "1966-04-10T17:30:25.042Z", "_meta": { "created": "2004-10-20T17:12:13.395Z", "updated": "1967-07-25T10:11:01.292Z", "migrationVersion": -91931857 }, "email": "anim dolore incididunt" }, "tasks": { "8812": { "actor": "$var.82a8.XB1jPN4bVVQ", "groups": [ { "_id": "14b80c26d3cd66a14cbb8ae2", "provenance": "cupidatat mollit", "name": "occaecat magna", "description": "culpa laborum nostrud dolor", "memberOf": [ { "groupId": "28fc993ab994f2ef8eaa24d9", "aaaManaged": false }, { "groupId": "e40032b58f312d68eadbd729", "aaaManaged": false }, { "groupId": "a0a8e963f1c76408d267f75b", "aaaManaged": true }, { "groupId": "699e83bce55f9b4dd0b414f3", "aaaManaged": true }, { "groupId": "53ca17e92f954dc470004e3c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore ex esse cupidatat" }, { "roleId": "aliqua" }, { "roleId": "occaecat Duis ipsum" }, { "roleId": "dolore irure" }, { "roleId": "enim esse commodo officia Duis" } ], "inactive": true, "_meta": { "created": "2010-05-18T01:22:24.188Z", "updated": "2003-10-26T06:24:00.127Z", "migrationVersion": -3874051 } }, "7986420d552e1217a63e9464", { "_id": "5db68a30eb2a6ce0b5efddca", "provenance": "id dolore commodo anim irure", "name": "est commodo", "description": "ea", "memberOf": [ { "groupId": "e4bd5caa759710d71bf2d600", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "incididunt reprehenderit ea cupidatat" }, { "roleId": "deserunt eiusmod dolor in voluptate" } ], "inactive": true, "_meta": { "created": "2003-05-11T01:29:46.001Z", "updated": "2009-06-18T06:04:52.695Z", "migrationVersion": 30110341 } } ], "iterations": [ "a1B60bcf-6803-5b80-b674-1Cee443F485c", "043927f2-1941-5628-B2AA-4BDd94E64a6d" ], "x": 93463513.66875121, "y": -16660008.983634219, "gridCoordinate": { "x": 65288888.421207994, "y": -72699196.67308602 }, "name": "veniam", "location": "Adapter", "locationType": null, "app": "eu", "canvasName": "amet ut aute", "displayName": "ut", "summary": "et dolore consectetur quis", "description": "et", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/QJ48vt//Bms/~0/~1/~1/YEKC6mAk.um" }, { "type": "encryption", "pointer": "/~0/t.x7eSG" }, { "type": "encryption", "pointer": "/RXRjhBtluw/lQbT-/JXi84Hm-" }, { "type": "encryption", "pointer": "/~0/~0/~0/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "Lorem ut", "highlightString": "ea qui Lorem sed aliquip" }, { "key": "nostrud", "highlightString": "tempor deserunt ea ut commodo" }, { "key": "amet voluptate enim exercitation", "highlightString": "occaecat" } ], "status": "paused", "previous": { "incomplete": [ "error_handler", "error_handler" ], "complete": [ "3a1f", "workflow_start", "workflow_end", "workflow_start" ], "error": [ "e28f", "workflow_start", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "standard" }, { "task": "error_handler", "type": "standard" } ] }, "serverId": "et velit laboris labore ullamco", "start_time": "2016-05-23T13:16:16.346Z", "end_time": 77627081.6955792, "finish_state": "failure", "retrySettings": { "state": [ "success", "success", "failure", "success", "success" ], "autoRetry": true, "limit": 10771553, "delay": 28778014, "count": 23335240, "finishedRetrying": true }, "type": "automatic" }, "workflow_start": { "x": -43852184.511994705, "y": 4361096.474757671, "gridCoordinate": { "x": 26998219.837207273, "y": 70684949.09786406 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 14517765.88194123, "finish_state": "success", "user": "Pronghorn" }, "groups": [ "89c2e95844f8202397788d0c", "fa7466755519bb2f746ef962", { "_id": "bde36bab3861dc554eb8f4d7", "provenance": "Duis veniam", "name": "in ut do consectetur", "description": "dolor tempor Excepteur", "memberOf": [ { "groupId": "adb0b5b6b1dc8325838cfa64", "aaaManaged": false }, { "groupId": "0c88542c89c10e1d683897ba", "aaaManaged": false }, { "groupId": "2fff1898fecf177bc95eb175", "aaaManaged": true }, { "groupId": "cad16823a67650e1833c0b25", "aaaManaged": false }, { "groupId": "c027f45e350618122edf4592", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ullamco" }, { "roleId": "adipisicing nisi Lorem" }, { "roleId": "non occaecat cillum tempor culpa" } ], "inactive": true, "_meta": { "created": "1970-10-09T08:56:29.458Z", "updated": "2023-05-24T13:06:29.619Z", "migrationVersion": 16756982 } }, "6df088a14c2844ca4946969e" ], "iterations": [] }, "workflow_end": { "x": -19473295.939630568, "y": -70622916.12089929, "gridCoordinate": { "x": -74483017.50845206, "y": 27475032.892432645 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f" ], "complete": [ "workflow_start", "workflow_end", "workflow_start" ], "error": [ "3a1f" ] }, "metrics": { "end_time": 34845558.47571662, "run_time": 92523732.26519346 }, "groups": [ { "_id": "03693f8449ed4201a1376075", "provenance": "enim magna qui laborum do", "name": "incididunt officia elit cillum velit", "description": "aute voluptate Duis dolor id", "memberOf": [ { "groupId": "4b8e58509f03893c0629cf66", "aaaManaged": false }, { "groupId": "8757acc0b39cde386feab7f3", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolore labore Lorem laborum sint" }, { "roleId": "Excepteur" }, { "roleId": "ipsum" } ], "inactive": false, "_meta": { "created": "1961-04-12T19:15:39.029Z", "updated": "1953-08-10T16:32:49.085Z", "migrationVersion": -18434348 } } ], "iterations": [ "c5595Dbd-64e5-E849-1DDE-45fb3138bf46", "86bFbbAD-15C1-7F8F-52B8-bfF58Da04fFE", "56eae0dA-f39C-CacF-9A29-fDbb0DebA183" ] }, "error_handler": { "x": -6182685.513826594, "y": -31694597.571119994, "gridCoordinate": { "x": -65613963.985206604, "y": -88608839.34156317 }, "name": "childJob", "location": "Adapter", "locationType": "voluptate nostrud dolor", "app": "est voluptate reprehenderit", "canvasName": "laboris aliqua nulla esse dolor", "displayName": "ex non anim", "summary": "laboris", "description": "irure nostrud sed", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/nr4TOaA/~1" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "in fugiat nisi ut", "highlightString": "labore do cillum occaecat" }, { "key": "sunt elit quis incididunt occaecat", "highlightString": "laborum in in aute" }, { "key": "amet deserunt cillum Excepteur in", "highlightString": "laboris veniam esse officia" }, { "key": "nostrud quis esse", "highlightString": "ad voluptate dolor laboris fugiat" }, { "key": "nulla labore", "highlightString": "incididunt labore" } ], "status": "running", "previous": { "incomplete": [ "workflow_end", "e28f", "e28f" ], "complete": [ "e28f", "e28f" ], "error": [ "workflow_start", "workflow_end", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "3a1f", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "do velit fugiat", "start_time": "1983-06-14T05:25:32.446Z", "end_time": -2822609.1812736094, "finish_state": "failure", "retrySettings": { "state": [ "success", "error", "failure", "success" ], "autoRetry": true, "limit": 3172044, "delay": 92025783, "count": 64285436, "finishedRetrying": false }, "type": "operation", "actor": "job", "groups": [ { "_id": "758c2f20a8ab099db5b61825", "provenance": "eu minim commodo reprehenderit", "name": "commodo", "description": "voluptate est qui ea", "memberOf": [ { "groupId": "5d6dc83edd4937eec5a79a7b", "aaaManaged": true }, { "groupId": "465c355c92c97eaa20a745d7", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "commodo eu" }, { "roleId": "anim dolor" }, { "roleId": "cillum minim" } ], "inactive": false, "_meta": { "created": "1988-11-11T14:58:38.218Z", "updated": "1966-07-16T06:49:34.255Z", "migrationVersion": -55903671 } }, "7775de14223662083430b044" ], "iterations": [ "fecd403E-3A9a-9Dac-888D-67CF54Edc516", "55bA2dFa-5304-b6E5-CFeA-78aFc5cEFf82" ] } }, "parent": { "task": "qui voluptate ut exercitation eiusmod", "iteration": -79441042.26746349, "element": 79291271.55331373 }, "errorHandler": { "actor": "$var.e45.3", "groups": [ "7a134ec813d58f32c59a22e0", "f0a75512ce7337791aa938d7" ], "iterations": [ "BF6AF530-6A20-Ee1b-9e4C-F2f951034C2a" ], "x": 4548086.475390404, "y": -33915599.481930904, "gridCoordinate": { "x": -54412508.10628962, "y": -18713613.67060244 }, "name": "minim eu irure", "location": "Broker", "locationType": null, "app": "minim eu in ut", "canvasName": "eu Lorem", "displayName": "occaecat ipsum est fugiat", "summary": "sit in", "description": "quis amet exercitation", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/u-zM6/JCGwtu/~1/mn,k8H" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "aute cupidatat quis occaecat", "highlightString": "minim" }, { "key": "reprehenderit nulla enim eiusmod irure", "highlightString": "id nulla proident officia" }, { "key": "dolore eu nisi amet", "highlightString": "cupidatat" } ], "status": "complete", "previous": { "incomplete": [ "3a1f", "e28f", "error_handler", "e28f", "workflow_start" ], "complete": [ "error_handler", "e28f", "workflow_start" ], "error": [ "workflow_start", "e28f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "e28f", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_end", "type": "loop" } ] }, "serverId": "ut et culpa id", "start_time": "1969-10-09T01:05:06.513Z", "end_time": -8677037.988324046, "finish_state": "failure", "retrySettings": null, "type": "automatic" }, "groups": [ "86f561724f632b13f87fda0c", "default" ], "watchers": [ "Pronghorn" ], "metrics": { "start_time": -73212120.85885099, "progress": 0.5103846732870319, "end_time": 89541111.75448403, "user": { "_id": "9e839f9db36373bb120def38", "provenance": "dolor amet cillum cupidatat proident", "username": "ad", "firstname": "in velit aliquip labore enim", "memberOf": [ { "groupId": "bd7ddf744e945f9b6f76db7c", "aaaManaged": false }, { "groupId": "787954b1f270640136ae6fb3", "aaaManaged": true }, { "groupId": "41932a1706d567e6b1e4e5a4", "aaaManaged": true }, { "groupId": "f21ab954426e0823c428deb6", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in labore occaecat" } ], "inactive": true, "lastLogin": "1953-06-19T17:55:24.69Z", "_meta": { "created": "1956-04-13T17:31:24.18Z", "updated": "2008-11-27T17:32:36.822Z", "migrationVersion": -58886924 }, "email": "aliqua anim quis sunt" }, "owner": { "_id": "02f57029ae0c17edf3b49830", "provenance": "cupidatat incididunt tempor eiusmod", "username": "nulla eiusmod", "firstname": "do fugiat in sunt esse", "memberOf": [ { "groupId": "cb2817ecb5a9dec403254cae", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aute ex deserunt" }, { "roleId": "commodo eiusmod laborum sint" } ], "inactive": false, "lastLogin": "1990-11-22T02:06:50.399Z", "_meta": { "created": "1969-11-07T09:06:28.731Z", "updated": "2020-09-28T02:59:25.949Z", "migrationVersion": 71169246 }, "email": "incididunt" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }