Title: Catalog UI Policies Not Working in HR Agent Workspace When Impersonating Another User
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi everyone,
I'm working on an HRSD implementation in ServiceNow and have configured several Catalog UI Policies on variables associated with an HR Record Producer.
The policies work as expected when I access HR Agent Workspace using my own account. However, when I impersonate another user and open the same HR case in HR Agent Workspace, none of the Catalog UI Policies seem to execute.
The affected variables are part of an HR Benefits Case, and the policies are intended to control variable visibility and behavior based on certain conditions.
I've already configured the UI Policies and their associated UI Policy Actions on the Record Producer variables.
does anyone of you faces this issue before?
- Labels:
-
Human Resources Service Delivery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hello @ghitabahaj
Since the policies work with your admin account but not when impersonating another user, I would recommend checking the following in order:
- Test with the affected user directly: Log in as the affected user in a separate browser session and open the same HR case in HR Agent Workspace. This will help determine whether the issue is related to impersonation or the user's access.
- Check variable access: Compare the affected user's roles with your admin account. Review the variables' Read and Write roles and check relevant ACLs if there are access-related issues.
- Verify the Catalog UI Policy configuration: Since the variables originate from an HR Record Producer, confirm that Applies on the Target Record is enabled. Also verify that the policy is associated with the correct Record Producer or Variable Set and references the correct variables.
- Review policy conditions and scripts: Check whether the conditions or Execute if True/False scripts depend on user roles or other user-specific information. Review the browser console for JavaScript errors during testing.
- Check for conflicting policies: As suggested by Max Dore, temporarily deactivate other policies and test each policy individually to identify any conflicts.
- Compare the behavior across interfaces: Test the same case in the platform UI and HR Agent Workspace. If the policy works in the platform UI but not in Workspace, investigate whether the specific Catalog UI Policy functionality is supported by the Workspace variable editor in your ServiceNow release.
Please share your ServiceNow release version and the results of these tests to help narrow down the root cause.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Have you checked, whether there is any other UI policy which might be creating conflict?