Question

1
Replies
103
Views
govardhanar1741 Member since 2016 9 posts
wipro
Posted: 2 years ago
Last activity: 2 years 3 months ago
Closed

conditionally control execution of parent agent only after all the allocated sub agents using queue for agent method or activity complete of their tasks in pega

Hi All,

i want to conditionally start (Allocator Advanced agent) only after all the allocated sub agents(standard agents) complete of their tasks using queue for agent method or activity in pega.(after periodic wakeup , i want to control the execution of all steps or only few steps in the calling activity based on the count of total pending queued messages left to process for the calling sub agents)

how to write the Activity called/executed by the Parent/Allocator agent(Advanced agent) periodically on subsequent wakup to first check,if there are pending queued messages(count of) for the child agents to process , if present skip the allocation of messages to the sub agents and end the activity, until next run of Parent/Allocator agent(Advanced agent)

Low-Code App Development Data Integration Java and Activities Data Integration
Moderation Team has archived post
Share this page LinkedIn