[jboss-user] [JBoss jBPM] - Re: console url changed to http://localhost:8080/jbpm-consol

fuligj do-not-reply at jboss.com
Tue Aug 21 07:54:19 EDT 2007


In jbpm suite 3.2.1 i have tested the following code:

processdefinition.xml:
<?xml version="1.0"?>
  | 
  | <process-definition name="websale"
  |                     xmlns="urn:jbpm.org:jpdl-3.2">
  | 
  |   <start-state name="start-state1">
  | 		<task name="starttask"></task>
  | 		<transition to="task-node1" name="t1"></transition>
  | 		<transition to="task-node2" name="t2"></transition>
  | 	</start-state>
  | 
  | 
  | 	<task-node name="task-node1">
  | 		<task name="task1"></task>
  | 		<transition to="end-state1"></transition>
  | 	</task-node>
  | 
  | 	<task-node name="task-node2">
  | 		<task name="task1"></task>
  | 		<transition to="end-state1"></transition>
  | 	</task-node>
  | 
  | 
  | 	<end-state name="end" />
  | 	<end-state name="end-state1"></end-state>
  | 
  | </process-definition>

starttask' page:
  | ...
  | <tf:transitionButton transition="t1" value="t1"/>
  | <tf:transitionButton transition="t2" value="t2"/>
  | ...
  | 

But when i push the transition button named "t2" in the running application at start page, the workflow goes to task-node1 instead of  task-node2.
Why?

Thank You!

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

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



More information about the jboss-user mailing list