Thanks for your response, nice.

Just a note, the start process event is never triggered. So I changed 
BpelDefinition class, startProcessInstance to have that triggered:

  | public void startProcessInstance( ProcessInstance processInstance,
  |                                      Receiver trigger )
  |     {
  |         Token scopeToken = processInstance.getRootToken();
  |         ScopeInstance scopeInstance = ScopeInstance.get( scopeToken );
  |         ExecutionContext context = new ExecutionContext( 
scopeInstance.getNormalFlowToken() );
  | 
  |         try
  |         {
  |             scopeInstance.enableEvents();
  |             // new line
  |             fireEvent( Event.EVENTTYPE_PROCESS_START,
  |                        context );
  | 
  |             new ProcessInstanceStarter( context, trigger ).visit( this );
  |         }
  |         catch ( Throwable t )
  |         {
  |             scopeInstance.getDefinition().raiseException( t,
  |                                                           context );
  |         }
  |     }
  | 

Thanks
AA


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

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


-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to