Expressions

The Expression Engine settings control JavaScript evaluation behavior, including imports, eval() usage, timeouts, and environment variable access.

Expression Engine Settings

SettingJSON PropertyDescription
Allow Expression Importssettings.expressionEngine.allowExpressionImportsSpecifies if the hub will allow the use of 3^rd^-party JavaScript imports in instance, condition, or trigger expressions.

See Expressions for more details.
Allow eval()settings.expressionEngine.allowExpressionEvalSpecifies whether or not the use of eval() is allowed during javascript evaluation. This setting applies to all expression fields and imported libraries
Allow Environment Referencessettings.expressionEngine.allowEnvironmentVariablesSpecifies if the hub can resolve environment variable references. If disabled {{System.Environment}} references will not be resolved and will not be available from the reference panel.
The default setting is False.

See Environment Variables for more information.
Expression Engine Timeout (seconds)settings.expressionEngine.expressionEngineTimeoutSecondsSpecifies the maximum amount of time an expression can take to compute a result. The valid range is 1-30 seconds. If this setting is not specified, a value of 10 seconds is used. If this setting is out-of-range, the setting will be set to the closest acceptable value.
Hub Binding Namesettings.expressionEngine.hubBindingNameSpecifies the name of the internal JavaScript object used in the expression engine to provide access to metadata like Quality. This only needs to be changed if importing a JS library that may have a naming conflict, which should be rare.