You are viewing limited content. For full access, please sign in.

Question

Question

Calculate Date Difference

asked on October 14, 2016 Show version history

How do you calculate the difference between 2 dates in Workflow?

 

Thanks

Priya

0 0

Answer

SELECTED ANSWER
replied on October 14, 2016

Hi Priya,

You can use the Token Calculator activity to find the difference between your dates. Create a new token and then use the "DateDiff" formula to return the difference in the format you'd like. Be sure that your dates that you use within the formula are Date tokens as opposed to strings, or else you'll need to use "DateValue" in conjunction.

Hope this helps!

3 0

Replies

replied on October 14, 2016

Thanks.

0 0
replied on December 15, 2016

Hi Priya,

 

Were you able to obtain date difference ? I have a similar requirement where I want to have a timer to the entry and calculate wait time of entry in each folder

Best,

Srikanth

0 0
replied on December 15, 2016

Can you describe your use case in more detail? Activities with wait conditions, like Wait for Entry Change and Route to Folder/Group/User already provide the duration as a token.

0 0
replied on December 15, 2016

Hi Miruna,

 

Thanks for responding . http://answers.laserfiche.com/questions/112419/Document-Wait-Time-Counter#112470 has more details about my use case. Can you please look into that? Also, I will check the tokens of Route to Folder

Our WF Server version is 9.1.1.381

Regards,

Srikanth

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.