If Logic error

manjupawadhA
Giga Guru

Hi @Ankur Bawiskar 

 

   I have created the use stock variable in catalog item and also this variable only visible in RITM table once the variable is updated based on selection i need to create sctask so i have created the Flow designer but the if condition getting evaluated false ,Can you please help me this scenario

manjupawadhA_0-1745661915816.png

manjupawadhA_1-1745661940605.png

 

2 ACCEPTED SOLUTIONS

J Siva
Tera Sage

@manjupawadhATry below flow logic. For Desktop type device create a similar steps using another If logic

JSiva_0-1745737150599.png

JSiva_1-1745737223959.png

 

Regards,
Siva

 

View solution in original post

manjupawadhA
Giga Guru

@J Siva  I have tried this below solution now its working fine, Thank you so much for your help its very useful to complete my story. 

manjupawadhA_0-1745763544636.png

 

View solution in original post

6 REPLIES 6

J Siva
Tera Sage

Hi @manjupawadhA 

This is the expected behavior.

Any modifications made after the flow trigger will not be applied within the current flow context.

So, here as a workaround, create one flow variable and assign the catalog variable value to that flow variable.

Use the "Do the following until" flow logic to check the flow variable value until it's not empty. Then inside that add one more "Get catalog variable" action and assign the flow variable with the catalog variable with the delay of 2mins. So that, for every 2 mins, flow will check for the value of that particular catalog variable value and assign that to the flow variable. Once the flow variable is not empty it'll create a catalog task. PFB the sample.

 

Refresh variables flow.png

Screenshot_20250426-180002.png

Hope this helps.

Regards,

Siva

Hello @J Siva  Thank you for your reply

One catalog task means the above solution is okay, but my requirement has once, that catalog variable is yes, it means create one catalog task because that variable is no means need to create the catalog task.

@manjupawadhA The above will work for both the scenarios.

Once the subflow variable is not empty, then use if logic to validate the value. Based on the result, create catalog task as required.

@manjupawadhA Could you share the full requirement?

Will help us to provide more clearer solution.