Variability Modeling > Modeling variability in a model > Variability parameters > Creating a parameter for a requires dependency
Creating a parameter for a requires dependency
When you create a parameter for a Requires Dependency that parameter is used to set the parameter value of a target Variant when the Requires Dependency is used.
The parameter cannot be set through the Decision Set Editor or Variant Selector, therefore the Parameter must have a default value or derived value.
* 
The source Variant must not have a parameter defined.
To create a parameter for a requires dependency:
1. Open the Property Pages of the Requires Dependency for which you want to create a parameter.
2. On the Variability Options tab, ensure that the Propagate Parameter Value check box is cleared.
3. Click the Parameter tab.
4. Select the Has Parameter check box.
5. In the Type list, select the type of the parameter.
6. If you want to specify the parameter value through a default value:
a. Select the Has Default check box.
b. In the Default box, type the default value.
If you want to specify the parameter value through a derivation script:
a. Select the Derived check box.
b. On the Derivation Script tab, type the script that is used to derive the value of the parameter. For an overview of derivation scripts for variability parameters, see Script functions, attributes and objects - derivation scripts for variability parameters.
Was this helpful?