Call-Async-Activity method
Use the Call-Async-Activity method to load data pages asynchronously (into background threads) to allow other processing to continue.
Note:
To run an activity asynchronously, set
Usage
on the activity's
Security
tab to "Asynchronous".
Only the following step methods are available:
- Load-DataPage
- Connect-Wait
- Call-Async-Activity (step instruction to allow the user to load an asynchronous activity)
Parameters
Parameter | Description |
---|---|
Activity | Name of the activity to execute asynchronously. Select an activity whose Usage on the Security tab is set to "Asynchronous". |
pool ID | This is a token used to group multiple data pages that are loaded in the background and used by the Connect-Wait method to wait for the data pages with the same pool ID to finish loading. |
Results
The system uses rule resolution to locate the correct instances of the data pages.Note: This method supports
asynchronous loading of data pages.