Automation
Scripts
Use scripts in objects, tasks, tickets, and workflow script nodes.
Scripts
Scripts add code-level behaviour to Antly configuration. They can support object records, tasks, tickets, workflow script nodes, and Iris-assisted script authoring. Use scripts for deterministic logic that cannot be expressed through settings, filters, or built-in Workflow Studio nodes.
Where scripts appear
| Surface | Use for |
|---|---|
| Object scripts | Record enrichment, validation, custom consequences, and integrations tied to one object. |
| Workflow script nodes | One step inside a versioned workflow graph. |
| Task and ticket enabled models | Custom logic around work management records. |
| Playground | Testing script behaviour before it affects live records. |
| Iris script helper | Assistance writing or refining script logic. |
Configuration steps
- Decide whether the code belongs to an object or a workflow step.
- Name the script after the business result, not the implementation detail.
- Use stable aliases, namespaces, and IDs in script inputs.
- Test in the playground with realistic records.
- Add logs and clear error messages for operational support.