Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Execute Timer based on difference of two dates in Flow Designer

Anubhav24
Mega Sage

Hi All,

 

I have a form for a catalog item which has two dates start and end , and based on the difference of these two dates I need to execute a timer in flow designer.

Where do I need to calculate the difference of these two dates like where will I write the script and then how to run a timer ?

 

Thanks in advance.

6 REPLIES 6

Let me try this , I will update this thread

YogB
Tera Expert

Hi you can create a flow variable from the top right of the type integer. The you can use flow logics to set the variable value. You can script here as well. 

YogB_0-1727265426159.pngYogB_1-1727265462355.png

YogB_2-1727265522431.png

 

Here you can execute a server script. You can use the variable again in the flow wherever required.

 

Mark as helpful if this works