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!
Question
Question
Replies
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)
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!