Modern Trigger Scope blocks sequential or parallel flow; Stop Trigger not working

Hi, I’m working with Modern UiPath and I need to handle recurring popups that can appear at any point during my main workflow.

I’ve tried several approaches:

  1. Sequential Trigger Scope to listen for the popup and close it.
  • Result: the workflow gets stuck in the Trigger Scope and never continues to the next activities.
  1. Parallel approach:
  • Branch 1 → main workflow
  • Branch 2 → Trigger Scope for the popup
  • Result: even when the main workflow finishes, the Trigger Scope branch stays active, and Stop Trigger or boolean variables do not stop it properly.
  1. Tried using a boolean control variable to conditionally activate the Trigger Scope.
  • Result: it does not stop execution if the Trigger Scope is already listening.
  1. Tried Stop Trigger, targeting the Trigger Scope, with ShouldStop = True.
  • Result: the Trigger Scope still blocks execution or does not stop as expected.
  1. Modern Trigger Scope does not have a Timeout property, so I cannot limit its listening duration.

What I need to know:

  • What is the correct way to use Modern Trigger Scope to handle recurring popups without blocking the main workflow?
  • Is using a Parallel structure mandatory for the main workflow to continue?
  • How can I properly stop the Trigger Scope when I no longer want to listen to events (using Stop Trigger or a boolean variable)?
  • Are there any recommended strategies to combine Trigger Scope + main workflow in Modern Activities without the robot getting stuck?


image

@nicol-dayana.arias-lebro

ideally for your scenario

  1. If they are javascript based pop ups on website then new use app/browser has options to auto suppress them
  2. If 1 is not an option then use Global exception handler and handle the pop ups there if present and continue with workflow
  3. If 2 is also not an option then use parallel activity and have the full floe on thr right and on left use loop and try clicking or handling the pop up if not present the loop continues. the end of parallel can be controlled by a boolean on the main activity side and add that boolean as the parallel condition in properties

Hope this helps

cheers