Execute Callback
The Execute Callback action allows you to call a custom callback defined in a component or a page params. This is especially useful when components expose actions to be executed by their parent or other external contexts.
Note: To use this action, you must create a page/component param of type
Action.
Properties
Action Name
Dropdown
Yes
Select the callback action defined in page/component params.
Arguments
Array
Conditional
List of all required argument values for the selected action. When Action Name is selected, all internal parameters are automatically listed. Required if the action definition marks itself as required.
Use Cases
Component Communication: Allow child components to trigger actions in parent contexts
Event Handling: Execute custom logic when user interactions occur within components
Dynamic Actions: Pass different callback behaviors to reusable components
Form Submissions: Handle form data processing through configurable callbacks
Default Behavior
By default:
Callback Resolution
Action name is evaluated to find the target ActionFlow
Argument Passing
Arguments are made available in callback scope as {{args.argumentName}}
Parameter Discovery
All parameters (required and optional) are automatically listed after selecting Action Name
Error Handling
Invalid action names or malformed ActionFlows throw errors
Execution Context
Callbacks run with access to the current scope context
How to Use

Create a page/component param of type
Actionto define the callbackWithin the entity, add the Execute Callback action
Select the
Action Namefrom the dropdown (shows available action params)Once selected, all parameters for that action are automatically listed (required and optional)
Provide values for all required parameters and any optional parameters you want to override in the
Argumentssection
Related Actions
Set State - Update state variables that may be used in callbacks
Execute External Method - Call external methods similar to callbacks
Fire Event - Trigger events that can be handled by callbacks
Asset Placeholder: Tutorial video demonstrating callback patterns and component communication in Digia Studio
Last updated