Component actions
Component actions in Workflow apps provide a dynamic and interactive user experience by enabling real-time responses to UI events such as button clicks, page loads, drop-down value changes, and table row selections. This enables users to complete a range of tasks, including:
- Run recipe: Allow users to complete tasks that involve external systems directly within the app interface
- Reset/reload components: Clear component values or reload a component after an action is taken
- Open a webpage: Direct app-users to a specific URL
- Complete a task: Review, approve, and complete requests within the Workflow apps portal
- Save data to table: Save request and approval data in a data table
- Set value: Configure a value for a variable or page component
Compatible components
Specific page components have the Action property which enables you to define the action to take within the page editor. The following table describes available actions and compatible components:
| Action | Trigger events | Compatible components |
|---|---|---|
| Run recipe |
|
|
| Reset/reload components |
|
|
| Open a webpage | Button click | Button |
| Complete task | Button click | Button |
| Save data to table | Button click | Button |
| Set value |
|
|
The Compatible components column lists the components you configure to perform the action. Set value actions set the value of a different component. Refer to Set value compatible components for the components whose values a Set value action can target.
Default actions
Button components must have a defined action. All other component actions have a default state of Do nothing. This means that you must configure components to respond to user actions.
Follow-up actions
You can configure one of the following follow-up actions to run after a primary action, such as a Run recipe action, completes:
The default is Do nothing if you don’t configure a follow-up action.
Last updated: