Skip to main content

Specifying Validation Rules for Transformations

This page describes the top-level transformationValidationRulesMapping object of a template, which lists the validation rules to use for each transformation rule.

Template Syntax

The following template fragment shows where to list the validation rules for a transformation rule:

    "transformationValidationRulesMapping": [
        {
            "transformationRuleName": "Move Inventory",
            "validationRuleNames": [
                "Warehouse safety stock check"
            ]
        },
        {
            "transformationRuleName": "Order Product",
            "validationRuleNames": [
                "Supplier Check"
            ]
        }
    ]

Formally:

  • The transformationValidationRulesMapping object is a top-level property of the template. This object is an array of objects, each of which associates one transformation rule with one or more validation rules.

  • In this array, each object has the following properties:

    • transformationRuleName—Matches the name of a transformation rule within the same template.

    • validationRuleName—Contains an array of one or more names, each of which matches a validation rule within the same template.

Checklist

FeedbackOpens in a new tab