You can create rules with conditions that trigger actions based on the user roles you created in your app. For example, You could create a rule that would only allow users in a manager role to see and edit fields in the purchase order section of your form. You would need to create a user role condition that triggers an action to show the purchase order section when the user is in a manager role. You could also add an action that makes the fields in the purchase order section editable.
User role condition operators
Each user role condition is paired with an operator that tells the rule how to evaluate the user role. For example your condition might read, if the user is in the role
manager. Operators for user role conditions are as follows:
User role condition operator | Description |
Is in the role | The user’s role must match the role specified to be true. |
Is not equal to | The user’s role must be any other role except the role specified to be true |
Building user role conditions
Example: If you wanted to display salary information to managers in your employee record app, you could use the user role condition and an is in the role
operator to show the fields to the correct users.
You would select:
When
a user is in the manager role
Then
show salary fields