Flow Design

abhisek
Tera Contributor

Hi @Ankur Bawiskar ,

 

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.

13 REPLIES 13

Uncle Rob
Kilo Patron

What have you tried?

Sruthi17
Kilo Sage

Hi,

You can use some logic like below.

You need to use the action "Wait for a duration of time" under flow logic and change the duration type to relative duration.

Sruthi17_0-1695613110113.png

So here I have used 1 sec after the start date. similarly you can update your conditions. I would say before step 2 use a flow variable to calculate the date (45 days before the date) lets call it as Z and then use the same condition like I have updated, 1 sec after the Z( which will have the 45 days before date)


Please accept solution or helpful, if you find it helpful.


Hi @Sruthi17 

Thanks for your suggestion.

Could you please let me know how can I store the date difference of 45 days in Z variable?

 

Thanks&Regards,

Abhisek Chattaraj.

Ankur Bawiskar
Tera Patron
Tera Patron

@abhisek  

Unless you shared what you tried we won't be able to help.

You can use Wait for duration activity.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader