Description of problem: Human task does not disappear after deleting/terminating the process instance. It can still be completed. Version-Release number of selected component (if applicable): BRMS 5.3.0 ER4 How reproducible: Steps to Reproduce: 1. Log into the console asi krisv. 2. Start an instance of Evaluation process form the jbpm sample repo, enter krisv as the user. 3. Delete or terminate that same instance. 4. Go to Personal Tasks. Actual results: The human task, self evaluation, is available for completion. Expected results: No task available.
Task is still available due to it is marked as not skippable (on bpmn2 definition). Suggested approach is to allow adminitrator to skip any task even these that are not marked as skippable to avoid of leaving task behing that are not connected to any process instance any more (since process instances can be deleted/terminated at any time).
Pull request is available at https://github.com/droolsjbpm/jbpm/pull/60 introduces new method 'exit' that is used to close task in case it is not needed any more, like in case of terminate or delete of process instance. It is dedicated only to business administrators.
Update status to ON_QA. Please verify them against ER6.