0 Replies Latest reply on Jun 26, 2019 3:27 AM by chebrolu03

    Unable to Set CRON expression or ISO format expression to achieve repeatable timers

    chebrolu03

      Hi Team,

       

      We are uisng JBPM 7.6.0.Final, while trying to set a time cycle for achieving repetitive timer we are getting below exceptions.

       

      from Eclipse plugin i was not able to add  cron expression - so I have modified the XML from notepad.

       

      But while deploying i'm getting below error :

       

       

      [ERROR]|(25-Jun-2019 18:21:03)||(:)|org.drools.compiler.kie.builder.impl.KieProject|Unable to build KieBaseModel:kbase

       

      [-1,-1]: Process 'GRRMGenericWorkflow' [GRRMGenericWorkflow]: Node '#{taskName}' [8] Could not parse delay '*/5 * * * *': Error parsing time string: [ */5 * * * * ]

       

      Similar error even if i tried ISO format repeatable times:

       

       

      [ERROR]|(25-Jun-2019 19:32:00)||(:)|org.drools.compiler.kie.builder.impl.KieProject|Unable to build KieBaseModel:kbase

       

      [-1,-1]: Process 'GRRMGenericWorkflow' [GRRMGenericWorkflow]: Node '#{taskName}' [8] Could not parse delay 'R/PT1D': Text cannot be parsed to a Duration

       

       

      Can someone suggest what is going wrong in the implementation .. ?