Executions

Creating Executions

Creating Executions in the UI

To create a new execution in the Cloudomation user interface, select one or more flow scripts from the flows list view. Then click the  Run button in the action bar. This will run the flow script once immediately.

Scheduling Executions in the UI

Schedule an execution to start at a specific time in the future

Executions can be configured to start at a specific moment in the future, or after a specific timeout. For example, you can schedule an execution to start tonight at 6 o’clock. You can also schedule an execution to run in one hour. 

To delay an execution run click the dropdown arrow next to Run  button and select  Run delayed. You will be redirected to the input request list to configure the delayed execution run. You can then choose if you want to specify a date and time at which the execution should be started, or to specify a delay after which an execution should be started. The execution will be run once at the point in the future you define. 

The “Run delayed” functionality is implemented in Delayed.py  from the public flow script library . The implementation is meant to be a boilerplate. You are encouraged to customise it to your needs.

Schedule an execution to run repeatedly in set intervals

Executions can be scheduled to run repeatedly in set intervals. For example, you can schedule an execution to run every 20 minutes.

To create a recurring execution click the drop down arrow next to the  Run  button and select  Run recurring. You will be redirected to the input request list to configure the recurring execution run.

The “Run recurring” functionality is implemented in Recurring.py  from the public flow script library . The implementation is meant to be a boilerplate. You are encouraged to customise it to your needs.

Schedule executions to run repeately at a specific time

Executions can be scheduled to run at a defined time every day. For example, you can schedule an execution to run every Tuesday at 9 o’clock. 

To create a scheduled execution click the drop down arrow next to the  Run  button and select  Run scheduled.

You will be redirected to the input request list to configure the scheduled execution run.

The “Run scheduled” functionality is implemented in Scheduled.py  from the public flow script library . The implementation is meant to be a boilerplate. You are encouraged to customise it to your needs.

Creating Executions Using the REST API​

To create a new execution using the Cloudomation REST API send a HTTP POST request to https://wp-dev.cloudomation.io/api/latest/execution. The request and response schemas are documented in the API explorer.

To create an execution using the REST API the request must be authenticated as a Cloudomation user. See Authentication on how to authenticate REST API requests.

You can also schedule executions via the REST API. Use the Delayed.py ,  Recurring.py , or Scheduled.py  from the public flow script library to schedule your executions. Feel free to customise them to your needs.

Creating Executions Using Webhooks

Executions can be created using webhooks. See Webhooks for more information.