Configure an Expression activity

Configure the Expression activity to define a rule for performing operations on data.

  1. Add an activity to the map.

    By default, the Configuration tab is open in the properties panel of the activity.

  2. Change the default Name of the activity to something meaningful.
  3. On the Type list, select Common > Expression .
  4. Click .
    The Expression dialog box is displayed.
  5. On the Target variable list, select a variable (process/server). The value resulting from the rule is held in this target variable.
  6. Optional. Enter a Description for the expression node.
  7. Right-click on the rule editor to define the rule and enter an Expression using variables and/or Math, Text and Date functions as needed. Add as many expressions as needed.

    You can reuse the expression by copying and pasting it in another expression activity.

    Note Be careful in using literal values in your expression. If a literal value includes a decimal point such as 123.45, the data type is double. If you try to assign this literal value to a variable defined as a decimal or in a calculation that expects a decimal, the compilation fails. Therefore if you wish to use decimal values in your expression, you should create a variable of type Decimal and store the literal value in the variable.
  8. Click Validate.
  9. Click Add.
  10. Save the process map.
  11. Configure other properties for this activity. See Activity properties.