Create a custom validation definition
Provide a script that validates a context rule input or output in the decision table for a pricing or product eligibility matrix.
Before you begin
Role required: admin
Procedure
-
In the CSM Configurable Workspace, select the List
view.
- Navigate to .
- Select New.
- In the Script field, enter the custom script that defines the error check, warning messages, and error messages for the validation.
- If the decision condition won’t be active by default, select Inactivate decision condition.
- Enter the Name of the validation definition.
- Select Save.
-
Associate the custom definition to a rule matrix.
- Navigate to .
- Select New.
- In the Matrix type field, select the rule matrix to which this custom validation definition applies.
- Select Save.