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": "8467658b1017fbeea8c1700d", "font_size": 33493122, "type": "automation", "created": "1966-12-22T01:17:54.824Z", "last_updated": "2012-09-02T23:06:00.599Z", "createdVersion": "61777661.013.399300648", "lastUpdatedVersion": "115736.647907.0611830660", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -29435230, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -74121538.52385691, "sla": 45567876.191260666, "decorators": [ { "type": "encryption", "pointer": "/~0/Yb/~0/~0/~0/~1/SWB" }, { "type": "encryption", "pointer": "/faZ1/~0/W/q.7qFNd/~1/K/y/~1/~1" }, { "type": "encryption", "pointer": "/~1/rui4X/~1/bv/ZfUH/~1/Lw8G1iWkZ/~1/~1/~0/xN7b,.i" }, { "type": "encryption", "pointer": "/qUdV87PSAgo/~0/~1/zLA9/~1" }, { "type": "encryption", "pointer": "/~1/~0/~0/DtM/GExSO9u/AT/~0/~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 } ], "warnings": [ { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "in dolore" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "laboris velit" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "ut" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "adipisicing velit pariatur" } ], "ancestors": null, "validationErrors": [ { "keyword": "labore commodo dolor minim", "instancePath": "eiusmod cillum nulla", "schemaPath": "in qui sed amet", "message": "sint" }, { "keyword": "exercitation", "instancePath": "eu Excepteur ut", "schemaPath": "commodo deserunt sint qui dolore", "message": "ex quis" } ], "created_by": "159fba0ce56564db6d4a3ca5", "last_updated_by": "a9849a472f42dff5d4344de9", "tasks": { "workflow_start": { "x": -65414600.320503615, "y": -79124309.40108943, "gridCoordinate": { "x": -4889584.677933812, "y": -86107282.09437534 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 67554540.62729666, "finish_state": "error", "user": "Pronghorn" }, "groups": [ "default" ], "iterations": [ "fa0FaaEa-4e07-d0ee-C6Dc-46DBba0fbe1a", "cfeCbef1-0B9E-c7bd-6CC6-1cB74eeaFDbF", "cEB746C5-4c55-adc7-7E54-B6c9Ce425523" ] }, "workflow_end": { "x": 6424487.561419129, "y": 56773000.57544446, "gridCoordinate": { "x": 83592892.02157113, "y": -94256222.14358516 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "e28f" ], "complete": [ "e28f", "3a1f", "e28f" ], "error": [ "error_handler", "e28f", "workflow_start", "workflow_start" ] }, "metrics": { "end_time": 70058997.93014535, "run_time": -69001402.10904357 }, "groups": [ "default", "default", "9863893469c735542713acab" ], "iterations": [ "45438DAf-a44c-2ed3-4F92-5Fb4dc9763FD" ] }, "error_handler": { "x": 2495115.606518805, "y": 90159792.23999962, "gridCoordinate": { "x": 24858067.45146601, "y": -54857605.80928396 }, "name": "childJob", "location": "Broker", "locationType": "ad", "app": "commodo non minim Lorem quis", "canvasName": "qui tempor reprehenderit", "displayName": "aliqua", "summary": "tempor est", "description": "ad officia labore qui amet", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/h/~0/n+rQEpZu,/WvUhJ" }, { "type": "encryption", "pointer": "/kXyUeRme/DWdKrXfST/hOIs067f/~1/~0/r5fLn7" }, { "type": "encryption", "pointer": "/~1/LWay8AH/vf+.O7H" }, { "type": "encryption", "pointer": "/~1/~0/~0" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "officia ullamco pariatur sint", "highlightString": "nostrud ut id proident sit" }, { "key": "velit cillum", "highlightString": "ea" }, { "key": "veniam quis in mollit consequat", "highlightString": "laboris reprehenderit commodo sint" } ], "status": "error", "previous": { "incomplete": [ "workflow_start", "workflow_start" ], "complete": [ "error_handler", "3a1f" ], "error": [ "e28f", "workflow_end", "workflow_start", "error_handler" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "loop" } ], "error": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "in adipisicing", "start_time": "2007-10-08T04:18:12.453Z", "end_time": -73655670.37379463, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "b6daaa1be79a5692af958a57", "provenance": "mollit proident nostrud dolor", "name": "commodo dolor tempor id fugiat", "description": "irure anim", "memberOf": [ { "groupId": "dc940cdde70961cc13bea534", "aaaManaged": true }, { "groupId": "0790d434dec04dfc9b645fd4", "aaaManaged": false }, { "groupId": "f85a3a4b7511438804f940d2", "aaaManaged": true }, { "groupId": "3e728a75baf322e80505a6a9", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "voluptate aliquip tempor" }, { "roleId": "aliqua dolor et adipisicing tempor" } ], "inactive": true, "_meta": { "created": "1967-05-08T05:51:00.973Z", "updated": "2007-12-07T11:39:41.231Z", "migrationVersion": -4564404 } }, { "_id": "ddabc29f0bb7f6afac238f7b", "provenance": "nisi proident consectetur minim anim", "name": "velit Ut nulla esse", "description": "sunt", "memberOf": [ { "groupId": "ede03e90dbab8e7f35789fe1", "aaaManaged": true }, { "groupId": "6bbb649879ba765bcc32604d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "voluptate anim" }, { "roleId": "est" } ], "inactive": false, "_meta": { "created": "1995-05-14T15:39:55.333Z", "updated": "2014-12-28T03:23:53.762Z", "migrationVersion": -95827920 } }, "default" ], "iterations": [ "D930BFeE-BAfa-FA4e-A6a8-dBAEc354D384", "6BD70AC0-A8a6-8eeF-950d-9c6BF578Dcce", "6b8C3F58-2cf9-6782-baDD-64Fa2Bfd8E2F" ] }, "a3c8": { "x": -86739935.10339777, "y": -41812989.67728533, "gridCoordinate": { "x": 16107964.227626234, "y": 21758672.339630753 }, "name": "velit", "location": "Application", "locationType": null, "app": "officia sint", "canvasName": "nisi officia mollit culpa", "displayName": "et mollit", "summary": "in Lorem tempor magna", "description": "aute consequat", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/~1/p.mMF3UUjXL/~1/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "commodo culpa deserunt id", "highlightString": "id ipsum aliqua" }, { "key": "in do ea", "highlightString": "in in" }, { "key": "deserunt eu", "highlightString": "eiusmod dolor exercitation" } ], "status": "paused", "previous": { "incomplete": [ "error_handler" ], "complete": [ "workflow_start", "e28f" ], "error": [ "e28f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "loop" } ], "error": [ { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "standard" } ] }, "serverId": "proident non sed nostrud ad", "start_time": "2001-04-06T02:54:27.381Z", "end_time": 73156932.51279378, "finish_state": "failure", "retrySettings": { "state": [ "failure", "error" ], "autoRetry": true, "limit": 63539579, "delay": 26158718, "count": 8519245, "finishedRetrying": true }, "type": "operation", "actor": null, "groups": [ "default", "524fc5239f2d584ff426ea01", "29545dec0667e652001dba5b", "default", "01d8806059b7f2c0bd7e27f9" ], "iterations": [] } }, "parent": { "task": "in Lorem", "iteration": -66531333.64571602, "element": -50196752.027058356 }, "errorHandler": null, "groups": [ "ef57855907fdc845aedcd9b8" ], "watchers": [ null, null, null, null, { "_id": "73f77059f98fe777d5e29334", "provenance": "occaecat laborum dolore et nostrud", "username": "qui ex adipisicing irure sunt", "firstname": "ad adipisicing", "memberOf": [ { "groupId": "d00cc45008f3877319710830", "aaaManaged": false }, { "groupId": "e75a3155faab6764c48a39ba", "aaaManaged": true }, { "groupId": "d6afd13391c81aae85f2dbd0", "aaaManaged": false }, { "groupId": "169eb7f3d09367ced764319d", "aaaManaged": true }, { "groupId": "e04d55fcc41dcc5ae1b6b2fa", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "officia nostrud nisi" } ], "inactive": false, "lastLogin": "2013-07-04T06:50:22.486Z", "_meta": { "created": "1963-03-11T03:57:08.863Z", "updated": "1951-06-12T08:00:13.482Z", "migrationVersion": 79811162 }, "email": "dolor" } ], "metrics": { "start_time": 62454606.808018744, "progress": 0.31064349067277, "end_time": -42947871.49219483, "user": null, "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }