Cloudomation is an automation-as-code platform. Automation is done via Python scripts that define the automation logic. We call these scripts flow scripts. Flow scripts contain a Python handler function.
To complete the quick start example, you need to have an active Cloudomation account and be signed in to try it out. Get in touch at firstname.lastname@example.org to request a trial account.
To quickly get started:
Create a new flow by pressing the "+ Create" button and selecting "Flow"
The flow object will be opened automatically and will already contain a handler function:def handler(system, this):# TODO: write your automationreturn this.success('all done')
Replace the comment
#TODO: write your automationwith a statement to print a hello world log message:def handler(system, this):this.log('Hello World!')return this.success('all done')
Click on "Run".
You will be redirected to the Execution View. It will also show the status of your newly created execution and will update with any change.
In the "Output" tab you'll see the log messagelogging:- 2021-08-01 13:44:21 :- "Hello World!"