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

Javascript var overrides pipeline var

  • 1.  Javascript var overrides pipeline var

    Posted Wed September 15, 2004 12:46 AM

    Hi,

    I’m trying to pass a value which is assigned from a select list into a flow service in following javascript function:
    function enableTextarea()
    {
    %scope param(keyPair=‘initValue’)%
    keyPair = document.frm1.fileLoad.value;
    %invoke Test.propertyTest:getFileContentAsStr%
    document.frm1.inString.value = “%value configStr%”;
    %endinvoke%
    %endscope%
    }

    service getFileContentAsStr
    input var: keyPair
    output var: configStr

    How do I assign real value (document.frm1.fileLoad.value) to pipeline var: keyPair? the code I posted that always return “initValue” string.

    Thanks,
    Kevin


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