Bug 802797 - Human task does not disappear after deleting/terminating the process instance
Summary: Human task does not disappear after deleting/terminating the process instance
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM Console
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER6
: BRMS 5.3.0.GA
Assignee: Kris Verlaenen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-13 14:21 UTC by Zuzana Krejčová
Modified: 2023-05-31 22:24 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 796198 0 unspecified VERIFIED Error when terminating a process 2023-05-31 22:24:57 UTC

Internal Links: 796198

Description Zuzana Krejčová 2012-03-13 14:21:32 UTC
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.

Comment 1 Maciej Swiderski 2012-03-19 20:39:18 UTC
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).

Comment 2 Maciej Swiderski 2012-03-20 17:30:52 UTC
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.

Comment 3 Ryan Zhang 2012-04-23 07:37:05 UTC
Update status to ON_QA. Please verify them against ER6.


Note You need to log in before you can comment on or make changes to this bug.