Trigger Event: "While an expression ... evaluates true in..."
-
Any ideas how to get this trigger to work? It is supposed to limit triggers to matters in which the priority date is more than 500 days ago, but does not seem to do the job. Couldn't find a good description of expressions that can be used in triggers anywhere.
-
Turns out the expression also requires curly brackets...
AND while the expression 'x<#{General.Now(-500d)}# using the 'PriorityDate' field in the matter is true.
-
I don't know, but I'm going to take a guess.
"While an expression using the value in a field in the matter is true" makes me think that the trigger only occurs if the selected Field is in the expression. The Field PriorityDate is not in the expression "<DateTime.Now.AddDays(-500)".
I see an AppColl Support page here.
https://support.appcoll.com/tasks/create-task-types-that-are-date-dependentIn their example TaskTypes, they use a letter x in a place where I would expect the selected Field value to appear.
So, perhaps your expression would work if you add an x before your '<' such as this.
"x<DateTime.Now.AddDays(-500)".