Page Condition Syntax for ui.json

You can make a page’s appearance conditional on the value of a variable. For example, if the user answers “No” when asked if there is a Products dimension, you can use a conditional to ensure that no Products-related page displays in the wizard. Adding page conditions enables wizard page flow. If the condition is met, then the page with the condition will display; if the condition is not met, the page will not display. Use the following syntax to instruct which conditionals control the display of pages.

Variable TypeSupported OperationsExample
StringType==, !={{Variables.x == 'Yes'}}
BooleanType==, !={{Variables.x == true}}
NumberType==, !=, <, <=, >, >={{Variables.x == 5}}
SobjectType==, !={{Variables.x.sobjectName == 'x'}}
SobjectFieldType==, !={{Variables.x.fieldName == 'x'}}
ArrayType –> StringTypecontains{{Variables.x contains 'x'123}}`
ArrayType –> NumberTypecontains{{Variables.x contains 5}}