3 Replies Latest reply on Jan 3, 2011 11:40 PM by onkar ruikar

    Cron expression in jBPM5 gives exception

    onkar ruikar Newbie

      I am using jBMP 5 and BPMN when I use following timerstart mentioned in jBPM 4 dev guide

       

      <startEvent id="myStartEvent" >
        <timerEventDefinition>
          <timeCycle>0 0 23 ? * FRI</timeCycle>
      </timerEventDefinition>
      </startEvent>

       

      I am getting following exception:

       

      org.drools.RuntimeDroolsException: Error parsing time string: [ 0 0 23 ? * FRI ]
          at org.drools.time.TimeUtils.parseTimeString(TimeUtils.java:132)
          at org.jbpm.workflow.instance.node.TimerNodeInstance.resolveValue(TimerNodeInstance.java:117)
          at org.jbpm.workflow.instance.node.TimerNodeInstance.createTimerInstance(TimerNodeInstance.java:75)

       

      Please let me know how to resolve this.