Conditional converter
Verify if the source variable value is
True
or False
.Properties
Property | Description |
---|---|
True value | The value of the expression that is True . |
False value | The value of the expression that is False . |
Mode | The direction of the dynamic link:
|
Source
The condition variable (Boolean).
Output
A
True
or False
value.Example
In the following example, the conditional converter:
- Sets the text color of a label to green if a switch is selected.
- Sets the text color of a label to red if a switch is cleared.
![](/content/dam/dita/en/factorytalk-optix/current/_images/converter_conditional.png/_jcr_content/renditions/original)
Provide Feedback