Child work item opens instead of parent work item
User opens a parent work item using the openWorkItem action which triggers the GetWorkByID activity to open the work item in the Pega Mashup. However, the first child work item opens instead of the parent work item.
Steps to Reproduce
- Create a child case in the flow by using smart shape
- Use the below Mashup to open the parent case:
data-pega-action-param-workid = 'PARENT_WORKID'
data-pega-applicationname='APPLICATION_NAME' data-pega-threadname='STANDARD' data-pega-resizetype='stretch'
This behavior is as per the Pega product design.
Here’s the explanation for the reported behavior:
- Override the GetWorkByID activity from the Pega-ProcessEngine ruleset to the application ruleset
- Set the ShowContents value to False