Hi, I’m trying to create variable like on screenshot in script task using js,
My actuall aproach is
var ArrayList = Java.type(‘java.util.ArrayList’);
var list = new ArrayList();
list.add(‘{ “Cell_01”:“1”},{ “Cell_01”:“1”}’);
execution.setVariable(‘list’, list);
And that gives me restult like this which is completly not what i wanted
Here is what i want to achieve
My goal is to create object exactly like this with Serialization Data Format:application/json and Value.
Do any of you guys tried to make something like this,how or at least is that possible to to do via inline script ?