ERROR 000358: Invalid expression
Failed to execute (AddAttributeRule).
The return of the expression is a date variable. The rule applies successfully to a text field and triggers and functions as expected. The expression itself validates successfully within the add attribute rule tool. The error only appears after attempting to run the tool against a date field.
Here is a simplified expression:
- var inputdate = date(2000,01,01)
- return inputdate
Attempting to apply this as an attribute rule to a date field will render the error mentioned above. Any ideas on how I could apply a like expression to a date field?