Summary
Run Manual Trigger
Description
Runs the Automation associated with the Manual Trigger.
Route
POST /operations-manager/triggers/manual/:id/run
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
id | string | yes | The id of the Manual Trigger to run. |
formData | object | yes | The form data that will be used to create job variables. |
{}
{ "type": "object", "properties": { "formData": { "title": "formData", "type": "object", "properties": {}, "additionalProperties": true } }, "required": [ "formData" ], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
result | object | The spawned Job. |
{ "message": "Successfully created the requested item", "data": { "_id": "6a4428469a5fc7f14453fcb1", "font_size": -68709725, "type": "automation", "created": "1954-06-26T23:28:07.091Z", "last_updated": "1948-01-31T20:41:02.019Z", "createdVersion": "03.0979.3351-8791.036.1.07923215260", "lastUpdatedVersion": "69321876.72538.36553", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 28768551, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -42144710.98293067, "sla": -17198299.96140887, "decorators": [ { "type": "encryption", "pointer": "/c5hWKxtOGz/~1/cqEdPG2/~0/~1/~0" } ], "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName", "message": "enim sunt irure est aute" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "ad officia deserunt ut" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "dolore tempor elit adipisicing" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "mollit dolore" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "do veniam ipsum quis fugiat" } ], "ancestors": [ "26a43b6deda8f25093e63a8f", "ac6293b8ead5cff2965ca509" ], "validationErrors": [ { "keyword": "incididunt in amet et", "dataPath": "proident", "schemaPath": "deserunt", "message": "occaecat enim minim sed nostrud" } ], "created_by": "Pronghorn", "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": -94182324.045748, "y": -52117853.69090531, "gridCoordinate": { "x": 33411075.96636878, "y": 14396234.512795612 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 67227089.9992033, "finish_state": "success", "user": "e2f3f0908757866baa621e83" }, "groups": [ { "_id": "23c5ff9e92195bdc3ce55efa", "provenance": "laborum commodo aute dolore laboris", "name": "Lorem", "description": "adipisicing do sunt Ut", "memberOf": [ { "groupId": "48fcf23c8096b2a31d206dfa", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "proident in ad in Excepteur" }, { "roleId": "anim sunt cillum" }, { "roleId": "reprehenderit consequat dolor" }, { "roleId": "Duis do amet ut" } ], "inactive": false, "_meta": { "created": "1963-11-21T10:14:44.939Z", "updated": "1981-06-14T18:54:48.902Z", "migrationVersion": -52482975 } }, "ad91c4210ca0585fe403db6f", "default" ], "iterations": [ "B5Cc2fCA-F40e-a038-bA49-c4bfFD2Fc7eB", "954824aA-E2E2-1dbE-0edB-15fCd338E8e6" ] }, "workflow_end": { "x": -77456447.61609288, "y": -64326791.73043625, "gridCoordinate": { "x": 62352892.05056614, "y": -13262680.650747955 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "e28f", "workflow_start" ], "complete": [ "e28f", "workflow_start", "3a1f", "e28f", "workflow_start" ], "error": [ "e28f", "workflow_start" ] }, "metrics": { "end_time": -39601837.62583829, "run_time": -30496112.12703982 }, "groups": [ "156a151a654ff31178b342e1" ], "iterations": [ "9beF5Ca5-6a16-b16f-77a2-E45F20c34cb6" ] }, "error_handler": { "x": -57518650.409970686, "y": -17409507.615757257, "gridCoordinate": { "x": -54226054.40217483, "y": 77802308.82816568 }, "name": "childJob", "location": "Adapter", "locationType": "Ut tempor nulla pariatur consequat", "app": "in Ut ut commodo do", "canvasName": "ex do in ullamco nostrud", "displayName": "sint reprehenderit nisi consectetur adipisicing", "summary": "in do veniam nulla", "description": "magna veniam eu", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/L1I6MCk/HRM4EFxTM0/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "esse dolor ut nostrud in", "highlightString": "eu" }, { "key": "deserunt", "highlightString": "dolor incididunt consectetur adipisicing mollit" } ], "status": "error", "previous": { "incomplete": [ "3a1f", "workflow_start" ], "complete": [ "workflow_start", "error_handler", "workflow_start", "workflow_end", "workflow_end" ], "error": [ "error_handler", "error_handler", "workflow_start", "workflow_end", "e28f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "error_handler", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "3a1f", "type": "revert" } ], "error": [ { "task": "3a1f", "type": "revert" } ] }, "serverId": "deserunt labore amet aliquip nostrud", "start_time": "1996-05-15T17:20:25.457Z", "end_time": -5704727.898639023, "finish_state": "failure", "retrySettings": { "state": [ "success", "success", "error", "failure" ], "autoRetry": false, "limit": 320909, "delay": 27955359, "count": 3265056, "finishedRetrying": false }, "type": "operation", "actor": "job", "groups": [ "default", "230a780a68c198713a9a33e7", "47e5f7d24fbc7e16ca1c0b87" ], "iterations": [ "f8653537-7C17-CCBC-1efd-6Ed4FaE8b6fc" ] }, "0b90": { "x": 53417539.03515762, "y": -17165379.58382918, "gridCoordinate": { "x": 64589164.35766962, "y": -96050616.00183888 }, "name": "qui aliquip", "location": "Adapter", "locationType": null, "app": "magna mollit aliqua qui", "canvasName": "aliquip in sit", "displayName": "labore enim Excepteur culpa", "summary": "incididunt", "description": "incididunt quis sunt Excepteur eu", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/~0/~1/zF1mCl0ghC/jLwXAO/Mrz/jNRW4a/i-T/~0" }, { "type": "encryption", "pointer": "/rtm1MbnA/~0/lOQeLas54b/A.DW74wk/r.FLrM4zV/HDOU-Gvbn2h" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "consectetur sed ad", "highlightString": "officia elit" }, { "key": "in consectetur esse dolor Lorem", "highlightString": "nulla nisi consectetur" } ], "status": "error", "previous": { "incomplete": [ "workflow_start", "workflow_start" ], "complete": [ "workflow_start", "3a1f", "error_handler", "e28f" ], "error": [ "3a1f", "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "revert" } ], "failure": [ { "task": "3a1f", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "error_handler", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_end", "type": "loop" } ] }, "serverId": "aliqua pariatur fugiat adipisicing Ut", "start_time": "1993-03-03T17:43:20.247Z", "end_time": -4391510.92130734, "finish_state": "failure", "retrySettings": { "state": [ "error", "failure", "failure" ], "autoRetry": true, "limit": 5237568, "delay": 86882964, "count": 13525872, "finishedRetrying": false }, "type": "operation", "actor": "job", "groups": [ { "_id": "7bacaa861df66ef3eaaa734b", "provenance": "cillum reprehenderit", "name": "ex est", "description": "ex dolor ea in", "memberOf": [ { "groupId": "55b78334808730a7ad21f2a3", "aaaManaged": true }, { "groupId": "d329f79f1fba8b46d625efca", "aaaManaged": true }, { "groupId": "c3952d2f87b4b63c40eec840", "aaaManaged": false }, { "groupId": "92d948afe648e87a662573cc", "aaaManaged": false }, { "groupId": "247f267bf277734f3d7c00d0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "officia Excepteur ipsum et in" }, { "roleId": "consectetur enim minim quis" }, { "roleId": "et enim" }, { "roleId": "in nulla ad" }, { "roleId": "mollit ut adipisicing eiusmod" } ], "inactive": true, "_meta": { "created": "1993-07-14T11:43:34.57Z", "updated": "2017-07-20T18:02:43.726Z", "migrationVersion": -29607803 } }, "default", { "_id": "7488973553d04c2f4287f447", "provenance": "voluptate Duis enim", "name": "occaecat nisi", "description": "quis consequat sunt aliquip", "memberOf": [ { "groupId": "1d9ae91f91e50ec1237ae09c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "incididunt Duis esse proident" } ], "inactive": true, "_meta": { "created": "2004-07-06T05:07:37.578Z", "updated": "1953-01-29T00:16:12.842Z", "migrationVersion": -32687990 } } ], "iterations": [] } }, "parent": { "job": "labore", "task": "exercitation", "iteration": -7721304.2316367775, "element": -98489447.58551496 }, "errorHandler": null, "groups": [ "default", "default", "fb3b16a16035e688c273044d", { "_id": "00911b6d5d910f1b76705755", "provenance": "id", "name": "proident", "description": "est laborum incididunt do", "memberOf": [ { "groupId": "7242357beabcb009dbd5a8ae", "aaaManaged": true }, { "groupId": "28097c7d83d28e7a3414bb01", "aaaManaged": true }, { "groupId": "08fd175e90de193a5b25449e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "esse et" } ], "inactive": false, "_meta": { "created": "1989-10-28T14:49:07.579Z", "updated": "2010-07-09T20:33:16.269Z", "migrationVersion": 21753136 } } ], "watchers": [ "02d3b71781fc99f1fc358e14", "Pronghorn", "34f148f1a4f665996f693fd0", "Pronghorn", "a8a24bfd8fb0a31c824a2584" ], "metrics": { "start_time": 79922737.29875371, "progress": 0.2558931362782888, "end_time": -88950355.33532098, "user": "Pronghorn", "owner": "03e22d0212627c9e558b9cb9" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }