[jboss-user] [JBoss jBPM] - Transitions not being followed correctly

jbaxter do-not-reply at jboss.com
Tue Sep 4 12:29:43 EDT 2007


I am following the tutorial in "Business Process Management with JBoss jBPM", using jbpm-jpdl-3.2.1 rather than the version which the book is based on (jbpm-jpdl-3.2.GA).

To make the demo code (which is downloadable from packpub.com) work i had to modify the supplied SQL which gets put into the hypersonicDB. This was simply: 
update jbpm_id_membership set GROUP_ = 'user' where GROUP_ = 'participant';

The trouble i am getting is that the token does not move to the correct node when selecting the 'yes' or 'no' transition on the 'All contracts agreed?' tasknode. The taskform displayed has the following code:
    	  
  	    
  |       <jbpm:datacell>
  |         <f:facet name="header">
  |           <h:outputText value="Actions"/>
  |         </f:facet>
  |         <!-- TASKFORM BUTTONS -->
  |         <tf:saveButton value="Save"/>
  |         <tf:cancelButton value="Cancel"/>
  |         <tf:transitionButton transition="No" value="No"/>
  |         <tf:transitionButton transition="Yes" value="Yes"/>
  | 
  |       </jbpm:datacell>
  | 

However, whatever i do, the token always moves along the 'no' transition and i end up in an infinate loop! Any suggestions?!


On a sidenote, there is also a bug in jbpm-jpdl-3.2.1 which produces a warning about the lack of a security-role for 'user'. This can be fixed by adding the following to the web.xml of the jbpm-console webapp:

  | <security-role>
  |     <role-name>user</role-name>
  | </security-role>
  | 

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

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



More information about the jboss-user mailing list