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)
Thank you for posting your questions on the Product Support Community.
It looks like you have created duplicate threads for the question-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 . To avoid confusion and to ensure the discussion continues on a single thread I’ll close this as a duplicate thread: