Context Switch Keywords
By using Context Switch keywords, you are telling the expression engine to reference a different context. Context Switch keywords MUST always be used at the beginning of an expression operand. Supported Context Switch keyword are:
{PreviousCase}
Supported in Studio expressions only. The {PreviousCase} keyword switches the context to the parent element. The parent element is a virtual entity maintained by Studio while enumerating connection.
Example
{PreviousCase}:Density
The expression engine will use the [Density] attribute value from the previous case, rather than the current one.
{PreviousCase}:Density
The expression engine will use the [Density] attribute value from the previous case rather than the current one.
{PreviousElement}
Supported in Studio expressions only. The {PreviousElement} keyword switches the context to the parent element. The parent element is a virtual entity maintained by Studio, while enumerating connections.
{PreviousElement}:Density
The expression engine will use the [Density ]attribute value of the previous element, i.e. the parent element of the current one.
{TopElement}
Supported in Studio expressions only. The {TopElement} keyword switches the context to the main element of the analytic.
{TopElement}:Density
The expression engine will use the [Density ]attribute value of the main element, i.e. the initial element of the analytic.
{AttachedElement}
Supported in Studio expressions only. The {AttachedElement} keyword switches the context to the attached element; it only works for meters and flows.
{AttachedElement}:Density
The expression engine will use the [Density] attribute value of the attached element, i.e. the element attached to the current one.