Thanks for the reply :-) 

Let me elaborate a bit: 

Lets say that after sending the message to the external system, a state is 
waiting for receipts. There are three possible transitions from that node: 
'error', 'receipt' or 'expire'.  'receipt' is forked to some nodes and loops 
back to the wait state. 'error' are forked aswell, and looped back to the wait 
state. The loop is due to that I dont know how requests will be received from 
the external system at runtime (is this the correct way to do it?)

The 'expire' transition will go directly to the end-state. 

Thinking about it, another question pops up in my head:

If one receipt comes in and go down the 'receipt' transition and during that 
execution a concurrent 'expire' request comes in to the wait state and put the 
processinstance in the end state. What will happen to the fork (or the token 
that is handled by the fork)?

thanks,
-Kristoffer

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

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

Reply via email to