Example here
In Metastorm BPM 9 we have a problem that you cannot easily or safely define a query for a Business Object with an 'IN' clause. This makes some dynamic query forms, such as search forms, impossible to write if multiple options can be selected form a list.
The example at the link above shows how this can be done.