Groovy Filter

This filter let you use a groovy script to filter your actors.
It takes in input a set of String bind in the variable candidates, and must return a set of String.
Here is a simple example :

def result =
candidates.each {
if(it ==~ /Romain.*/)
result.add(it)
}

result as Set

This example parse the candidates in input and return a Set of String matching the regex (name beginning by Romain)

KNOWN LIMITATION : Your script must not use the groovy markers ‘${’ and ‘}’ (set by the editor)

Repository URL : http://community.bonitasoft.com/project/groovy-filter