I'm pretty sure you can use CURRENT DATE-TIME or CURRENT DATE/TIME as properties, so you could write a condition such as:
[CASE_X_DATE] < [CURRENT DATE-TIME]
which would resolve to
12/12/2007 10:11:12 AM < 12/13/2007 11:22:34 AM
But those properties would be date and time. This works great if using ">" or "<" operators, but not very well if you're using an "=" operator, as that evaluation would have to happen at the exact millisecond for the condition to be true.
I don't think you can do apply any functions on conditions, such as:
Format([CASE_X_DATE],'dd/mm/yy') = Format([CURRENT DATE-TIME],'dd/mm/yy')
This would require a change to RuleManager. I could check with our dev team and see what might be involved in making something like that possible.
Are you using the Clarify Rulemanager or the Dovetail RuleManager?
Another thought: Not sure if this is possible for your situation, but what about changing the rule around a bit so that that date is when the action fires, instead of making the date part of the condition? Create a custom rule calendar that is the path to your custom field. Then your rule action would say something like:
start action 0 minutes from Case_x_date using Elapsed Time.
Another thought: Do you care about the time portion of those 2 date columns? If not, set the time to be midnight for each of those columns when you insert/update that data.
Then, your business rule could do an equals comparison:
[CASE_X_DATE1] = [CASE_X_DATE2]
Interesting problem. I'll keep thinking about it and will post here if I come up with any other ideas.
-Gary
---
Gary Sherman
gary@dovetailsoftware.com