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.employment_info.role != "Software Engineer")
2. user.employment_info.department IN ["Engineering", "Product", "Software"]
3. ( user.custom_attributes.is_fte OR 
        (
            user.custom_attributes.type == "CONTINGENT" AND 
            user.custom_attributes.country_code == "US" AND
            user.department == "Technology"
        )
    )