First what might happen is you are creating an on update trigger. You select a date field and select the relate checkbox.
You might be able to click okay, but later down the road when you save you might get this token error.
If this is happening to you, specify the expression that you want, except do not use "relative." For now, insert a static date. Save the management pack and open the xml. Go find your expression. You can see mine below.
<Expression> <SimpleExpression> <ValueExpression> <Property State="Post">$Context/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/ScheduledStartDate$</Property> </ValueExpression> <Operator>LessEqual</Operator> <ValueExpression> <Value>2011-09-25T05:00:00</Value> </ValueExpression> </SimpleExpression> </Expression>
Replace <Value>2011-09-25T05:00:00</Value> with <Token>[now]</Token>
That's it.
No comments:
Post a Comment