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
  • 1.  Regular Experessin

    Posted 07/12/16 09:35 AM

    Hi,
    Can you please help me for regular expression. my requirement is if variable contain char then only its execute remaining code otherwise it will go to exit $flow.

    and branch label =true.
    inside branch i am using sequence label = %GsXML/biztalk_1/body/PurchaseOrder/Currency/ISOCurrency% == “[A-Za-Z]”

    If its true then only other code will be execute.

    Thanks in Advance
    :slight_smile: :slight_smile:


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 2.  RE: Regular Experessin

    Posted 07/12/16 12:20 PM

    Branch label =false and branch on GsXML/biztalk_1/body/PurchaseOrder/Currency/ISOCurrency
    inside branch i am using sequence label = /[A-Za-Z]/

    Try out the examples at the below link to understand “how to use regex in webMethods”

    http://wm.idn-xchange.com/blogs/90-webmethods-regular-expressions.html


    #webMethods
    #edi
    #Integration-Server-and-ESB


  • 3.  RE: Regular Experessin

    Posted 07/16/16 04:34 AM

    Map (GsXML/biztalk_1/body/PurchaseOrder/Currency/ISOCurrency) - service input and pass some chars)
    Branch Evaluate -Label=True,
    (under Inside this branch)
    Add Sequence step, mention %GsXML/biztalk_1/body/PurchaseOrder/Currency/ISOCurrency% ==/[A-Za-z]/ at Label property.
    –>If the GsXML/biztalk_1/body/PurchaseOrder/Currency/ISOCurrency has chars the step inside this sequence executes else
    Add another Sequence step (select $default at Label property)
    → Add EXIT $flow step


    #edi
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Regular Experessin

    Posted 07/18/16 03:58 PM

    Hariom,

    We have already replied your other thread for the same related query and that solution steps doesn’t help enough? :smiley:

    Anyways our other guru’s taking care of you as well :smiley:

    HTH,
    RMG


    #edi
    #webMethods
    #Integration-Server-and-ESB