Close popover

Table of Contents

Adding local variables in event strategies

Version:

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.

  • Event Strategy rule form - Completing the Event Strategy tab

    You use the Event Strategy tab to design and configure your event strategy components. A new instance of the Event strategy rule contains two shapes: Real-time data and Emit. You can add shapes by clicking the add icon that is available when you focus on a shape. To edit a shape, open the properties dialog box of a shape (by double-clicking the shape or by right-clicking and selecting the Properties option). The properties dialog box contains elements that are specific to a given shape.

  • About Event strategy rule

    Event strategies provide the mechanism to simplify the complex event processing operations. You specify patterns of events, query for them across a data stream, and react to the emerging patterns. The sequencing in event strategies is established through a set of instructions and execution points from real-time data to the final emit instruction. Between real-time data and emit, you can apply filter, window, aggregate, and static data instructions.

  • Event Strategy rule - Completing the Create, Save As, or Specialization form

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.