Timer event - duration = difference between a variable date and today

229 views
Skip to first unread message

con...@trustinvest.fr

unread,
Jul 9, 2015, 11:01:07 AM7/9/15
to suppor...@runmyprocess.com
Hi all,
I would like to parameter a timer intermediate event with a condition egal to the difference between my variable ${date} and today's date (today() ?)
How can i do this ?
Regards

Sweta Suman

unread,
Jul 10, 2015, 3:44:31 AM7/10/15
to suppor...@runmyprocess.com
Hi,

My understanding is that you want to trigger intermediate timer event based on calculation of difference between my variable ${date} and today's date. If that is the scenario then you can set calculated dynamic duration (in minutes) in a variable. Pass that variable(e.g. ${duration})in formula section of Intermediary event.

e.g ${(((due_date?number) - timestamp("SECOND")?number)/60)?string("0")?number}

where due date is numeric data variable coming from WI.
      ${timestamp(unit} is a freemarker script to get a timestamp.

Refer below tutorials for more info -



Hope this helps you.


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/c5b40cad-e7b1-44e1-8872-1338d792dab3%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.



--
Thanks,
Sweta 
Fujitsu RunMyProcess Support
Reply all
Reply to author
Forward
0 new messages