Global variable call in postgrestor node - where condition

Hi, how to use/declare global variable in select query where condition? i tried below this flow,
select query returns rowcount value as zero, would like to know how to declare global variable in sql query.

To use currentuser variable in the next node, you have to add it to the msg
e.g....

msg.currentuser = global.get("currentuser")
return msg;

image

Thanks @Steve-Mcl i got it

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.