Syntax error ? global.get in a change node

Hello.
In a Change node, I would like to set the msg.payload to the value of a global variable.
Here is the content of the node :slight_smile:
[{"id":"e269c547.b809a8","type":"change","z":"5a94fe91.d8327","name":"Etat entrée 1","rules":[{"t":"set","p":"closeConversation","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"payload","pt":"msg","to":"global.get(\"xNR_I1\")","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":1191.5999603271484,"y":777.2000064849854,"wires":[["3fdcc96d.21d226"]]}]
Can you tell me why I don't get a correct result in the msg.payload?
In my debug node, I see no return.
the value of xNR_I1 is "Active", so, it should be transfered to the msg.payload.
Why isn't it?

You are using a JSONata expression to get the global variable.

In JSONata, the proper syntax is:

$globalContext("xNR_I1")

Thanks a lot.
That works!
Great!