[jboss-user] [jBPM] - Re: jbpm5 RULEFLOW VARIABLE CHANGED null

Esteban Aliverti do-not-reply at jboss.com
Fri Sep 2 17:48:50 EDT 2011

Esteban Aliverti [http://community.jboss.org/people/eaa] created the discussion


To view the discussion, visit: http://community.jboss.org/message/624547#624547

If you are not planning to modify "persona" in the User Task, then is should be enough to remove it from the Result Mapping attribute of "Solicitud Empleado". 
But, if the User Tasks modifies "persona" in any way, you need to pass it in the Map recevied by:

+public void completeTask(User user, TaskSummary task, Map *data*)+

I think, that in your case, you need to pass variable 'm' to the completeTask() method. As far as I can see, you are declaring the Map, setting "persona" in it, but then you are not passing it (as the third parameter) to the completeTask() method.

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110902/a459ad4c/attachment.html 

More information about the jboss-user mailing list