Show TOC

Conditional Action for a Characteristic (Example)Locate this document in the navigation structure

You can use an action for a characteristic in order to set the value "leather" for the characteristic "Saddle" when the model trekking bike or mountain bike is chosen. To do this, maintain an action for the characteristic Model .

  1. On the Class screen choose the tab page Document . Mark the characteristic Model and call the function Start of the navigation path Characteristic Next navigation step Change Next navigation step . End of the navigation path

  2. On the basic data tab page, choose Start of the navigation path Extras Next navigation step Object dependencies Next navigation step Editor. End of the navigation path

  3. You see the dialog box for selecting the dependency type. Select Action as type of object dependency .

  4. Enter the following source code for your dependency:

  5. $SELF.Saddle EQ 'Leather' if Model in ('Tr', 'Mo')

  6. Save your dependency and save the characteristic.

If the model of bicycle is trekking or mountain bike, the value 'Leather' is selected for characteristic Saddle.