getExpressionText()

Overview

public string function getExpressionText(
      required string expressionId
    ,          string context      = ""
    ,          string objectName   = ""
)

Returns a translated expression text for the given expression ID. Expression text is the text with placeholders that the administrator will see when building a condition. e.g.

User {_is} logged in

Arguments

NameTypeRequiredDescription
expressionIdstringYesID of the expression, e.g. "loggedIn.global"
contextstringNo (default="")Optional context in which the expression is being used
objectNamestringNo (default="")Optional object name for which a filter is being applied that uses this expression