Sandra Renaud [
https://community.jboss.org/people/joploya] created the discussion
"Re: getProcess in ProcessInstanceImpl throws a NullPointerException"
To view the discussion, visit:
https://community.jboss.org/message/807727#807727
--------------------------------------------------------------
Finally, I set the assignation and other dynamic variable with outputparameters.
First I encounter a runtime exception but it was due to mySQL who creates all foreihn keys
with restric cascading and prevent jbpm from updating task parameters.
I just change the cascading type directly in the database and now it's works fine.
https://community.jboss.org/servlet/JiveServlet/showImage/2-807727-20624/...
https://community.jboss.org/servlet/JiveServlet/downloadImage/2-807727-20...
In the step validation (java code):
Map<String, Object> results = new HashMap<>();
results.put("userAssign", userAssign);
results.put("groupAssign", groupAssign);
results.put("formValid", formValid);
taskManager.completeTask(taskManager.getManageTask(),results);
Thank you very much again Marco!
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/807727#807727]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]