aloof-greece-14875
01/31/2024, 5:54 PM{
"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)"
happy-autumn-40938
02/01/2024, 4:38 AMif (
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-rulesaloof-greece-14875
02/01/2024, 2:16 PM