I have 3 swimlane "applyer"."manager","boss"
My simple process acts like this
when applyer applies an activity,either manager or boss can check the applyer's 
request and make a decision,as soon as one make the decision ,
the process flows to the end 
so I fork two transition use the fork tag,one transition to the boss decision,
the other flow to the manager decision,so what should I do in the join node
I have try to act like this ,but I failed

                <action event-type="node-enter">
                        
                
                

public class JoinActionHandler implements ActionHandler {

        public void execute(ExecutionContext ec) throws Exception {
                Token currentToken = ec.getToken();
                Token parentToken = currentToken.getParent();
                Map tokenMap = parentToken.getChildren();
                Iterator it = tokenMap.values().iterator();
                while(it.hasNext()) {
                        Token token = (Token)it.next();
                        token.end();
                }
                parentToken.signal();
        }

}

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to