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

Question

Question

What is variable for system date for use in Forms?

asked on November 3, 2016

I have an expression I'm using in an Exclusive Gateway to evaluate the monitoring end date against the current date.  At the risk of sounding dense, I'm drawing a blank for the correct variable to use for system date! 

11-3-16 monitor gtwy.PNG
0 0

Replies

replied on November 3, 2016 Show version history

Hello,

First of all, I'm sorry if I incorrectly understand your question. Please correct my understanding if my answer doesn't answer your question.

You can add a date field into a form, and set the default value of the date field as 'Current Date'. This new date field will have a value of current date. And then in your 'Exclusive Gateway expression', you can use it as 'current date variable'. Expression can be like "/dataset/Monitoring_End_Date=/dataset/Current_Date". (In this expression, 'Current_Date' is the name of date variable which has 'Current Date' as its default value)

0 0
replied on November 4, 2016

You have correctly identified my question and provided an answer that is very helpful.  I will have to test this out.  I was able to get this functionality to work (for the most part) using a Timer Catch Event instead of the gateway, but would prefer using the gateway to evaluate the date.  Many thanks!

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

Sign in to reply to this post.