Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion
"Re: Process Instance Variable within WorkItemHandler" To view the discussion, visit: http://community.jboss.org/message/602079#602079 -------------------------------------------------------------- Hi Amin, Why are you doing that? the main idea of using work items is that you can copy information from the process scope to the work item scope using parameter mappings. If you define what pieces of information you will need inside the work item handler you can do the mappings and the engine will copy those values for you. You don't need to have the session to retrieve the process variables. Take a look at the examples here: https://github.com/Salaboy/Drools_jBPM5-Training-Examples https://github.com/Salaboy/Drools_jBPM5-Training-Examples inside the jBPM5 directory for more information. Look at the processes definition to see how to move information from the process scope to the workitem scope. Greetings. -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/602079#602079] Start a new discussion in jBPM at Community [http://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