Need Help: If condition seems to be getting cached

Hi Guys,

I have a action on click of element in the List

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

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!

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