[jboss-user] [JBoss jBPM] - Re: leaving transition on sub processes

2007-05-08 Thread pbrewer_uk
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=bbop=viewtopicp=4043879#4043879

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043879
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: leaving transition on sub processes

2007-05-08 Thread estaub
I think the only way to do this is to use a variable to pass status.  You can 
set the variable in the final transitions or in the node-enter event of the 
end-states.

This is a clone of 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4042408
Please search the forum before posting.

-Ed Staub

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4043893#4043893

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043893
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user