Uibuilder global.get/set

I have tried it

Tried what exactly ?

It is easy enough to convert your variable to a payload and inject that into the uibuilder node.