How to validate a date in the advanced action rule in commerce validation rule
Summary:
I am trying to validate a date value (derived using BML), and would like to allow only certain values to be updated on the line-level attribute. I have created a line-level validation rule, which derives the date and creates the data dictionary for the validation message, as expected. However, during run time, I see the following error in the error logs: "Invalid action attribute details for date attribute, Cancellation Date: Allow is not supported by date attribute"
Here, the Cancellation date is the value that I am looking to validate/constrain. Please let me know if you have encountered a similar situation and how to best resolve/work around this.
Tagged:
0