Being able to define additional scope and it clearing the not defined errors is great!
That being said, I still see errors in the GUI in the advanced tab - I often use additional scope in the confirmation message / disable query, and it still says the variables there are undefined even if I have defined the additional scope variable.
Apologies for the error messages. Just to confirm, the queries run fine because the values are in additional scope, it is just that the IDE linter isn't properly picking these up?
If you can share some screenshots or screen recordings, I can reproduce this and file a bug report to our IDE team to better handle additional scope!