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
  • 1.  Global task inbox

    Posted Thu July 07, 2011 03:17 PM

    Hello,

    I have a BPM with three human task’s that use the same Business Data Document’s. Each one of the tasks has an inbox.

    What I want is to create a global inbox that aggregates all the task types similar to the already existing myinbox portlet. The only difference is that I want to be able to search for task by custom data present in the Documents that are shared in all tasks.

    As it is not possible to customize MyInbox portlet, how can I achieve this?

    Thanks in advance.


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


  • 2.  RE: Global task inbox

    Posted Fri July 08, 2011 09:49 PM

    You’ll still have to create a custom Task Inbox to search custom business data, and the structure of the business data should be consistent across the different task types.

    In the java code for your custom Task Inbox, you’ll need to comment out one line of code:

    public MyInboxSearchProvider() { 
    super(TASK_TYPE_ID); // task type id to search 
    m_searchQuery = new MyInboxSearchQuery(); 
    getSearchQuery().getTaskTypeID().setValue(TASK_TYPE_ID); 
    }
    
    public MyInboxSearchProvider() { 
    super(); 
    m_searchQuery = new MyInboxSearchQuery(); 
    } 

    Hope this helps,
    –mark


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


  • 3.  RE: Global task inbox

    Posted Tue July 12, 2011 12:37 PM

    Thanks! That was precisly what i wanted… I was struggling with portlets and web applications, and it was as simple as commenting only one line of code…

    Thanks again!


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