Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Queue method is not calling the child activity asynchronously

SA-17533

Summary



In an activity Connect-wait method which follows Queue method is not yielding correct results in Pega 7.1.8.
 


Error Messages



Not Applicable.


Steps to Reproduce



1) Create two activities parent activity and Child asynchronous activity.
2) Use the Queue method to call child activity from the parent activity.
3) Make it followed by connect-wait step in the parent activity.
4) Run the parent activity.
 


Root Cause



In an activity, queue method with connect-wait is not supported.

Resolution



Instead of Queue method, use the java step for asynchronus method call and followed by Connect-wait step. The java step is as follows:

tools.getRequestor().queueBatchActivity("Activity_Class_name","activity_name", tools.getParameterPage(), null);
 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us