3 Replies Latest reply on Nov 15, 2011 1:18 AM by hadik

    How to set timeCycle on boundryEvent at runtime

    hadik

      Hi community,

       

      I am using jbpm 5.1.0.Final.

      and jboss-5.1.0.GA as server.

       

      I am trying to set the dynamic time at boundary event using follwing code in bpmn file.

       

      <boundaryEvent id="_4" name="TimerEvent" attachedToRef="_2" >

            <timerEventDefinition>

              <timeCycle xsi:type="tFormalExpression">#{time}</timeCycle>

            </timerEventDefinition>

      </boundaryEvent>

       

      I debug it and found that #{time} is not evaluating and the process is directly escalated. It is not giving me error also in log file. Is it my fault??Which datatype I should select for "time" variable.I have declared "time" as process variable.

       

      I have attached my bpmn2 process.

       

      I am using .ftl files for user interface and getting value of time from ftl file.