Apama Documentation : Developing Apama Applications : Developing Apama Applications in EPL : Defining What Happens When Matching Events Are Found : Using variables
Using variables
 
Using global variables
Using local variables
Using variables in listener actions
Specifying named constant values
EPL supports the use of variables in monitors. Depending on where in the monitor you declare a variable, that variable is global or local:
*Global. Variables declared in monitors and not inside actions or events are global variables. Global variables are in monitor scope.
*Local. Variables declared inside actions are local variables. Local variables are in action scope.
A variable can be of any of the primitive or reference types that are described under Types in the EPL Reference.
Information about variables is presented in the topics below.
See also Using action type variables.
Copyright © 2013-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback