Skip to main content

Automation Service

The automation active variable service gives your scripts access to your automations. It uses the Automation REST service, so the same rules and permissions apply.

Using the service​

// Read an item
item = ${automation:"6721f0c2a4b9e85d3c0f1a77"}

// Find items
items = find ${automation}

// Save an item
save ${automation:item}

// Delete an item, or roll back to its previous version
delete ${automation:"6721f0c2a4b9e85d3c0f1a77"}

See Automation for the variable this service holds.