Using expressions as values

You can set an expression to be the default value of an attribute for an element.

About this task

To use an expression as the default value of an attribute:

Procedure

  1. On the navigation bar, click Configure > Attributes.
  2. Select a module.
  3. Select an existing attribute by clicking its link, or add a new attribute by clicking Add Attribute.
  4. In the Default value field, type =. The Evaluate Expression, Help, List Business Rules options are displayed.
  5. To evaluate the expression before you save it, click Evaluate. A window with the result of your expression is displayed.
  6. Click OK.
    Note: The attribute value of all new elements will be an expression. You can edit the expressions in the attributes lists of the element. You can also enter a new expression, and enter a 'normal' attribute value.

Feedback