Bug 1123789

Summary: On Entry/Exit action script is not executed in multi-instance sub process
Product: [Retired] JBoss BPMS Platform 6 Reporter: Anton Giertli <agiertli>
Component: jBPM CoreAssignee: Alessandro Lazarotti <alazarot>
Status: CLOSED EOL QA Contact: Marek Baluch <mbaluch>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0.2CC: alazarot, mbaluch, rzhang
Target Milestone: ER1   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Fixed Issue Summary: On Entry/Exit action scripts were not successfully executed in a multiple instance subprocess due to an issue with the way the SubProcessHandler dealt with On Entry and On Exit scripts. This has been fixed and added to 6.0.3.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:10:44 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:    
Bug Blocks: 1115481    
Attachments:
Description Flags
[0] git repository
none
[0] git repository none

Description Anton Giertli 2014-07-28 09:17:11 UTC
Created attachment 921737 [details]
[0] git repository

Description of problem:

On Entry/Exit action script is not executed in multi-instance sub process

Version-Release number of selected component (if applicable):
bpm 6.0.2

How reproducible:

always
Steps to Reproduce:
1. You can either create any valid process definition which includes multi-instance sub process and set on entry/exit actions scripts OR you can use my attached git repository.

2. import the repository into the business-central
3. build the project
4. execute the Parent process
5. You should see the following output:

1 On Entry Actions in multi-instance sub process
2 re-usable sub process in the multi-instance sub process was invoked
3 re-usable sub process in the multi-instance sub process was invoked
4 On Exit Actions in multi-instance sub process

However, only lines 2/3 are printed.



Actual results:
On Entry / Exit action script is not executed in multi-instance sub process

Expected results:
On Entry / Exit action script is executed in multi-instance sub process

Additional info:

Tested only in business-central, not outside.

Comment 2 Anton Giertli 2014-07-29 10:56:05 UTC
Created attachment 922103 [details]
[0] git repository

ParentMulti includes multi-instance process.
When build, execute "InvoiceProcessing"

Comment 5 Maciej Swiderski 2014-08-01 17:43:05 UTC
fixed on master

jbpm
master:
https://github.com/droolsjbpm/jbpm/commit/0da5f159460954d9dd97b50b32ee0fef89c613c7

if needed to be back ported please assign it back to me

Comment 13 Marek Baluch 2014-08-25 12:45:41 UTC
Verified on 6.0.3.ER1