"Wait for a duration of time" is not able to select data from "Get Catalog Variables" in flow design

anirban300
Kilo Guru

Hello All,

 

I  have a catalog item in which there is a field called "Deactivation Date". I want to wait in the flow till the deactivation date. For this I have created a "Get Catalog Variables" where it is fetching the date. Now when I am trying to put this field in "Wait for a duration of time" then it is showing greyed out.

 

Can someone suggest me what am I doing wrong?

 

1. Get Catalog Variables

anirban300_1-1683901329255.png

 

2. Wait for a duration of time

anirban300_0-1683901279683.png

 

1 REPLY 1

SebastianB
Tera Guru

Hi,

this is not possible. The wait until is expecting a specific time duration. What you are have on your variable is a date/time. (Your variable: 17.05.2023 10:00:00 // Expected Value: 48 hours). So to reach your goal you need to calculate the time duration until the deactivation is reached and set this result in the wait timer.