The following functions can be used to determine the state of a flow. Intermediate flows may not have data in all metadata fields. Intermediate flow reports are triggered on a configurable time—the default is 5 minutes. This gives you the chance to analyze what is available in a long-running flow before the flow ends. This is particularly useful for long-running sessions that may stretch across hours or days.
--- Returns true if the flow message is an intermediate report on a long running session.
--- Returns true if the flow message is the final flow message on a long running session.
--- Returns true if the flow message is the only flow message on a short session.
--- A short session is a flow for which no intermediate flow reports have been made.