You are here: Reference > Rule types > Event Strategy > Adding local variables in event strategies

Adding local variables in event strategies

Variables are containers that hold information. Use them to label and store data that will come in the data stream under different properties. You can create variables by calculating the sum, difference, product, or quotient of two numeric properties. You can also create a variable by concatenating two strings.

  1. In an event strategy rule, access the Properties panel of a Filter shape by double-clicking the shape.
  2. Click Add variable.
  3. In the field on the left, specify a name for the variable that you want to create.
  4. In the next field, specify the first data flow property that you want to use to create the variable.
  5. From the drop-down list, select the operation that you want to perform on the two properties.
  6. In the field on the right, specify the second data flow property that you want to use to create the variable.
  7. Optional: Repeat steps 1 through 6 add another variable.
  8. Click Submit.