Creating a parameter for a variant
1. Open the Property Pages of the Variant for which you want to create a parameter.
2. Click the Parameter tab.
3. Select the Has Parameter check box.
4. In the Type list, select the type of the parameter.
If you select enum as the type, click the Enumeration tab and create the required enumeration literals.
If you select long or short as the type, specify the minimum and maximum permitted values in the Range Min and Range Max boxes.
If you select string as the type:
◦ specify the maximum permitted length of the string by selecting the Has Maximum Length check box and then specifying the maximum permitted length in the Max box.
◦ specify that multiline text is permitted by selecting the Multiline Text check box.
5. If you want the parameter value to be editable so that it can be set through the Decision Set Editor or Variant Selector, ensure that the Editable check box is selected.
6. If you want to specify a default value for the parameter.
a. Select the Has Default check box.
b. In the Default box, type the default value.
7. If you want the value of the parameter to be derived through a script:
a. Select the Derived check box.
c. If you want the derived value to be read-only, clear the Editable check box.
8. If you want the value of the parameter to be validated through a script:
a. On the Validation Script tab, Select the Has Script check box.