AnsweredAssumed Answered

DateDiffDays failing in workflow

Question asked by jjczopek on Jul 6, 2015
Latest reply on Sep 19, 2016 by jackgelo

I have a very simple workflow, which primarily need to calculate difference between two dates. I have two variables with the dates that I'd like to calculate against, and I'm logging their values:

 

1.png

I have "Build String" action, where I try to do the actual calculation:

 

2.png

Unfortunately, instead of returning the number of days between two dates, t_datesDiff is containing the string with the function definition and parameters:

3.png

4.png

What is the issue here and how it can be resolved?

Outcomes