RE: Does @ExpandNameList still work Stan Rogers 24.Oct.18 07:21 PM a Web browser Domino Designer 7.0.2 FP1All Platforms
That one is easy - your "groupname" variable in Lotusscript is not the same thing as your "groupname" variable in Formula Language. The Evaluate environment is an instance of Formula Language; it doesn't know anything about your Lotusscript.
In this case, you're using a simple string, so you can inject your variable as a string like this:
Note that you're using Lotusscript to construct a string that represents some Formula Language code, then sending that to the Evaluate environment. You may find it easier to assemble your Formula Language statement in a separate string variable, just to get the syntax of the Evaluate statement itself out of the way: