JBoss Community

Re: Cron expression in jBPM5 gives exception

created by onkar ruikar in jBPM - View the full discussion

Used following rule to run the process:

 

 

import org.drools.runtime.process.ProcessContext

 

rule "everyDay" ruleflow-group "Hello"

    timer (cron:0 0 23 ? * FRI)   
  when
   
  then
    System.out.println(new java.util.Date());
    kcontext.getKnowledgeRuntime().startProcess("sample");
end

Reply to this message by going to Community

Start a new discussion in jBPM at Community