PhixFlow Help

stop



Function: stop()

Will cause the analysis for the Stream Set to stop, producing a warning message in the log trace.

Syntax

stop(message)

ArgumentTypeDescription
messageStringMessage to be output to the log trace. Can be an attribute expression so long as it evaluates to a string.

Examples

ifNull(in.rate,stop("Missing rate value"))

In the above example, if the rate value is not found then there is no point continuing so a warning message is added to the log file and analysis for this stream set stops. No records are written to the database for this stream set.

See Also

Please let us know if we could improve this page feedback@phixflow.com