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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

How to use level in ino:explain

  • 1.  How to use level in ino:explain

    Posted Tue November 09, 2004 01:06 AM

    I am executing following in the web browser.

    abc.central/tamino/my_db/workflow?_XQL= ino:explain(count(bpWorkItem[(((assignee/user/loginId = ‘12345’)) and ((assignee/@type = ‘user’)))][state = ‘offered’ or state = ‘accepted’ or state = ‘adhoced’]),tree)

    but it show following error.

    -
    ino:response
    -
    xql:query
    ino:explain((count(agreementSearch[(((isQuickLink = ‘Yes’)) and ((owner/loginId = ‘12345’)))])),path)
    </xql:query>
    -
    <ino:message ino:returnvalue=“8354”>
    <ino:messagetext ino:code=“INOXIE8354”>Invalid invocation of ino:explain</ino:messagetext>
    </ino:message>
    </ino:response>

    How to use path and tree level in ino:explain to see the performance ?

    Thanks in advance …

    Cheers
    Ashok


    #Tamino
    #API-Management
    #webMethods


  • 2.  RE: How to use level in ino:explain

    Posted Tue November 09, 2004 01:52 AM

    Hello Ashok,

    the problem is in the second argument to the ino:explain function - it needs to be tree in quotes to make it a literal string.

    I hope that helps,
    Trevor.


    #Tamino
    #webMethods
    #API-Management


  • 3.  RE: How to use level in ino:explain

    Posted Tue November 09, 2004 02:46 AM

    Thanks Trevor …It worked …


    #Tamino
    #API-Management
    #webMethods