Visibility Expression Editor

The Visibility Expression Editor allows for the configuration of logical expressions within Workflows.

The Visibility Expression Editor contains the below panes to configure your logical expression.

Element Visibility

Each element added to an asset type can be set to visible/invisible based on a set of conditions.

Note: All elements are visible by default, until the visibility is defined. Therefore, if the visibility expression is left blank, treat that element as visible. Additionally, if an element's visibility expression does not equate to either True or False, it will be placed in a Fault state.
Object Property Name Property Description
Current Asset Item ID The ID of this asset.
Caption The caption text defined for this asset.
In Current Posting Whether the asset is in the currently active alarm posting.
Is Selected Whether this asset is selected in Runtime.
Logging Description The logging description text configured for this asset.
Status Word Value The property returns the 16 bit unsigned integer for the status tag.
Note: When the Status Word Value is null for a PLC Devices asset and the visibility expression for an element is empty, this will cause the visibility to default to False.
Is Masked If the asset has been masked over its true state.
Is No Communication Whether the asset has lost communication or the communication configuration is invalid. Special cases include:
  • Elements whose visibility expressions contain either Status Word Value or a Status Bit, but do not include Is No Communication, will not be evaluated and will be automatically hidden.
  • Elements whose visibility expressions contain Is No Communication will be evaluated normally. Status Bits will be treated as off.
  • Elements whose visibility expressions contain neither Is No Communication nor Status Word Value nor Status Bits will be evaluated normally.
Current Asset > Status Word Bit 0-15 The true/false value for each bit in the current status of the status tag for this asset.
Current Asset > Custom Attributes Custom Attribute A custom attribute which was defined for the asset type in the integrated system settings.
Current Asset > Custom Properties UserProperty1-9 The custom properties as defined within the asset properties.

Operations

AND Items on both sides of this operator must evaluate to true for this to evaluate to true. Otherwise, false.
OR One of the items on either side of this operator must evaluate to true for this to evaluate to true. Otherwise, false.
NOT The item after this evaluates to its opposite. True becomes false, and vice versa.
< Less than.
> Greater than.
( Opening parentheses. Used to separate parts of the expression.
) Closing parentheses. Used to separate parts of the expression.
+ Add two values together.
- Subtract one value from another.
<= Less than or equal to.
>= Greater than or equal to.
<> Not equal.
= Equal.
* Multiply two values.
/ Divide the left value by the right value.

Functions

Contains Check if a value contains a specific sequence of characters.
Note: For an example of how to use this function, refer to step 3 and the subsequent steps in the Contains Function guide.

Constants

Constants are static values that are set in the expression.

String A text value.
Integer A numerical value with no decimals.
Time A time in the HH:MM:SS format.
Date A date in the YYYY-MM-DD format.