IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Showing all tasks in search portlet

  • 1.  Showing all tasks in search portlet

    Posted Tue July 28, 2009 06:19 PM

    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


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 2.  RE: Showing all tasks in search portlet

    Posted Wed August 19, 2009 03:43 PM

    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


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 3.  RE: Showing all tasks in search portlet

    Posted Wed August 19, 2009 06:06 PM

    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


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS