7 Replies Latest reply on Sep 26, 2007 4:52 AM by Ronald van Kuijk

    Problem using expression language in a process definition (T

    Fabien Coppens Newbie

      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 :

       xmlns="urn:jbpm.org:jpdl-3.0" name="com.bt.intfwk.businesslayer.jbpm.processes.timertest">
       <start-state name="start">
       <transition name="" to="TimerNode"></transition>
       <node name="TimerNode">
       <timer name="testTimer"
       duedate="#{contextInstance.dueDate}" >
       <action class="com.bt.intfwk.testjbpm.TimedAction" />
       <transition name="" to="end1"></transition>
       <end-state name="end1"></end-state>

      and I get an error message telling me that my XML is not valid. I've also tried without the quotes around
      and it doesn't work either.

      Ideas please ?