Validation script (property)
For automation interface information about the Validation Script property (Script through the automation interface), see the automation interface topics for a Variant or Variation Point, and Script in the Related Topics. When you select the Has Script check box, Modeler creates a Script object for the Variant or Variation Point through the Script association.
This property specifies script that can be used to verify a Variant or Variation Point.
A validation script can assess the Status and parameter Values of Variants and Variation Points in the context of the Decision Set that is being edited in the Decision Set Editor or Variant Selector.
For more information about validation script, click
here.
By default, the value of the Validation Script property is set to blank.
You use the Code Editor to edit Validation Script code. The Code Editor language is always Visual Basic when editing Validation Script code, irrespective of the Language that is set for parent Packages and the Model. For information about the Code Editor, including setting the code language to use, click
here.
You can show the validation script of a Variant or Variation Point on a diagram: right-click the Variant or Variation Point, point to Add, and then click Validation Script.
This property is set on the Validation Script tab of a Variant or Variation Point's Property Pages. Note that this property is available only when the Has Script check box is selected.
The following section provides information about the items and diagrams for which Validation Script is a property. For more information about an item or diagram, click it. You can click the Editor button and change the code in the Code Editor window. In addition, you can add model object references to the Validation Script code.
Is property of