<?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 How Can I send an approval to a GM of a department? in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/how-can-i-send-an-approval-to-a-gm-of-a-department/m-p/2992346#M1131040</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm stuck with an approval I can't seem to figure out, I'm fairly new to scripting so I apologize if this is something simple.&lt;/P&gt;&lt;P&gt;All of our approvals for the company are sent to the General Manager of a department. Some forms have a reference field that pulls the users department then a second field that pulls the GM of that department. for those requests I'm just pointing to the variable general_manager to send out the approval to the correct person.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some of our other requests we don't want the requested for fields on the request form so I need to pull this information based on who is opening the request. Below is the path to the General Manager (primary_contact). I thought about having a hidden variable on the form that I could point to but can see this becoming a problem down the road with some of the forms currently in our backlog. Any help is much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sys_user -&amp;gt;&amp;nbsp;cmn_department -&amp;gt;&amp;nbsp;primary_contact&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2024 14:20:30 GMT</pubDate>
    <dc:creator>jamesturney</dc:creator>
    <dc:date>2024-07-17T14:20:30Z</dc:date>
    <item>
      <title>How Can I send an approval to a GM of a department?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-can-i-send-an-approval-to-a-gm-of-a-department/m-p/2992346#M1131040</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm stuck with an approval I can't seem to figure out, I'm fairly new to scripting so I apologize if this is something simple.&lt;/P&gt;&lt;P&gt;All of our approvals for the company are sent to the General Manager of a department. Some forms have a reference field that pulls the users department then a second field that pulls the GM of that department. for those requests I'm just pointing to the variable general_manager to send out the approval to the correct person.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some of our other requests we don't want the requested for fields on the request form so I need to pull this information based on who is opening the request. Below is the path to the General Manager (primary_contact). I thought about having a hidden variable on the form that I could point to but can see this becoming a problem down the road with some of the forms currently in our backlog. Any help is much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sys_user -&amp;gt;&amp;nbsp;cmn_department -&amp;gt;&amp;nbsp;primary_contact&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 14:20:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-can-i-send-an-approval-to-a-gm-of-a-department/m-p/2992346#M1131040</guid>
      <dc:creator>jamesturney</dc:creator>
      <dc:date>2024-07-17T14:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I send an approval to a GM of a department?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-can-i-send-an-approval-to-a-gm-of-a-department/m-p/2992350#M1131042</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/748838"&gt;@jamesturney&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer to below thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.servicenow.com/community/itsm-forum/send-approval-request-to-department-manager/m-p/512874/page/2" target="_blank"&gt;https://www.servicenow.com/community/itsm-forum/send-approval-request-to-department-manager/m-p/512874/page/2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://servicenow.com/community/itsm-forum/how-to-send-a-approval-to-particular-manager/m-p/563866/page/2" target="_blank"&gt;https://servicenow.com/community/itsm-forum/how-to-send-a-approval-to-particular-manager/m-p/563866/page/2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sumanth Meda&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 14:25:37 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-can-i-send-an-approval-to-a-gm-of-a-department/m-p/2992350#M1131042</guid>
      <dc:creator>Sumanth16</dc:creator>
      <dc:date>2024-07-17T14:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I send an approval to a GM of a department?</title>
      <link>https://www.servicenow.com/community/developer-forum/how-can-i-send-an-approval-to-a-gm-of-a-department/m-p/2992535#M1131087</link>
      <description>&lt;P&gt;Thank you for the link Sumanth, I actually figured it out on my own without scripting. I completely skipped over the fact I could use the tree picker and find opened by -&amp;gt; department -&amp;gt; general manager. That link had some useful information in it though so thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 18:13:19 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-can-i-send-an-approval-to-a-gm-of-a-department/m-p/2992535#M1131087</guid>
      <dc:creator>jamesturney</dc:creator>
      <dc:date>2024-07-17T18:13:19Z</dc:date>
    </item>
  </channel>
</rss>

