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

Search Term to check if acceptedByList is empty

  • 1.  Search Term to check if acceptedByList is empty

    Posted Tue October 21, 2008 10:18 PM

    Is there any operator to check if the taskInfo.acceptedByList is empty (not in rules but in search term)

    I am using a PCTaskHelper.searchUserTask to get tasks in user inbox. Now I want to filter the tasks not accpeted by user. I tried all possible combination in search term but nothing seems to be working. The query gives my both assigned & accepted user tasks.

    e.g
    fields = {“#{currentTask.taskInfo.acceptedByList}”};
    operator = “is empty”
    operator = “Is Empty”
    operator = “isEmpty”
    operator = “=” value = null

    Thanks in advance.


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


  • 2.  RE: Search Term to check if acceptedByList is empty

    Posted Tue October 21, 2008 10:45 PM

    Can you try equals (=) to empty String array, e.g. new String {}

    Alex


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


  • 3.  RE: Search Term to check if acceptedByList is empty

    Posted Wed October 22, 2008 03:00 PM

    Thanks Alex for quick response.

    I tired this option too but it is not working. It returns zero length Task.
    I have 2 tasks in my inbox (1 not accepeted , 1 accepted)


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