Updating Validations

You can add a new validation by adding a new constraint with the new attribute name in the relevant rulebase.

Example

New Attribute to Add

Consider a new mandatory attribute Target Region to be added to 1WorldSync. And presume that TARGET_REGION is the attribute name added to both the 1WorldSync catalog format and TIBCO format.

Files to Add Constraint to

The constraint should be added to both the files listed below, both in the $MQ_COMMON_DIR/standard/rulebase folder.

_1sync_mastercatalog_catalogvalidation.xml _1sync_catalogvalidation.xml

Constraint to Add

<constraint>
      <name>Mandatory validation for TARGET_REGION </name>
      <description>This attribute is mandatory.</description>
      <usefor>
         <var> TARGET_REGION </var>
      </usefor>
      <action>
         <check>
	<explanation>This attribute is mandatory.</explanation>
            <defined>
               <var />
            </defined>
         </check>
      </action>

</constraint>