How would one set the variable in a taskService bean as an array on the flowable ui modeler? I’ve tried numerous different approaches but none seem to work. It works fine setting the variable as a string or number but as soon as I set it as an array it throws errors while running the case in an app.
I’ve tried: ${taskServiceBean.setVariable(task.id,‘testVar’,java.util.Arrays.asList(“1”,“2”,“3”))}
${taskServiceBean.setVariable(task.id,‘testVar’,[“1”,“2”,"3]))}
${taskServiceBean.setVariable(task.id,‘testVar’, new String{“1”,“2”,“3”}))}
and a couple other similar attempts