Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created 
the discussion

"Re: JBPM 5.4.0-Final: Human Task variable mapping is not working"

To view the discussion, visit: https://community.jboss.org/message/790582#790582

--------------------------------------------------------------
Vladimir, using setClient can have side effects in concurrent cases e.g. when 
at the same time new task is created and another is completed. Two threads will 
use the same LocalTaskService instance which could lead to some unexpected 
results.

The error you are seeing could be caused by not declared type of you process 
variables, take a look  
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-bpmn2/src/test/resources/BPMN2-StringStructureRef.bpmn2
 here at line 14, you'll see it declares String as structureRef so that informs 
the engine how to deal with that variable.You can declare java.lang.String as 
FQN too. Once you have that it should proceed with setting variables properly.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/790582#790582]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to