You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to validate a date in the advanced action rule in commerce validation rule

Accepted answer
71
Views
3
Comments

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!