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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

Problem with Document.sortDocuments

  • 1.  Problem with Document.sortDocuments

    Posted 09/05/22 08:48 AM

    Good day.

    Would it be right to suggest that if the document’s field contains whitespaces and/or special characters in its name, the sortDocuments function will not recognise that field as a valid sorting criteria, and won’t even tell you that there’s something wrong with the operation, or there must be some other kind of reason my list is not getting sorted properly?

    Thanks.

    (the document’s naming comes from a converted flatfile that is being used in several other flowservices, so it won’t be easy to “Just avoid holding naming it in that way”. If there might be other reasons, I’d rather explore them first.)


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


  • 2.  RE: Problem with Document.sortDocuments

    Posted 09/07/22 03:20 AM

    Nevermind, I got the answer.









    … all right, not to be that guy - the sortCriteria key must have been properly escaped, in this case - “Segment Start Date\/Time”.


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