Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2958

Timer should refer to the business calendar used at the time of creation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jBPM 3.2.10
    • jBPM 3.2.9
    • Runtime Engine
    • None

      Assuming you want to use different business calendars by loading different jbpm.cfg.xmls;
      When you use a Timer, a scheduler service thread will set repeatDate to the timer using BusinessCalendar which is associated with given jbpmContext. The jbpmContext comes from default jbpm.cfg.xml (jbpm.esb/jbpm.cfg.xml). Also the BusinessCalendar field is static. So you cannot switch business calendars for each Timer in the scheduler service thread.
      The timer should be able to acquire the business calendar which was used at the time of Timer creation.

            aguizar_jira Alejandro Guizar (Inactive)
            rhn-support-tkobayas Toshiya Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: