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

wm.tn.query:createDocumentQuery Custom TimeInterval

  • 1.  wm.tn.query:createDocumentQuery Custom TimeInterval

    Posted Wed March 22, 2017 12:28 AM

    Hi All,

    I’m building a reporting reporting to get the the transactions of the last 24 hours for an specif DocumentType.
    I’m using the service: wm.tn.query:createDocumentQuery however none of the default options match my needs for the last 24 hours (i could try to query 2 times using TODAY + YESTERDAY but this results on a bigger time frame than the last 24 hours)

    Is there a way to create a custom timeInterval for this service?

    Thanks,


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: wm.tn.query:createDocumentQuery Custom TimeInterval

    Posted Wed March 22, 2017 11:18 AM

    Hi Jose,

    did you try use attribs with two entries for the timestamp, one using BEFORE and one using AFTER operator?

    See TN Built-In Services Guide for details.

    Regards,
    Holger


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB