Flow Designer - "Wait for a duration of time" - does it work if variables have updated since original "Get Catalog Variables" lookup??

catherine_s
Tera Contributor

Hi, 

We have a Catalog Item where there will be a variable for "due date" that triggers a new task. We are using Flow Designer.

In this business scenario, there is a valid case where the due date could be changed. I was originally planning to use "wait for duration of time" and set it relative to the Due Date variable.  Does "wait for a duration of time" check the current value of the variable or does it take the original value from when we did the "Get Catalog Variables" lookup?

I was thinking another option may be to do a daily check to see if the due date has changed but this seems like a lot of unnecessary overhead, but it might be necessary if the flow uses the original due date value on the "wait for duration of time".

Thanks for your advice or ideas on this,

Catherine

 

 

 

11 REPLIES 11

Catherine,

Thanks for letting me know, just glad you got this resolved and working.

Kind regards

Steve

servicedew
Tera Contributor

In my opinion, flow designer is really a mess and waste of our time. When we have fully functional Workflow editor.

It's a total joke.

elaine10
Tera Guru

I have tried using this "Wait for a duration of time" using a variable and it doesn't update to use the new value when it is updated while the flow is running. Unfortunately, I found this out after building the whole thing and getting close to the max number of lines in the flow. If anyone figures out a good workaround I would be very interested to know what it is!

mukesh__kumar
Tera Contributor

I too have same issue.

We have one requirement where "end date" on the variable can be changed after the RITM creation.

And, based on "end date", a catalog task should be created. System will wait for one day before the "end date" and then create a catalog task.

But, right now if we change the "end date", system is still keeping the original "end date" .

 

Does anyone have solution to this, if we can somehow modify the date in the duration flow logic dynamically?