Avatar

Level 2

Hi Vipul,

I've read your answer and I found it very interesting. But I'm not very accustomed to the use of variables is the initialization script, and I don't find how to assign a value to the delivery variable defined.

What's the syntax to use ?

I tried a lot of syntaxes like these :

task.eventVariables.NomPrp = vars.NomPrp

activity.scenario.variables.NomPrp = vars.NomPrp

activity.scenario.variables.NomPrp.stringValue = vars.NomPrp

task.eventVariables =  <eventVariables

                                     NomPrp = {vars.NomPrp}

                                       />

var variables = <variables

NomPrp = {vars.NomPrp}

/>

activity.scenario.variables = variables

Could you help me with the syntax to use ?

Thanks a lot in advance

Céline