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

Trigger Filter on String List.

  • 1.  Trigger Filter on String List.

    Posted Thu December 04, 2008 12:56 AM

    I am having trouble in validing a string list using a trigger filter.

    I have String list of variable size and should validate them with a group of strings.

    Thank you.

    Prasad.


    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #broker
    #webMethods


  • 2.  RE: Trigger Filter on String List.

    Posted Fri December 05, 2008 12:21 AM

    What is the structure of the document you are using in your trigger?
    If it contains a StringList, which element(s) of the List are you filtering on?

    If your document structure is as follows:
    MyDoc
    → StringList
    → string

    You can reference each element of your stringList in the trigger as follows:

    %MyDoc/StringList[0]% L_EQUALS "value" && %MyDoc/StringList[1]% L_EQUALS "value2" etc

    #broker
    #Universal-Messaging-Broker
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Trigger Filter on String List.

    Posted Fri December 05, 2008 04:49 PM

    Thanks for the Reply.

    I am looking at scenario where i get String[0…n]. So its not feasible to expect records in certain place and put validation in this scenario.

    Prasad.


    #webMethods
    #broker
    #Integration-Server-and-ESB
    #Universal-Messaging-Broker