Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

Info
titleExample - Using session


Code Block
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.

Info
titleExample - Using instruction


Code Block
input.info = instruction;