Data Management Capabilities > Managing Part Structures > Windchill Options and Variants Capabilities > Developing Advanced Selection Logic for Configurable Modules > Basic Steps for Defining Advanced Selection > Linking Advanced Logic Parameters with Options
Linking Advanced Logic Parameters with Options
In order to create some advanced expressions, you can share the value of a selected option during the Configure process with the advanced selection logic. To link a parameter to an option, you need to add an expression to the advanced selection logic defined for this configurable module. The expression must have the following syntax:
<parameter_name>– the name of the parameter that you want to link.
optionSet– this string needs to be entered exactly as given here, following the same capitalization.
<option_name>—the option to which you want to link the parameter.
For example, you may want to link a parameter VoltageSetting to an option Voltage. When a user selects choices for the option Voltage in the Set Filter step of the Configure process, the selected choices are passed to the parameter VoltageSetting as a list of allowed values.
To add a link between the VoltageSetting parameter and the Voltage option:
1. Open a configurable module in the Product Structure Explorer.
2. Go to the Constraints tab and create a constraint for the VoltageSetting parameter, selecting Expression as the type. Enter the name for the constraint.
3. Enter the following expression and click Apply:
4. Save your changes.
5. When this configurable module is evaluated in the Configure process, the selected choices of the Voltage option are shared with the VoltageSetting parameter. In addition, optionSet.Voltage may be used in other advanced logic expressions.