Question
Sun Life Financial
PH
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***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Areteans
AU
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
Pegasystems Inc.
IN
Hi,
Could you please explain your scenario completely but we can run two activities in parallel using Queue method.
Regards,
Vinay Reddy
Sun Life Financial
PH
What is Queue Method? Where can I find it?
Accepted Solution
Areteans
AU
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
Sun Life Financial
PH
Where can I find this Call-Async-Activity method?
Areteans
AU
This is one of the methods in activity.
Ernst and Young
IN
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
-
KrishnaChaitanya Gaddipati Lahcen KHINIT
CollabPartnerz
IN
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.
Sun Life Financial
PH
Thank you for all the inputs, I will try to look for this.
Thank you again.
CollabPartnerz
IN
WC, if you need further help please revert back to me.
Pegasystems Inc.
US
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.