webMethods

webMethods

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

Global Variable substitution on a pipeline value

  • 1.  Global Variable substitution on a pipeline value

    Posted Mon April 10, 2017 12:11 PM

    Hi ,

    Is there any way to extract the pipeline value(not the key variable) and assign global variable substitution on that value.

    Pipeline:
    Key/value = globalvariable/testpassword

    IS configured globalvariable key/value = testpassword/password

    In the runtime I need to extract the value - testpassword as variable, and do global variable substitution on that to get the value - password.

    ie- pipeline substitution on a variable A(key) and global substitution on the value of that variable A.


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Global Variable substitution on a pipeline value

    Posted Tue April 11, 2017 01:52 PM

    Hi,

    If I understood correctly, you can do all those things using the services in WmPublic/wm.server.globalvariables.

    Best Regards,


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Global Variable substitution on a pipeline value

    Posted Tue April 25, 2017 02:07 AM

    Hi Gerardo,

    Thanks for your response. As wm.server.globalvariables is of WMRoot package, we cannot completely rely on that.

    I found the below solution for this–
    I enabled the internal passwords access from IS to the Designer Flow service by setting watt.security.ope.AllowInternalPasswordAccess to true, and used the pub.security.outboundPasswords:getPassword to retrieve the Global variable password directly instead of globalVariable substitution.

    Regards,
    Sree.


    #webMethods
    #Integration-Server-and-ESB