doubt in forming TaskSearchQueryTerm

Dear all,

I have to filter tasks based on one criteria and display the filtered tasks to user.

The crirteria is:

If ‘currentTask.parameter’ is equal to any of the values specified in ‘listParameter’ then display the task.

here listParameter is one bean variable of type java.util.list.

could anybody help me in putting the above criteria as a TaskSearchQueryTerm?

Thanks,
Raja sekhar Kintali