Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Call-Async-Activity method

Updated on August 10, 2022

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:

Parameters

ParameterDescription
ActivityName of the activity to execute asynchronously. Select an activity whose Usage on the Security tab is set to "Asynchronous".
pool IDThis 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.

Checking the method status

This method updates the pxMethodStatus property only if it fails. See How to test method results using a transition.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us