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

How to use pub.document:sortDocuments sortCriteria

  • 1.  How to use pub.document:sortDocuments sortCriteria

    Posted Mon February 19, 2018 07:41 AM

    I am trying to sort some documents by multiple fields, which the built in services guide says is possible, however the sortCriteria parameter is a document list with 4 strings under it, so you can only map one key at a time. How do I map it like the built in services guide mentioned with multiple keys?



    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: How to use pub.document:sortDocuments sortCriteria

    Posted Tue February 20, 2018 05:47 AM

    Hi Garry,

    please set the variables on the list directly, not on the fields.

    The Setter-Dialog will then allow you to add multiple records with the 4 fields for each source key needed.

    See Service Development Help for further informations.

    Regards,
    Holger


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: How to use pub.document:sortDocuments sortCriteria

    Posted Tue February 20, 2018 05:53 AM

    Hi Holger,

    Thanks for pointing me to the right document, I have figured it out.

    Regards
    Garry


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services