AnsweredAssumed Answered

formProperty variable, how do you pass a execution variable.

Question asked by cirerenat on Nov 2, 2011
Latest reply on Oct 29, 2014 by chesehng
Is it possible to pass a value to formProperty from a variable (and vice versa, that is assigning whatever the value entered in the user task to a execution variable).
I have this flow. It has a Script Task and followed by a User Task.
In the script task (groovy) I have this
myName = "Test Name";

And in the user task I have a formProperty defined as this

 <activiti:formProperty id="name" name="Name" variable="${myName}" required="true" readable="true" writable="true">

When I deploy this to activiti-explorer and run it, I expect to see the Form with
Name = "Test Name". 

But it is null.
What am I doing wrong ?