Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Child work item opens instead of parent work item

SA-85689

Summary

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.


Error Messages


 

Not Applicable

 

Steps to Reproduce

  1. Create a child case in the flow by using smart shape
  2. Use the below Mashup to open the parent case:
        <div data-pega-gadgetname='PegaMashupGadget' data-pega-action='openWorkItem'
            data-pega-action-param-classname='CLASSNAME'
            data-pega-action-param-workid = 'PARENT_WORKID'
            data-pega-isdeferloaded='false'
            data-pega-applicationname='APPLICATION_NAME' data-pega-threadname='STANDARD' data-pega-resizetype='stretch'
            data-pega-url='https://IPAdress/prweb/IAC' "
            style="height:100%" > 
        </div>


Root Cause



This behavior is as per the Pega product design.

Resolution



Here’s the explanation for the reported behavior:
  1. Override the GetWorkByID activity from the Pega-ProcessEngine ruleset to the application ruleset
  2. Set the ShowContents value to False 

Suggest Edit

Published December 16, 2019 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us