Flow design
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2023 04:44 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2023 04:50 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2023 04:57 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2023 05:12 AM
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).
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2023 05:19 AM
Task will be created exactly 45 days prior to that date time field value.