| title | WorkflowRule |
|---|---|
| description | WorkflowRule Schema Reference |
| Property | Type | Required | Description |
|---|---|---|---|
| name | string |
✅ | Unique workflow name |
| objectName | string |
✅ | Target Object |
| triggerType | Enum<'on_create' | 'on_update' | 'on_create_or_update' | 'on_delete' | 'schedule'> |
✅ | When to evaluate |
| criteria | string |
optional | Formula condition. If TRUE, actions execute. |
| actions | object | object | object | object | object | object | object | object | object | object[] |
optional | Immediate actions |
| active | boolean |
optional | Whether this workflow is active |