Flow design

abhisek
Tera Contributor

I am working on a flow design and creating a catalog task in the flow design itself.

There is a date time field (for example 'X') on the catalog item.

Requirement is that task what I am creating on the flow design itself should be triggered before 45 days of that date time field's (X) value.

If that date time field value is 1st of December, then that task will be created on 16th October.

I am not able to achieve it through flow design. Could you please help me out as it is so urgent.

 

Thanks&Regards,

Abhisek Chattaraj.

4 REPLIES 4

OlaN
Giga Sage
Giga Sage

Hi,

If you have stored how long the wait should be (in a duration field), then you can use the "Wait for a duration of time" Flow logic, to create a Task after the duration has passed.

Does this help?

abhisek
Tera Contributor

Hi @OlaN ,

In the wait for duration I tried to set it by 45 days before of that date time field value but it did not work.

It was picking up all the dates before 45  days before of that date time field and task was getting created.

Which is wrong. Task should be created exactly 45 days before of that date time field value.

 

Thanks&Regards,

Abhisek Chattaraj.

There is no option to set the Wait for a duration to relative time.

Either you set it to a specific value (image below) (i.e wait for 5 hours, 3 minutes and 30 seconds) -> then move on.

Or you define the wait as a dynamic duration (which requires a Duration field).

 

wait-for-a-duration-of-time.png

One question though, what should happen if the entered date is only 30 days in the future, should there never be a task created then?

abhisek
Tera Contributor

Task will be created exactly 45 days prior to that date time field value.