Creating global aggregate definition files
You create global aggregate definition (.agg) files to contain the definitions of the global aggregates that you want to use in your rules.
About this task
You must create a separate .agg file for each global aggregate that you want to use in your solution.
Procedure
- Click , and then click Next.
- Specify a BOM project and a file name, and click Finish.
Results
The aggregate file is created in the aggregates folder of the BOM project. The name of the variable is, by default, the same as the .agg file.
The .agg file
by default has the following definition:
define '<same_name_as_file>' as <expr>
What to do next
Define a global event aggregate or a global entity aggregate.