I am trying to start my piston off with defining an array of words, then I would like to use a restriction to not run the piston if the $currentEventValue is in the IgnoreList but I am getting an error.
string IgnoreList = ‘cat,dog,cow,horse’
only when
{$currentEventValue} is not any of {IgnoreList}
Error that I’m getting:
An error has occurred while subscribing: groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.startsWith() is applicable for argument types: (java.lang.String) values: [@]