Question
Last activity: 10 Oct 2018 1:44 EDT
Is it possible to run 2 activities at the same time?
Is it possible to run 2 activities at the same time?
***Updated by moderator: Lochan to update platform capability***
What is Queue Method? Where can I find it?
Accepted Solution


Cognizant Technology Solutions
NL
Hi,
you can also use Call-Async-Activity method in activity to run activities in parallel, but this is mostly used load data pages asynchronously (in background threads).
Hope this helps you, if not please post the exact requirement.
Thanks,
Divya Sri Padarthy
Where can I find this Call-Async-Activity method?


Cognizant Technology Solutions
NL
This is one of the methods in activity.
Hi,
Yes,its possible to run 2 or more activities at a time.You can use method "Queue" at your activity steps and then pass the name of your activity as given below:
Queue ActivityName
Thanks
Hari Pandey
Yes it is possible.
Your requestor thread can process only one action at a time. If you have to run two activities , one of them has to be operated in asynchronus modeon a separate thread ( aka Parallel thread ) . So in that case, to trace the second activity you have to do a remote tracing.
Call-Async-Activity Is one such method that can be used here. It will execute a given activity asynchronously. It is possible for the caller activity to wait till the spin off activity is completed. This can be done by providing a pool id and then waiting on that pool id using Connect-Wait method in subsequent steps.
Thank you for all the inputs, I will try to look for this.
Thank you again.
WC, if you need further help please revert back to me.
Hi,
Is your question regarding Pega Platform or Pega Robotics? The question has "Pega Robotics" tag, but existing replies refer to Pega Platform capabilities.


Pegasystems Inc.
IN
Thanks! I have updated the tag since the original post and the replies do not refer to Robotics.
Hi,
Could you please explain your scenario completely but we can run two activities in parallel using Queue method.
Regards,
Vinay Reddy