Skip to main content
Nintex Community Menu Bar

Can you use the inline function DateDiffDays to determine the difference between item properties?

  • April 7, 2016
  • 1 reply
  • 7 views

Forum|alt.badge.img+5

Hello - I'm back!!!!

After searching I could not find an answer.    I have a workflow which has the item properties start date and end date. I need to send a notification to management if there is 30 or more days between the dates.  I have tried Set a Condition and Run If,  I can't seem to get those two work.  I have not worked with inline functions before but willing to give it a try.

Can I use item properties with the inline function or do I have to create variables?

Thanks - Suzanne

1 reply

Forum|alt.badge.img+16

Hi

You can use the build string action and the function datediffdays to calculate what you want into a variable, and then use that variable value in your set a condition/run if actions.  (You may need to convert the value to a number before you do that though).

DateDiff.PNG