Case wide local actions/flow actions behaviour in theme cosmos
This document explains the behaviour of case wide local and flow actions in theme cosmos.
Use case 1: Case wide local/flow actions opened in review mode
When ever a wo is opened from a link which is configured using "OpenWorkByHandle" action or a wo is opened after creation, it opens the work object in read only mode and the top level harness will be the review harness.
1) Flow actions will be opened in the main area inside primary ajax container for processing the assignment.
2) Case wide local actions of wo will be opened in the tertiary ajax container in a dialog container.
Use case 2: Case wide local/flow actions opened in perform mode
When a wo is opened from go button from home todo worklist, it opens the work object in perform mode directly and the harness will be the perform harness. This perform harness would not be placed inside the ajax container and there will only be one harness in the page. This is an expected behaviour, as the GO button uses "OpenAssignment" action api.
Both the case wide local actions and flow actions will always be opened in the main area in the primary ajax container for assignment processing.
Use case 3: Case wide local/flow actions opened from preview panel
When a wo is launched in preview panel, both the case wide local actions and flow actions will always be opened in the tertiary ajax container in a dialog container for assignment processing.
For more details on case assignmennt processing and configuring case wide local actions please refer the below documents:
https://collaborate.pega.com/discussion/automatically-render-local-action-ui-modal-theme-cosmos