Has there been any further developments on this?

I'm starting to use sub-processes and it would be very convenient to have the 
leaving transition of the process-state dependent on the end-state of the 
sub-process.

So, if the queryProcess ends in a state of "Details received" I would like the 
process-state to use the "detailsReceived" transition. Is this possible, if so 
what do I have to do to configure it?

TIA, Pete.

process-state node:

  |   <process-state name="Medical query process">
  |     <sub-process name="queryProcess" /> 
  |     <variable name="member" access="read,write" />
  |     <transition name="noResponseRecieved" to="Medical details not entered" 
/>
  |     <transition name="detailsReceived" to="Medical details received"/>
  |   </process-state>
  | 

sub process:

  | <process-definition name="queryProcess">
  |                                                                             
  |   <start-state name="start">
  |     <transition name="" to="Call member"></transition>
  |   </start-state>
  | 
  |   <task-node name="Call member">
  |     <task name="telephoneCustomerTask" description="Telephone Customer">
  |       <assignment actor-id="#{actor.id}" />
  |     </task>
  |     <transition name="member provided details" to="Details 
received"></transition>
  |     <transition name="member unavailable" to="Details 
unobtainable"></transition>
  |   </task-node>
  | 
  |   <end-state name="Details received" />
  |   <end-state name="Details unobtainable" />
  | </process-definition>
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043879#4043879

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043879
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to