# Potential bug with pass through conditions on nested global workflows

**URL:** <https://community.weweb.io/t/potential-bug-with-pass-through-conditions-on-nested-global-workflows/5765>\
**Category:** Ask us anything\
**Created:** [December 6, 2023, 4:01pm UTC](https://community.weweb.io/t/potential-bug-with-pass-through-conditions-on-nested-global-workflows/5765 "2023-12-06T16:01:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jack](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/jack/32/5915_2.png) [@Jack](https://community.weweb.io/u/Jack)\
**Post date:** [December 6, 2023, 4:01pm UTC](https://community.weweb.io/t/potential-bug-with-pass-through-conditions-on-nested-global-workflows/5765/1 "2023-12-06T16:01:45Z")

</div>

I have a global workflow called _redirect\_logged\_in\_users_ in my app. The idea is that there are various places where I want to redirect users that are logged in and stop the entire workflow. See the screenshot below of this global workflow on my Login page.

The next screenshot is that _redirect\_logged\_in\_users_ workflow. If a user is logged in, redirect them and then I have a pass through condition that is always set to FALSE. The problem is that this pass through condition is only stopping that current workflow. the rest of the broader workflow (on the login page, in this case) is still executing.

Is this intended behavior or a bug? I would assume that a pass through condition that evaluates to FALSE in a global workflow that is within a broader workflow would stop the broader workflow as well.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/f/f4834a935b58a70aa973ba7b99860564b6b6b7d6.png)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/d/dde4ac8b322178fb3a1e020a2ee683e9f76890a5.png)

---

<div class="post-metadata">

**Author:** ![aurelie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/aurelie/32/13249_2.png) [@aurelie](https://community.weweb.io/u/aurelie)\
**Post date:** [December 7, 2023, 1:18pm UTC](https://community.weweb.io/t/potential-bug-with-pass-through-conditions-on-nested-global-workflows/5765/2 "2023-12-07T13:18:43Z")

</div>

Hi,  
thats the intented behavior, the pass through let you skip a series of actions, which finishes the workflow execution without errors. Then your main workflow continues to execute.

For your usecase, you can finish your workflow with a return which indicates if we need to continue or not.  
Then on the workflow which call this one, you add a pass through condition or a if action based on this.
