JBoss Community

Cron expression in jBPM5 gives exception

created by onkar ruikar in jBPM - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in jBPM at Community