I have tried to capture the contents of a ValueList as follows:
$$x = ValueListItems ( Get ( filename ) ; "Sample" )
where "Sample" is a ValueList created by entries in a specific field, including "Happy".
then Script Step: If ( PatternCount ( $$x ; "Happy" ) = 0 // value not in list
// perform something
I must be doing something wrong. This just doesn't work, and I think it should.
PatternCount ( $$x ; "Happy" ) always returns 0.
After hours of troubleshooting, I'm convinced that I'm doing it wrong. HELP!