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

Transitions with timers from a user activity lead to incompleteable and indeleteable tasks

XMLWordPrintable

      Situation:
      =======

      Imagine you want to model an escalation of a user activity. After a specific timeout a transition should be taken to deal with the escalation. The transition might lead to a user activity assigned to someobody else or to a different role or more important to the next steps performed automatically without a reaction of the user.

      Problem:
      =======

      When the timeout event fires the transition is taken and the execution moves on to the next activity. However the task remains in the user's task list who had the task assigned. The task was not completed. Deleting the task will not succeed since you cannot delete a task which belongs to an execution. Completing the task will also fail since the associated execution does not exist anymore but was already removed from the database.

        1. escalation.jpdl.xml
          0.8 kB
          Sebastian Schneider
        2. EscalationTest.java
          3 kB
          Sebastian Schneider

              Unassigned Unassigned
              sebastian.s Sebastian Schneider (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: