AnsweredAssumed Answered

Assigning form field value to array

Question asked by hheckel on Oct 3, 2012
Latest reply on Nov 21, 2016 by imran.memon
Hello,

I initialized an array using a groovy script


def names = ["Miller", "Smith", "Jones"].toArray();
execution.setVariable("names", names);

Now, I am wondering if in Activiti Explorer I can assign/overwrite a value through assignment in a form field using the following configuration in a subsequent task:

Form property configuration:
Id: assignNewName
Name: Assign a new name
Variable: names[0]
Readable: True
Writeable: True
Required: True

Thanks for your input!
H.

Outcomes