Rules

Rules utilize user attributes and are defined using operators: (), ==, !=, IN, NOT IN, NOT, AND, OR

Here are some examples of rules to get you started!

Copy
Copied
1. (user.first_name == "John") AND (user.role != "Software Engineer")
2. user.department IN ["Engineering", "Product", "Software"]
3. ( user.custom_data.is_fte OR
        (
            user.custom_data.type == "CONTINGENT" AND
            user.custom_data.country_code == "US" AND
            user.department == "Technology"
        )
    )