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

    How to set timeCycle on boundryEvent at runtime

    Hardik Dave Newbie

      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" >


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




      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.