I am writing an app which will create variables that i can send to a notification rule or to dashboard tile. I believe I want to create hub "global" variables to make those values easily accessible.
I have tried the following but i get a illegal declaration within a method.
getGlobalVar(String variablename)
Do i need to import anything and where exactly would you be putting imports into a script "preferences"
If there is a better way to get values from app calculations so i can use them elsewhere other than hub variables I am all ears.
Thanks