Developing Apama Applications > Developing Apama Applications in EPL > Defining What Happens When Matching Events Are Found > Defining actions
Defining actions
Actions are similar to procedures.
A monitor can define any number of actions. Finding an event, or pattern of events, of interest can trigger an action.
A query can define any number of actions. If defined, actions must be after the find statement. Expressions in the find pattern or find block can invoke the actions defined in that query.
You can also trigger an action by invoking it from inside another action. You can also declare an action as part of an event type definition, and then call that action on an instance of that event.
Copyright © 2013-2015 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.