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

Make duedate accept EL in addition to the already existing businesscalendar

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • jBPM 3.2.3
    • jBPM 3.2.2
    • Runtime Engine
    • None

      currently the duedate in a timer and task only accept a businesscalendar. Sometimes (often?) you want it to be based on e.g. a processvariable as well. So a format of

      <timer name="pension" duedate="#

      {dateOfBirth} + 65 years"></timer>
      <timer name="pensionReminder" duedate="#{dateOfBirth}

      - 1 year"></timer>
      <timer name="pension" duedate="#

      {pensionDate}

      "></timer>

      Are examples of how it should work (and does now if using the cvs version)

      Changes still needed:

      • accept Calendar besides date (String will not be done by me because of format issues
      • generate an exception if in the old duedate format, a minus is prefixed. (currently the date will be in the past!!!)
      • ...

              kukeltje_jira Ronald van Kuijk (Inactive)
              kukeltje_jira Ronald van Kuijk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 1 day, 1 hour
                  1d 1h
                  Remaining:
                  Time Spent - 1 day Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - 1 day Remaining Estimate - 1 hour
                  1d