[jboss-user] [JBoss jBPM] - Problem using expression language in a process definition (T
sonicfab
do-not-reply at jboss.com
Mon Sep 24 08:04:53 EDT 2007
I'd like to use jBM's expression language so that a Timer can obtain its duedate parameter from the ContextInstance of the process. I've tried this :
<process-definition
| xmlns="urn:jbpm.org:jpdl-3.0" name="com.bt.intfwk.businesslayer.jbpm.processes.timertest">
| <start-state name="start">
| <transition name="" to="TimerNode"></transition>
| </start-state>
| <node name="TimerNode">
| <timer name="testTimer"
| duedate="#{contextInstance.dueDate}" >
| <action class="com.bt.intfwk.testjbpm.TimedAction" />
| </timer>
| <transition name="" to="end1"></transition>
| </node>
| <end-state name="end1"></end-state>
| </process-definition>
and I get an error message telling me that my XML is not valid. I've also tried without the quotes around #{contextInstance.dueDate} and it doesn't work either.
Ideas please ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087862#4087862
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087862
More information about the jboss-user
mailing list