-
Bug
-
Resolution: Done
-
Critical
-
None
-
6.0.2
-
None
Description of problem:
Let's my Multi-Instance sub process is iterating over List<Person> and I am storing the element of the current iteration in the variable called 'myPerson'.
In multi-instance sub process, there will be new process created, which will include Human Task with the Data Input which will be mapped by 'myPerson'.
When you change whatever value of this object it will be updated once the Human Task is completed.
However, when the the whole multi-instance sub process will be completed (after all sub processes are completed) the updated value is lost and we are back to the 'original' value.
Version-Release number of selected component (if applicable):
bpm 6.0.2
How reproducible:
always
Steps to Reproduce:
1. Clone the git repository, build the project
2. In CustChildApproval process you need to change "actor" value of the Human Task
3. Build the project
4. Start the InvoiceProcessing-CustomerName process
5. Fill in the following input field 'ccOwners (_Application)' with the comma separated list of values, for example "actor1,actor2,actor3"
– size of the list will determine number of instance of the the multi-instance sub process
6. Complete all human tasks, and in each, change the value of ccOwner, for example, from actor1 to actor1-changed
7. Observe the output
Actual results:
Element of the iteration of multi-instance sub process is not updated once the multi-instance sub process joins the main process execution
Expected results:
Element of the iteration of multi-instance sub process is updated.
Additional info:
This may be related to the https://bugzilla.redhat.com/show_bug.cgi?id=1123855
As the assignment section of the reusable sub process in the multi-instance subprocess was created using 'hacks'.
- is related to
-
RHBPMS-266 Unable to assign variable name of the multi-instance sub process
- Verified
- relates to
-
RHBPMS-266 Unable to assign variable name of the multi-instance sub process
- Verified