2 Replies Latest reply: Oct 12, 2015 2:05 PM by Srikanth P RSS

    Can I pass more than one variable to a trigger EDX?

      I have used EDX to allow user reload data from browser. I need user sets some variables to reload data as he wants.

      Is it possible. I have uses TriggerEDXTask(serviceID, taskID, Password, variableName, variableValues) but i am able only to set one variable. How can I do?

        • Re: Can I pass more than one variable to a trigger EDX?
          Massimo Grossi

          I think you can use a separator in variable name and variablevalues to pass more variables; then you can use subfield to get the different name and values 

          variableName       a@b@c

          variableValues      avalue@bvalue@cvalue

          • Re: Can I pass more than one variable to a trigger EDX?
            Srikanth P

            Hi Nic, I believe its not possible. I believe, even though we can't pass more than one variable on QEMC task.

             

            But you can pass all variable values into 1 variable & split into variable in your script like below:

             

            vEDXTriggerInput = varianle1value|variable2value|variable3value|variable4value ; --> This is coming from Trigger.


            LET variable1 = SubField('$(vEDXTriggerInput)','|',1) ;

            LET variable2 = SubField('$(vEDXTriggerInput)','|',2) ;

            LET variable3 = SubField('$(vEDXTriggerInput)','|',3) ;

            LET variable4 = SubField('$(vEDXTriggerInput)','|',4) ;