For the managed package runtime, enable an element or an event listener to execute sequential actions on a Flexcard. When there are multiple actions, the first action fires, completes, and then triggers the next action. You can use the response from the previous action to perform subsequent actions.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
|
Required Versions |
|---|
|
Support for event listeners available beginning Winter '22. Support for actionable elements available beginning Spring '22. |
Make note of the following processes and best practices when configuring sequential actions:
-
When there is an error executing an action, the action queue fails and subsequent actions aren't executed.
-
If an action triggers sequential custom or pubsub events, and each of their event listeners trigger their own sequential actions, if an action fails within a sequence, it doesn't prevent the next sequence of actions in the next event listener from executing.
-
Any action that navigates away from the Flexcard should be the last in the queue or stop any further actions.
-
For any action, such as a data or update datasource action, that must wait for a response, the actions in the queue will wait until it's resolved before executing the next action. As needed, enable Show Spinner to block users from interacting with the Flexcard until that action completes.
-
In a Data action, save the response in Response Node to use it in a subsequent action.
- Trigger Sequential Actions on an Actionable Element on a Flexcard (Managed Package)
For the managed package runtime, enable an element to execute sequential actions from a Flexcard. When an element has multiple actions, the first action fires, completes, and triggers the next action in the sequence. You can use the response from the previous action to perform subsequent actions. Enable sequential actions on clickable display and input elements such as Action, Image, or Checkbox. - Trigger Sequential Actions from an Event Listener on a Flexcard (Managed Package)
For the managed package runtime, enable an event listener to execute multiple actions sequentially on a Flexcard. When an event listener has multiple actions, the first action fires, completes, and triggers the next action in the sequence. You can use the response from the previous action to perform subsequent actions. For example, create an event listener that updates to the value of a data field with a Set Values action, then passes the updated value to an Omniscript with an Update Omniscript action.