Form rule actions define what happens when a form rule is triggered and all configured conditions are satisfied. Actions can operate on the entire form or on individual widgets, enabling you to validate data, start processes, update widget values, or provide visual feedback to users.
Form actions allow rules to interact with the form. The following form actions are available:
| Event | Description |
|---|---|
| Validate form | Validates the form and checks all configured validation rules. If validation fails, the appropriate validation messages are displayed. |
| Start process |
Starts a process. Select the process to start from the available processes in the Start process menu. Each time this action is configured, a unique correlationKey is generated. The correlation key can be used with the Process finished event to identify the process instance that completed. You can modify the generated key to make it easier to identify. |
| Show spinner | Displays a loading indicator to inform users that an operation is in progress. |
| Hide spinner | Removes the loading indicator after the operation has completed. |
Field actions allow rules to interact with individual widgets on the form. The following field actions are available:
| Event | Description |
|---|---|
| Update Field | Updates the value, state, or configuration of a widget when the rule is triggered. The available options depend on the selected widget and the configured payload. |
Variable actions allow rules to interact with individual form variables. The following variable actions are available:
| Event | Description |
|---|---|
| Update variable | Updates the value of a form variable. |