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

Task data duplicated in results list after task search provider refresh

  • 1.  Task data duplicated in results list after task search provider refresh

    Posted Mon January 09, 2012 04:50 AM

    Hello,

    I am currently working on fixing a strange bug. Bug’s scenario:

    1. I open a task in details view from the results list
    2. I complete the given task, afterwards the results list is displayed again
    3. Now the strange thing happens:
      3a. the number of tasks is less with one, than expected
      3b. the first two tasks from the lists have the information somehow interchanged - see before_action.png and after_action.png

    Worth being mentioned is that sometimes the task completion fails and a new task is recreated with the same values(except the TaskID).

    Any suggestion how I might fix this issue? Thank you in advance.

    Best regards,

    Olimpiu POP



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


  • 2.  RE: Task data duplicated in results list after task search provider refresh

    Posted Tue January 17, 2012 01:09 PM

    With the default inbox and task details view, there is a finishURL. The completeTask method should have a snippet that refers to the finishUrl:

    
    ...
    // then redirect to finish url
    String url = getCustomAssignmentTaskView().getFinishUrl(); 
    if (url != null && url.length() > 0) {
    getFacesContext().getExternalContext().redirect(url);
    }

    Do you know if the creation or usage of the finishUrl was modified at all?


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


  • 3.  RE: Task data duplicated in results list after task search provider refresh

    Posted Thu January 19, 2012 10:46 AM

    Hi,

    thanks for your reply. I looked in the code, and it seems that your right. The finish URL is manipulated with something similar to the code that you posted.

    Any suggestions on the topic? Thank you for your time. I am looking forward for your feedback.

    Regards,

    Olimpiu POP


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