cancel
Showing results for 
Search instead for 
Did you mean: 

script task with 3 resultVariable

learner
Champ in-the-making
Champ in-the-making
I've a script task , and 3 variable to return ..
if I write this code to return one variable it work

<scriptTask id="script" name="script" scriptFormat="javascript" activiti:resultVariable="myVar1">

but if add the 3 variable in " activiti:resultVariable="myVar1"myVar2;"myVar3"  , not work
what can I do  ?


1 REPLY 1

trademak
Star Contributor
Star Contributor
How do you return more than 1 result variables in your javascript logic?
You can just set your 3 variables on the Activiti execution like execution.setVariable("myVar1", "some value");

Best regards,