Support Article
Error occured when case which has parent case is referred
SA-38925
Summary
User is not able to open a child case when user does not have access permissions to parent case.
Error Messages
Work Object Not Found
Application XXXXX
Message Unable to open an instance using the given inputs
Steps to Reproduce
Not Applicable
Root Cause
User must have privilege to open both parent and child case in order to open a child case.
Pega verified the access role of the user, and user doesn't have access to parent case.
Resolution
Perform the following local-change step:
Change the access when to allow opening pyWorkCover, so that the parent is opened from child properly and direct opening of parent is blocked.
Refer to the following screenshot and explanation mentioned in the example as well:

Example:
'A' contains the actual filter logic. Add 'B' which checks if pyWorkPage.pxCoverInsKey equals pzInsKey (this confirrms if we are trying to open a parent case from a child). As the logic string is A || B, user will be able to open pyWorkCover from child case.
Published July 17, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.