The advanced view allows you to create more complicated rules, with or
logical operator and nested operations.
The advanced view uses a text editor to create code-like queries.
A single rule looks like this:
user.firstname.in(“John”) where:
-
user is an object you refer to
-
firstname is it’s property (a placeholder for user profile fields)
-
in is operator you want to apply to the property
-
(“John”) is a list of values you want to check object property against
So, the general syntax rule is object.property.operator(values)
When you want to combine rules, add &&
(for and) or ||
(for or) between the rules. Examples:
-
user.firstname.in(“John”)
&&
user.lastname.in(“Doe”) applies to all users who are named John Doe -
user.firstname.in(“John”)
||
user.lastname.in(“Doe”) applies to all Johns and all Does
In advanced view you can also nest rules to build more advanced rules. Examples:
-
user.firstname.in(“John”)
||
user.lastname.in(“Doe”) )&&
user.department.in(“Sales”) applies to all Johns and all Does who are members of the Sales department
Please note: If your advanced rules use syntax not supported by the Basic View, you won’t be able to go back to the Basic View.
Comments
0 comments
Please sign in to leave a comment.