[jboss-user] [JBoss jBPM] - Re: conditional trans in 3.2 - deprecated syntax doesn't wor
dario.oliveros
do-not-reply at jboss.com
Tue Apr 24 11:06:55 EDT 2007
I could not get 'condition' working when deploying my process definition to JBoss AS. It used to work in 3.1.3, but not 3.2. Here's my PD:
<?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition
| xmlns="" 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>#{contextInstance.variables.var1 == '1'}</condition>
| </transition>
| <transition name="2" to="task2">
| <condition>#{contextInstance.variables.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>
"cristim1979" wrote : correction (condition tags missing):
|
|
| | <condition> x == 'xxx' </condition>
| |
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040217#4040217
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040217
More information about the jboss-user
mailing list