Hey,
for my model i used the command “DifferenceInYears” and "DifferenceInMonths. the integer Number of this comand is shown in the field “YearFromDate” or “MonthFromDate”. After that i have to use that integer to computate something for another field (see picture below). The SME won´t accept the Use of “YearFromDate” or “MonthFromDate” as you can see in the picture. Is there any solution to that problem or is there anything specificialy that i am doing wrong ?
Thanks for your help 
Hej Sarah,
it is not allowed to name a field like an operator in the validation language. Unfortunately, there is no check right now in the Document Model Editor to prevent this. I created a bug ticket for this issue: <INTERNAL_LINK>
In your case, it should be sufficient to rename the field “YearFromDate”, then the rule should be valid.
What I wrote before is actually not true: It is indeed allowed to name fields like an operator in the validation language. If those fields shall be referenced in a rule, they need to be surrounded by apostrophes. It can be found in the validation language documentation here, under point 6: GetA12 Login