[jboss-user] [jBPM] New message: "best way to get a process variable inside a java class in jbpm4.3"

A Ghosh do-not-reply at jboss.com
Mon Feb 8 05:22:06 EST 2010


User development,

A new message was posted in the thread "best way to get a process variable inside a java class  in jbpm4.3":

http://community.jboss.org/message/524711#524711

Author  : A Ghosh
Profile : http://community.jboss.org/people/pisecs2982

Message:
--------------------------------------------------------------
HI,
Just wanted to know that what is the best possible approach for getting a process variable an dthe process runtime  inside a java class which is a part of the process itself.
For example I have a simple process defined:
<?xml version="1.0" encoding="UTF-8"?>
<process xmlns="http://jbpm.org/4.2/jpdl" name="test_dynamic_process">
  <start>
    <transition to="InitializeProcess"/>
  </start>
  <java name="InitializeProcess" class="com.test.action.InitializeProcess" method="execute">
    <transition to="end"/>
  </java>
    <end name="end"/>
</process>
 
If i want to get a handler to the exceution service or process variable inside InitializeProcess what is the best approach?.

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/524711#524711




More information about the jboss-user mailing list