Hello,
I query a table and add values to a Message Builder array (var1) then run another SQL to check if the value is part of 'var1'.
I'm using a Branch to determine if I need to add or remove Security access. My branch condition is
var1.includes(SQLQuery8410_POSITIONCODE);
The problem is it skips it, even if the POSITIONCODE is in the var1 array.
Any ideas how I can tackle this?
Thank you!
var1.indexOf(SQLQuery8410_POSITIONCODE)>=0
Also, your branches are out of order. Your catchall true value needs to be last, otherwise it will trigger every time.