How can w use wait for condition in flow designer for variable?

lucky24
Tera Contributor

I have one variable return date on catalog item and I am using flow designer for my catalog item,

 

After closing one task I am putting RITM into pending requester and that time one variable will visible for user " return date" and when he will submit value in that variable then I have to set RITM as work in progress and I have to create new task.

 

Above requirement I am trying to achieve wait for condition but there I am not getting variable value 

 

lucky24_0-1691135533422.png

 

I want to check if return date is not empty then I can move forward my flow.

Can someone help me please??

 

18 REPLIES 18

Can you please share wha is the error?

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Hi Anil,

lucky24_0-1691147092327.pnglucky24_1-1691147150444.png

Please see above screen shot , I want when user submit return date then flow should go move forward 

Anil Lande
Kilo Patron

Hi,

If you are planning to use catalog item variables in your FLOW for validations, setting field values etc then you need to use 'Get Catalog Variables' Action to read all catalog variables. Then you can use these variables in your flow.

Screenshot 2023-08-04 at 2.36.09 PM.png

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Hi Anil,

I used Get catalog variable in my flow and I am able to use variable for if condition.

I am not getting variable in wait for condition dropdown.

lucky24_0-1691140762954.png

 

Hi,

Try below.

1. Create one Flow Variable

Screenshot 2023-08-04 at 3.01.36 PM.png

2. Use Set Variable Logic to set the variable 

Screenshot 2023-08-04 at 3.02.22 PM.png

3. Use 'Do Until ' Loop like below - > do the following until variables->flow Var->date [IS Not] 

Screenshot 2023-08-04 at 3.04.24 PM.png

 

Step 4 and 5 is repeated again to read variable again from database and set flow Variable value from latest read.

 

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande