Showing all tasks in search portlet

Hello:

I need to show all the tasks as result of the task search not only the active tasks.

There is some way to add a search criteria for task status in the search bar the same way that the task monitor works ? (I mean a drop list that allows to select active, all tasks, etc.)

Thanks

Hi Edgardo,
In the same way that in the Search Bar portlet you get by default a field to search for Task ID, you could add another field (or a dropdown) for the task status. Its Value Property should be then

#{activePageBean.activeSearchQuery.refineFields.status}

.

hope this helps,
Javier

Thanks Javier:

I solved the problem. To be able to access all the tasks (not only the active tasks) you need to invoke the setSearchInbox(false); in the SearchProvider.

Then you can use the search query status criteria in the search result view to set the status to search for.

Thanks