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
[CAM-3964] Start Before MI Activity with Non MI-Body ancestor creates empty MI-Body
Rank | New: Ranked higher |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Assignee | New: Thorben Lindhauer [ thorben.lindhauer ] |
Description |
Original:
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 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 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 |
New:
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 |
Assignee | Original: Thorben Lindhauer [ thorben.lindhauer ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Remaining Estimate | New: 0 minutes [ 0 ] | |
Original Estimate | New: 0 minutes [ 0 ] |
Assignee | New: Sebastian Menski [ sebastian.menski ] |
Status | Original: Resolved [ 5 ] | New: In Test [ 10004 ] |
Assignee | Original: Sebastian Menski [ sebastian.menski ] | New: Michael Schoettes [ michael.schoettes ] |
Status | Original: In Test [ 10004 ] | New: Closed [ 6 ] |