Hi,
I've been trying to get the following process definition to work in jBPM 3.2, but had
no luck so far. It seems the conditions are simply ignored when going through the process
nodes. FYI, I've used the jPDL Designer to create the process project and also to
deploy its definition to JBoss AS (packaged with jBPM suite).
Any help is appreciated.
Dário
| <?xml version="1.0" encoding="UTF-8"?>
| <process-definition
| xmlns="urn:jbpm.org:jpdl-3.2" name="sample">
| <swimlane name="swimlane1">
| <assignment expression="user(ernie)"></assignment>
| </swimlane>
| <start-state name="start1">
| <transition name="" to="task1"></transition>
| </start-state>
| <task-node name="task1">
| <task name="task1" swimlane="swimlane1">
| <controller>
| <variable name="var1"
access="read,write,required"></variable>
| </controller>
| </task>
| <transition name="t1"
to="decision1"></transition>
| </task-node>
| <decision name="decision1">
| <transition name="1" to="end1">
| <condition>#{var1 == '1'}</condition>
| </transition>
| <transition name="2" to="task2">
| <condition>#{var1 == '2'}</condition>
| </transition>
| </decision>
| <end-state name="end1"></end-state>
| <task-node name="task2">
| <task name="task2" swimlane="swimlane1">
| <controller>
| <variable name="var1"
access="read"></variable>
| <variable name="var2"
access="read,write,required"></variable>
| </controller>
| </task>
| <transition name="" to="end1"></transition>
| </task-node>
| </process-definition>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040277#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...