1 Reply Latest reply on Sep 13, 2006 1:18 PM by gavin.king

    Timers with EL expressions

    dgallego

      Hi,

      I want to execute an action inside a timer. No problem, the action executes.
      But I want to be able to insert the values of EL expressions in the process definition file, just like when using DroolsActionHandler.

      /* #{messageId} is resolved from outside a timer. */
      <timer name="reminder"
       duedate="1 minute">
       <action name="DeleteMessageAction" class="jbpm.actions.DeleteMessage">
       <messageId>#{messageId}</messageId>
       </action>
       </timer>
      


      The variable is never resolved (because the scheduler servlet doesn't resolve any variable, I suppose).
      Is it possible to get that variable (#{}) from inside a timer?

      Thanks in advance.