You need to stamp an attribute on a record that flags whether it is older than 2 years. You can then use that flag in matching if comparing records (e.g. have a NO MATCH rule using an Is Value comparison), or simply to route records down a different path in a process.
The sequence of processors needed looks like:
1. Add Current Date
2. Data Difference, configured to do a difference in whole years
3. Value Check using the result of Date Difference, passing the check if whole years <2 - the output Flag attribute gives you the Y or N.
The online help provides good documentation of each processor. Working out which processors to use for a given scenario is mostly a matter of learning as you go.
Ok, but I have to compare Date field with Today.
Date Diff compares only the same fields my requirement is: Avoid maching with records older than 2 years from now.
I see only one solution, calculating it on siebel site and then just check in EDQ if value is greater than 2.
But I want solution that EDQ can use only date field and Today function, do you know how to do this ?