Reproduce:
- Have a process instance with a multi-instance activity, but no running activity instances of the MI activity
- Use Cockpit to start before the activity (not the MI body)
- Apply modification
- applies only to multi-instance tasks that are not a scope (i.e. not mi subprocesses)
Expected:
- new MI body is started (because none exist to hold the new MI activity)
- new MI activity is started in the newly created MI body
Observed:
- new MI body is started
- no new MI activity is started (or is not visible), however, MI body variable numberOfInstances is 1
Reason:
- modification sets the activity instance id of the mi body scope execution to null; this leads to a wrong activity instance tree
Workaround:
- start the activity again in a separate modification and select the previously created MI body as ancestor
- now the numberOfInstances is 2 (even if there is only one instance), so you might have to set it back to one manually
This is the controller panel for Smart Panels app
- is related to
-
CAM-5060 NPE when opening Process Definition view after performing a MI instance modification
- Closed