Skip to Content
0
Apr 27, 2021 at 01:49 PM

Is it possible to set the value of a global to the output of a rule in an MDK?

153 Views

Hi,

I want to set a global variable called EngineerId when the user logs in so that I can access it without having to read the offline store. I have bound the global to a rule to get the EngineerId but when I try to retrieve it at runtime using .getValue() it returns the string of the rule name and path.

Is this expected behaviour and has anyone else come across this?

Thanks,

Matt