<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Widget not showing up under certain circumstances (HRSD Cases) in Employee Slate and Employee Center forum</title>
    <link>https://www.servicenow.com/community/employee-slate-and-employee/widget-not-showing-up-under-certain-circumstances-hrsd-cases/m-p/3510557#M15483</link>
    <description>&lt;P&gt;I'm trying to understand how the HRM Case Info widget determines what info is displayed to certain users.&lt;BR /&gt;&lt;BR /&gt;Specifically, when a person tries to view a HR Case ticket (that they request for themselves) through the "My Requests" page they usually get this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2026-03-18_15-41-14.PNG" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/506619iB54561F8BF177ACD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2026-03-18_15-41-14.PNG" alt="2026-03-18_15-41-14.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;We have modified our HR intake process so that Managers can request HR services on behalf of their direct reports.&amp;nbsp; So if we set it up so that the Manager requests on behalf of the employee, the following is seen:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2026-03-18_16-13-44.PNG" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/506620i93ED71DEF4240453/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2026-03-18_16-13-44.PNG" alt="2026-03-18_16-13-44.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note how the info below the Title of the request is shown when the user is requesting for themselves but not when they request for someone else.&amp;nbsp; How is the HRM Case Info widget set up to display these fields and is there a requirement that the person submitting needs to be the same as the person's name on the ticket?&lt;BR /&gt;&lt;BR /&gt;We don't think there is an issue with the access control for the tickets in question for two reasons: 1) when we attempted to reproduce this with someone with Admin access, they have the same issue as the second screenshot and 2) we attempted to check the access control for the widget itself and both the person who is submitting the tickets and the person who is requesting the ticket for is have the same roles.&lt;BR /&gt;&lt;BR /&gt;Some insight would be useful as to how this specific widget works.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Mar 2026 20:22:30 GMT</pubDate>
    <dc:creator>tahnalos</dc:creator>
    <dc:date>2026-03-18T20:22:30Z</dc:date>
    <item>
      <title>Widget not showing up under certain circumstances (HRSD Cases)</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/widget-not-showing-up-under-certain-circumstances-hrsd-cases/m-p/3510557#M15483</link>
      <description>&lt;P&gt;I'm trying to understand how the HRM Case Info widget determines what info is displayed to certain users.&lt;BR /&gt;&lt;BR /&gt;Specifically, when a person tries to view a HR Case ticket (that they request for themselves) through the "My Requests" page they usually get this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2026-03-18_15-41-14.PNG" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/506619iB54561F8BF177ACD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2026-03-18_15-41-14.PNG" alt="2026-03-18_15-41-14.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;We have modified our HR intake process so that Managers can request HR services on behalf of their direct reports.&amp;nbsp; So if we set it up so that the Manager requests on behalf of the employee, the following is seen:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2026-03-18_16-13-44.PNG" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/506620i93ED71DEF4240453/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2026-03-18_16-13-44.PNG" alt="2026-03-18_16-13-44.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note how the info below the Title of the request is shown when the user is requesting for themselves but not when they request for someone else.&amp;nbsp; How is the HRM Case Info widget set up to display these fields and is there a requirement that the person submitting needs to be the same as the person's name on the ticket?&lt;BR /&gt;&lt;BR /&gt;We don't think there is an issue with the access control for the tickets in question for two reasons: 1) when we attempted to reproduce this with someone with Admin access, they have the same issue as the second screenshot and 2) we attempted to check the access control for the widget itself and both the person who is submitting the tickets and the person who is requesting the ticket for is have the same roles.&lt;BR /&gt;&lt;BR /&gt;Some insight would be useful as to how this specific widget works.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 20:22:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/widget-not-showing-up-under-certain-circumstances-hrsd-cases/m-p/3510557#M15483</guid>
      <dc:creator>tahnalos</dc:creator>
      <dc:date>2026-03-18T20:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Widget not showing up under certain circumstances (HRSD Cases)</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/widget-not-showing-up-under-certain-circumstances-hrsd-cases/m-p/3510658#M15484</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/195503"&gt;@tahnalos&lt;/a&gt;&amp;nbsp;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;The widget name is &lt;STRONG&gt;&lt;CODE&gt;HRM Case Info&lt;/CODE&gt;&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;The main condition controlling whether the richer information is shown is:&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;if&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt; (&lt;SPAN class=""&gt;data&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;openForView &lt;SPAN class=""&gt;||&lt;/SPAN&gt; &lt;SPAN class=""&gt;data&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;isApprovalRequired)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;The values used in that condition come from:&lt;/FONT&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;data&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;openForView &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;util&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;isOpenedForView();&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;EM&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;isApprovalRequired &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;util&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;isApprovalRequired(&lt;SPAN class=""&gt;data&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;parentCaseId, &lt;SPAN class=""&gt;gs&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;getUserID());&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;That means the widget is not simply showing fields to anyone who has access to the ticket. It is specifically showing them when the current user qualifies as part of the &lt;STRONG&gt;opened-for view&lt;/STRONG&gt; or as an &lt;STRONG&gt;approver&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;So in your manager-on-behalf-of scenario, the likely reason the info below the title is missing is that the manager is the &lt;STRONG&gt;submitter/opened_by&lt;/STRONG&gt;, but does not satisfy &lt;CODE&gt;isOpenedForView()&lt;/CODE&gt; for that case. As a result, the widget skips the block that populates those fields.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Kind regards,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;An Le&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 02:50:43 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/widget-not-showing-up-under-certain-circumstances-hrsd-cases/m-p/3510658#M15484</guid>
      <dc:creator>An Le</dc:creator>
      <dc:date>2026-03-19T02:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Widget not showing up under certain circumstances (HRSD Cases)</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/widget-not-showing-up-under-certain-circumstances-hrsd-cases/m-p/3511176#M15489</link>
      <description>&lt;P&gt;Thank you for your help.&lt;BR /&gt;&lt;BR /&gt;What is the data object?&amp;nbsp; I am unclear as to how widgets work.&amp;nbsp; Is openForView a defined attribute?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 20:43:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/widget-not-showing-up-under-certain-circumstances-hrsd-cases/m-p/3511176#M15489</guid>
      <dc:creator>tahnalos</dc:creator>
      <dc:date>2026-03-19T20:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Widget not showing up under certain circumstances (HRSD Cases)</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/widget-not-showing-up-under-certain-circumstances-hrsd-cases/m-p/3511214#M15490</link>
      <description>&lt;P&gt;Ok so I attempted to modify the code itself with a custom function.&amp;nbsp; The following lines were added to the Widget and the code is still working but the Opened By person still cannot see the data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following line was modified:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;data.openForView = util.isOpenedForView () || isOpenedByView (grCase);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;The following lines were added to the widget:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt; isOpenedByView (gr)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; { &amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (gs.nil(gr))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt; &lt;SPAN&gt;false&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; opened_by = &lt;/SPAN&gt;&lt;SPAN&gt;String&lt;/SPAN&gt;&lt;SPAN&gt; (gr.opened_by);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt; opened_by == gs.getUserID ();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I've ran tests on these lines and they appear to be working but the widget still doesn't show.&amp;nbsp; Is there something that I'm missing regarding how the widget is supposed to work?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Mar 2026 22:35:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/widget-not-showing-up-under-certain-circumstances-hrsd-cases/m-p/3511214#M15490</guid>
      <dc:creator>tahnalos</dc:creator>
      <dc:date>2026-03-19T22:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Widget not showing up under certain circumstances (HRSD Cases)</title>
      <link>https://www.servicenow.com/community/employee-slate-and-employee/widget-not-showing-up-under-certain-circumstances-hrsd-cases/m-p/3511830#M15496</link>
      <description>&lt;P&gt;Thanks for your help.&amp;nbsp; It looks like I need to modify&amp;nbsp;_getCaseConfiguration to include the criteria for opened_by, as the criteria strictly looks at opened_for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could modfiy the hr_PortalUtil, but that is marked as a core file so according to ServiceNow best practices, it's best to create a extension of the hr_PortalUtil and have the widget look at that.&amp;nbsp; And that part is a whole new can of worms that I have already asked elsewhere in the community.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2026 16:00:39 GMT</pubDate>
      <guid>https://www.servicenow.com/community/employee-slate-and-employee/widget-not-showing-up-under-certain-circumstances-hrsd-cases/m-p/3511830#M15496</guid>
      <dc:creator>tahnalos</dc:creator>
      <dc:date>2026-03-20T16:00:39Z</dc:date>
    </item>
  </channel>
</rss>

