Ok, when I was posting the process definitions, I realized something.  One of 
the tasks that the execution was not stopping at was the task set on the start 
state of the sub-process.  I put that there so I could execute that process 
stand alone in the web application.  I assume that the fact it doesn't assign 
that task when run as a sub-process has something to do with the nature of how 
subprocesses are started.  I also realized that the reason it did not stop on 
the AskForMoney task is that the FirstNumber and SecondNumber variables were 
never filled in (since it didn't stop at the StartTask in the david process).  
Thus the AreYouRich decision never traversed the"yes" transition to the 
AskForMoney task.  I added those two variables to a task in the main process 
and passed them into the sub-process and tested it again.  This time it 
successfully moved from the AreYouRich node to the AskForMoney node and 
assigned it to the correct user and waited for input.  So now the question is 
just why does the sub-process not get that task assigned which is attached to 
the start state?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936371


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to