[jboss-user] [jBPM] New message: "Re: [jBPM4.1] - No Environment Exception"

Mike Burton do-not-reply at jboss.com
Tue Feb 23 18:24:10 EST 2010


User development,

A new message was posted in the thread "[jBPM4.1] - No Environment Exception":

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

Author  : Mike Burton
Profile : http://community.jboss.org/people/mike_burton

Message:
--------------------------------------------------------------
Hi Ronald
 
Thanks for clarifying me. I hope now you can understand my unittest.
 
Below is my sample process definition xml.
 
<process name="TestProcess">
   <start name="start1">
      <transition name="TN1" to="state1"/>
   </start>
   <state name="state1">
      <transition name="S1T1" to="state2"/>
      <transition name="S1T2" to="state3"/>
      <transition name="S1T3" to="complete"/>
   </state>
   <state name="state2">
 <transition name="S2T1" to="complete"/>
   </state>
   <state name="state3">
 <transition name="S3T1" to="complete"/>
   </state>
   <end name="complete" state="completed">
</process>
 
In my application, now the exeuction is at state1 (<state name="state1">"). Here i need to get the list of possible transitions at state1.
What  would be the correct way to achieve this. Which API i should use to get the outgoing transitions at a particular state.
 
Please help me. Thanks a lot!

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

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




More information about the jboss-user mailing list