https://www.growthbook.io/ logo
m

many-london-62262

09/12/2023, 9:26 AM
Hi! I am struggling with the different experiment value between the Chrome devtool and code. In the console value is 'B', but 'A' is correct value according to chrome devtool. All I know is that the devtool using
run
method and I'm using
getFeatureValue()
Where should I look and how can I fix it?
šŸ‘€ 1
b

billions-xylophone-11752

09/12/2023, 12:16 PM
Hey, Soyoon! Sorry to hear you're struggling. To confirm, you're running an experiment and in your application, you're seeing variation 'A', but when you debug via the DevTools it's evaluating to variation 'B'?
šŸ‘Œ 1
Which SDK are you using?
m

many-london-62262

09/12/2023, 1:55 PM
Right! I'm using "@growthbook/growthbook": "^0.27.0" and main language is Vue.js (v2.7)!
b

billions-xylophone-11752

09/12/2023, 2:26 PM
Did you manually flip the value with the DevTool to override the computed value? If you did, there will be a reset icon next to the Current Value (depending on the Feature Flag type). That's probably not the issue, but just double checking.
m

many-london-62262

09/12/2023, 3:36 PM
That feature is working, but I didn't flip the value.
I'm using Vue.js. so I think it's not the issue of multiple growthbook instances. (Actually my experiment result is not updated.. something is broken. šŸ„²) I last made an experiment six months ago. This time, weired..
b

billions-xylophone-11752

09/12/2023, 4:17 PM
A couple of other things to check - can you confirm the changes you made to the Feature Flag/Experiment have been published? When making changes, we queue the changes in a Draft, and that draft must be published before they will be live. Additionally, if you have multiple environments, can you confirm that the override/experiment rules for the feature flag are for the environment you're debugging in?
m

many-london-62262

09/13/2023, 1:16 AM
Thanks for your helps! I checked this morning, experiment result are updated. I think it took more than 8 hours to update, is this normal? It was updated a little faster in the past. šŸ¤” The only issue left is that the values of devtool and code don't match. Can you help again..?
I have dev and live environments. and now in dev environment. Here's the status. ā€¢ Feature flag : dev / published ā€¢ Experiment : dev / running
b

billions-xylophone-11752

09/13/2023, 10:59 AM
With regard to the experiment results being updated - you can change the frequency of the experiment updates in your account, by going to Settings > General and then setting the new refresh delay.
šŸ˜² 1
Can you send me a screenshot of the Feature Flag in your GB account, and then a screenshot of the DevTools so I can take a look? You're welcome to send it to me privately, if you prefer.
āœ… 1