---
sourceDocument: Australia Sales and Order Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/order-management

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Sales and Order Management

ft:clusterId :

    - omgmt

bundleId :

    - omgmt

workflow :

    - Customer and Industry


---

# Create a custom validation definition

# Create a custom validation definition {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Provide a script that validates a context rule input or output in the decision table for a pricing or product eligibility matrix.

## Vorbereitungen

Role required: admin

## Prozedur

1. In the CSM Configurable Workspace, select the List ![]() view.
2. Navigate to Context Rule ManagementValidation Definitions.
3. Select New.
4. In the Script field, enter the custom script that defines the error check, warning messages, and error messages for the validation.
5. If the decision condition won't be active by default, select Inactivate decision condition.
6. Enter the Name of the validation definition.
7. Select Save.
8. Associate the custom definition to a rule matrix.
   1. Navigate to Context Rule ManagementMatrix Validations.
   2. Select New.
   3. In the Matrix type field, select the rule matrix to which this custom validation definition applies.
9. Select Save.

