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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user