Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »



Function: warning()

Adds a warning message into the log and displays the message to the user. This function is often used when creating a model and trying to work out why an Expression is not behaving as expected.

The Detail field of the log message will contain a list of the current values of any Attributes, Pipes and $-Variables which are relevant in the context of the Expression.


Syntax

warning(message)

ArgumentTypeDescription
messageStringA message to appear in the log. Note that this could be an Expression.

Examples

ifNull (in.rate, warning("Missing rate") )

This example adds a message to the logĀ if no rate is found.

See Also

  • No labels