JBoss Community

Re: Jbpm 5 user form variables

created by rodri tes23 in jBPM - View the full discussion

Thanks for your reply.


I renamed the map to "map" and also initialized the variables as follows:



java.util.HashMap map = new java.util.HashMap();




kcontext.setVariable("map", map);


I still get the same errors such as and  I could not access the variables from ftl

(null: 127, 15): cvc-id.1: There is no ID/IDREF binding for IDREF 'map'.

Could not find variable map

Using process-level scope

Could not find variable scope for variable map

when trying to execute Work Item Human Task

Continuing without setting parameter.





I am not sure what I am missing here (I tried with the SNAPSHOT code). Attached please find the complete bpmn file I used.

Reply to this message by going to Community

Start a new discussion in jBPM at Community