Thank you for your reply.
Can I achieve my looping in the client code like this:
First change my process to include a wait-state:
<process-definition name="emailLoop" >
| <start-state name="start">
| <transition to="CheckEmail" />
| </start-state>
|
| <node name="CheckEmail">
| <action class="CheckEmailAction" />
| <transition to="SendEmail" />
| </node>
|
| <state name="SendEmail">
| <action class="SendEmailAction" />
| <transition to="CheckEmail" />
| <transition to="finish" />
| </state>
|
| <end-state name="finish"/>
| </process-definition>
Then in my client code I will do my loop:
...
| while(processInstance.hasEnded() == false) {
| processInstance.signal("CheckEmail");
| }
| ...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086274#4086274
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086274
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user