# Need Help: If condition seems to be getting cached

**URL:** <https://community.glideapps.com/t/need-help-if-condition-seems-to-be-getting-cached/82016>\
**Category:** Ask for Help\
**Created:** [May 24, 2025, 6:17am UTC](https://community.glideapps.com/t/need-help-if-condition-seems-to-be-getting-cached/82016 "2025-05-24T06:17:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [May 24, 2025, 6:17am UTC](https://community.glideapps.com/t/need-help-if-condition-seems-to-be-getting-cached/82016/1 "2025-05-24T06:17:10Z")

</div>

Hi Guys,

I have a action on click of element in the List

 ![Screenshot 2025-05-24 at 11.43.23 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/4/649790c702a8589a970919ea3de1c801b14fb50c.png)

Condition is If rollup count is \<=1 and If for selected user id there is no content then it executes condition 3

Now when I select a user who has content then it should execute condition 2.

**What is happening**

Is if condition 3 gets executed as there is no content for user → it shows a screen

If I select a user who has content condition 3 is getting executed again

actually condition 2 should get executed.

**If I click on same user wiho has content again condition 2 is rightly executed.**

how can I ensure that proper condition is executed without caching?

Thank you in advance for your help.

Regards,  
Dilip

---

<div class="post-metadata">

**Author:** ![Mazen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mazen/32/84042_2.png) [@Mazen](https://community.glideapps.com/u/Mazen)\
**Post date:** [May 24, 2025, 4:08pm UTC](https://community.glideapps.com/t/need-help-if-condition-seems-to-be-getting-cached/82016/2 "2025-05-24T16:08:53Z")

</div>

Hey Dilip,  
It sounds like the condition is running before the data updates. Try splitting your action into two steps:

1. First, set the user ID and other values.
2. Then trigger the condition check in a second action after the data is updated.

That should help avoid the wrong condition running due to caching or delay.

Hope that helps!

---

<div class="post-metadata">

**Author:** ![Dilip\_Adiga](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilip_adiga/32/60330_2.png) [@Dilip\_Adiga](https://community.glideapps.com/u/Dilip_Adiga)\
**Post date:** [May 25, 2025, 4:41am UTC](https://community.glideapps.com/t/need-help-if-condition-seems-to-be-getting-cached/82016/3 "2025-05-25T04:41:44Z")

</div>

Hi @Mazen ,

Thank you for your reply.

By splitting it into two steps and trigger a condition you mean introduce" wait for condition " step?

That really doesn’t work as it will wait for some condition right, Mine can be true or not true.

Thank you again.  
Regards,  
Dilip
