Hi there! Hope that you are doing well Could you ...
# ask-questions
m
Hi there! Hope that you are doing well Could you kindly assist me in understanding the
in the list
logical operator for targeting conditions? I've set up an experiment with the targeting conditions that you can see on a screenshot(ft3_goal = goals) Expected behavior: • Users who have at least one of their goals match a goal in the targeting conditions are eligible for the experiment and fall into the experiment Actual behavior: • Users who have their goals exactly matching the ones in the targeting conditions are eligible for the experiment and fall into the experiment Is that the way this should work? Is there some other way that i can set up an experiment to match the expected behavior? Thank you
f
Are you able to debug this with the devtools?
it should match either
m
let me check with the tech team
Hi there Checked with the tech team on my end. No useful logs can be found, yet the behaviour reproduces on both Stage and Prod environment May that be an issue of the
in the list
operator itself? Is it possible to run a test on your end? Thanks
@fresh-football-47124, hi. Could you please look into the issue when you have time? Thanks
@fresh-football-47124, hi. Could you please assign someone from the team to help me out here?
@fresh-football-47124, hi there. The issue persists here. Please look into it or tell me who can assist me with that? Thanks
f
hi Yurii, sorry for the delay
🙌 1
r
Hey Yurii, again sorry for the delay. Can you confirm some points for me? • Is the attribute
goals
from the user a string (
'goal_career'
) or an array of goals (
['goal_career']
)? • Would you be able the share the experiment payload with us? It would be the object with your experiment id under
features
for the SDK endpoint (https://{host}/api/features/{sdkKey}) Here's an example payload:
Copy code
"feature-with-id-targeting": {
      "defaultValue": false,
      "rules": [
        {
          "id": "fr_fzty71lkjmbprams8",
          "condition": {
            "id": {
              "$in": [
                "id_one",
                "id_two"
              ]
            }
          },
          "coverage": 1,
          "hashAttribute": "id",
          "seed": "30b21de5-7805-45a8-8581-e794eeb8b860",
          "hashVersion": 2,
          "variations": [false, true],
          "weights": [0.5, 0.5],
          "key": "feature-with-id-targeting",
          "meta": [
            {
              "key": "0",
              "name": "Control"
            },
            {
              "key": "1",
              "name": "Variation 1"
            }
          ],
          "phase": "1",
          "name": "experiment-with-id-targeting"
        }
      ]
    },
👀 1
m
Hi there Excuse my late response, i was OOO yesterday @rich-waiter-91074 • The
ft3_goal
attribute is an Array of strings. Please see the screenshot • Checking on that if i can provide that with the team. Will be back
While i am checking with the team regarding the payload, maybe we could have shared info about our account with you and you can see the API requests on your end?
While we were checking with the dev team, we probably have found a causal issue on our end. Let me check that on our side and get back to you Thanks