[jboss-user] [JBoss jBPM] - Decision Node Problems

highlnd do-not-reply at jboss.com
Thu Dec 7 15:03:00 EST 2006


I'm trying to test out a simple decision node. So I have the XML as this:

   [decision name="Date Less Than Two Weeks"]
   	  [handler class="com.baerresengroup.bpm.SaleDateDecision"/]
      [transition name="Yes" to="Approve Order Form"][/transition]
      [transition name="No" to="Approve Purchase Order"][/transition]
   [/decision]

And for my handler class I have this:

public class SaleDateDecision implements DecisionHandler {

    public String decide(ExecutionContext executionContext) throws Exception {
        return "No";
    }
}

It just goes to the No transition for testing purposes. However, when the token gets to the decision node in the process using the test web app I get the exception below. Can anyone shed some light on this problem? Thanks!

javax.faces.FacesException: Error calling action method of component with id taskform:transitionButton
	org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
	javax.faces.component.UICommand.broadcast(UICommand.java:106)
	javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
	javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
	org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:271)
	org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:94)
	org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)
	org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
	org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

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

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



More information about the jboss-user mailing list