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
Name | Type | Required | Description |
---|---|---|---|
expressionId | string | Yes | ID of the expression, e.g. "loggedIn.global" |
context | string | No (default="") | Optional context in which the expression is being used |
objectName | string | No (default="") | Optional object name for which a filter is being applied that uses this expression |