Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1175897

Summary: [6.0.3.RP#2] Parent process does not get notified after sub process completes
Product: [Retired] JBoss BPMS Platform 6 Reporter: Alessandro Lazarotti <alazarot>
Component: jBPM CoreAssignee: Alessandro Lazarotti <alazarot>
Status: CLOSED EOL QA Contact: Radovan Synek <rsynek>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.1CC: alazarot, kverlaen, mbaluch, pankajcpmishra, tkobayas
Target Milestone: ---   
Target Release: One-off release   
Hardware: Unspecified   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1128377 Environment:
Last Closed: 2020-03-27 20:12:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1128377    
Bug Blocks: 1174359    

Description Alessandro Lazarotti 2014-12-18 20:34:18 UTC
+++ This bug was initially created as a clone of Bug #1128377 +++

Description of problem:

We are using the 6.0.1. parent process calls a child process, which in turn calls another child process ( A -> B -> C).  the parent process A does no  move to next step, child Process (B) shows it is active and in wait state of calling process C.  But when we check the status of process C, it was invoked by process B and it is showing as completed.

Event-though the sub process C is completed successfully, C's parent process B did not get notification of child process completion. Now B  is stuck there, in turn  it is not returning the control back to  B's parent process A. 

Please have a look on this post for this problem https://community.jboss.org/thread/243188

Version-Release number of selected component (if applicable):
jbpm : 			jbpm-6.0.1.Final-installer-full.zip
jdk : 			1.7
database : 		mysql

Running jbpm through jbpm-console

How reproducible: added the all demo files and configuration info how it's running on jbpm environment. 
In attachment, there is README.txt file please go through to reproduce the issue.

Steps to Reproduce:
1.	please use the attach files.

Actual results:
once sub-process completed parent process should move forward.


Expected results:
once sub-process completed parent process is not moving forward and when we see the process in process instance it shows as active and does not get completed.

Additional info:
Please have a look on this post https://community.jboss.org/thread/243188

Comment 2 Toshiya Kobayashi 2014-12-19 01:00:05 UTC
Please verify the reproduce scenario which is described in BZ1165466 (https://bugzilla.redhat.com/show_bug.cgi?id=1165466#c0) as well. The scenario (signal scenario) is also fixed by this BZ and a customer wants the roll-up patch (6.0.3.RP#2) to solve this scenario.

Actually, Tomas Livora has already added the test according to https://bugzilla.redhat.com/show_bug.cgi?id=1128377#c11

Comment 4 Tomas Livora 2015-01-12 14:37:53 UTC
Verified on BPMS 6.0.3 RP#2

https://gitlab.mw.lab.eng.bos.redhat.com/bxms/brms/commit/06263cdb528621947ca8b9cfa98b7d8287d1ab5a

Note that this BZ is targeted purely on 6.0.3 Roll-up Patch #2 and the flags have not been set properly. The original bug has been verified on 6.1.0 in BZ1128377.

Comment 5 Jiri Svitak 2015-01-13 12:12:47 UTC
This BZ targets rollup patch #2, thus updating flags.