Repository navigation
The Init Async Action Invocable Action
The Init Async Action invocable action initializes new async actions based on processor settings and input data. This action creates AsyncActionc records that respect the configuration defined in AsyncActionProcessormdt settings.
This invocable action allows Flow users to create async actions programmatically while ensuring they are properly configured according to the processor settings. The created actions are initialized with "Pending" status and are ready for processing by the async actions framework.
| Parameter | Data Type | Required | Description |
|---|---|---|---|
| AsyncActionProcessor__mdt DeveloperName | String | Yes | Developer name of the AsyncActionProcessor__mdt record to use for this action |
| Data | String | No | Optional data payload for the async action |
| Related Record ID | Id | No | Optional ID of the record this async action is related to |
This invocable action returns a single AsyncAction__c record that has been initialized with the provided parameters and processor settings.
Use this action when you need to create async actions from within a Flow. The action will automatically apply the configuration from the specified processor settings, including retry counts and other processing parameters.
- AsyncAction__c
- AsyncActionProcessor__mdt
- AsyncActionParameter__mdt
- AsyncActionScheduledJob__mdt
- AsyncActionScheduledJobItem__mdt