For doing something like this you would need to provide your own jBPM Action 
and plug it into the process - for example like this:


  | public class MyNotificationMailAction implements 
org.jbpm.graph.def.ActionHandler
  | {
  |    public void execute(ExecutionContext ectx) throws Exception
  |    {
  |         // do something
  |    }
  | }
  | 
and in the process definition you would need to add this action on the 
transition you want it to be executed.

  | ...
  |   <state name="validate_email">
  |       <transition name="validated" to="admin_approval">
  |          <action class="MyNotificationMailAction"/>
  |       </transition>
  |   </state>
  | ...
  | 

This would execute the action after the email address is verified.
For further information you can take a look at the jBPM documentation and the 
current implementation in JBoss Portal.


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

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

Reply via email to