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

webMethods 7.1.1. TaskClient API bug with cancelTask()

  • 1.  webMethods 7.1.1. TaskClient API bug with cancelTask()

    Posted Fri March 11, 2011 08:03 AM

    Hello,
    While cancelling a task which is active, we are using 2 webMethods built-in API/Services to cancel tasks…but the API/IS service cancels the task but it also creates another junk task by the name Administrator

    Original CAF code had only below Step
    tcp.cancelTask()
    As a workaround i have these 3 steps to fix the problem
    tcp.getTaskInfo().setStatus(“cancelleDDDD”);
    tcp.applyChangesNoAccept();
    tcp.cancelTask()

    the same is happening while using TaskClient IS service to cancelTask… I have to explicitly set some junk value instead of cancelled to TaskInfo document and then call cancelTask service to fix the Junk being created as a result of cancling actual task.

    Has anyone seen this problem with 7.1.1 and are there any fix for this ?


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