Aggregation Variables(3.0)

The following built-in variables are specific to the Aggregation agent.

VariableDescription

session - Batch and Real-Time

A reference to the current session to be used to access variables defined in the Association tab. A session will remain in the database until manually removed. A route to ECS or an alternative route will not remove it.

The variable is available in the consume, sessionInit and timeout function blocks.

Example - Using session

session.duration = input.duration + session.duration;

instruction - Real-Time Only

An optionally inserted string, belonging to the currently flushed session.

The variable is available in the command function block only.

Example - Using instruction

input.info = instruction;

The following built-in variables are specific to the Aggregation agent.

VariableDescription

session - Batch and Real-Time

A reference to the current session to be used to access variables defined in the Association tab. A session will remain in the database until manually removed. A route to ECS or an alternative route will not remove it.

The variable is available in the consume, sessionInit and timeout function blocks.

Example - Using session

session.duration = input.duration + session.duration;

instruction - Real-Time Only

An optionally inserted string, belonging to the currently flushed session.

The variable is available in the command function block only.

Example - Using instruction

input.info = instruction;