question about the advanced mode + using growthboo...
# ask-questions
a
question about the advanced mode + using growthbook to target specific groups — we had the following as Targeting conditions
Copy code
{
  "PATIENT_ID": 1111,
  "$or": [
    {
      "PATIENT_PLATFORM": {
        "$inGroup": "web_group"
      }
    },
    {
      "PATIENT_APP_VERSION": {
        "$vgte": "230.0.0"
      }
    }
  ]
}
is this correct for the logic of:
"if patient ID is 1111 AND (patient platform is web OR mobile version ≥ 230), turn on the feature"
or is this different logic? based on what we’ve seen we think it might be
"if patient ID is 1111 OR patient platform is web OR native ≥ 230)"
h
I believe the top snippet is
Copy code
if (
  PATIENT_ID == 1111
  AND (
    PATIENT_PLATFORM is in "web_group"
    OR PATIENT_APP_VERSION > "230.0.0"
  )
)
You can test your targeting rules by using the "Test Feature Rules" module on the feature page: https://docs.growthbook.io/features/rules#testing-rules
👀 1
a
Okay thanks for taking a look!