<?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 Re: Demand Approval by Stakeholders in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228097#M880081</link>
    <description>&lt;P&gt;Brilliant!&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;AND there is a "rogue" BR which was killing my Workflow - "Cancel Workflows Upon Cancellation" which has a long list of excluded tables for state=4 and needed dmn_demand added.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;(They've basically screwed the design up at this point if you'll excuse my language)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Anyway, thanks again, have more brownie points&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://www.servicenow.com/6.0.3.0/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://www.servicenow.com/6.0.3.0/images/emoticons/grin.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 25 Jun 2015 15:55:33 GMT</pubDate>
    <dc:creator>mike_bush</dc:creator>
    <dc:date>2015-06-25T15:55:33Z</dc:date>
    <item>
      <title>Demand Approval by Stakeholders</title>
      <link>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228091#M880075</link>
      <description>&lt;P&gt;I'm starting to get to grips with Fuji Demand Management but wonder if &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;am missing something?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can attach Stakeholders based on the Portfolio - good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These people can be marked as "Assessment Recipient" and they are sent questionnaires during the "Screening" stage - excellent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They can &lt;SPAN style="text-decoration: underline;"&gt;also&lt;/SPAN&gt; be marked as "Approvers" - BUT - I can find no way of getting Approvals sent out to them automatically when I move to "Qualified"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So - what am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2015 19:07:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228091#M880075</guid>
      <dc:creator>mike_bush</dc:creator>
      <dc:date>2015-06-24T19:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Demand Approval by Stakeholders</title>
      <link>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228092#M880076</link>
      <description>&lt;P&gt;I had the same issue. I added a business rule that fires when the state changes to Qualified that runs the script below.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14351788717916491 jive_macro_code" jivemacro_uid="_14351788717916491"&gt;
&lt;P&gt;var grStakeHolder = new GlideRecord('dmn_stakeholder_register');&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;grStakeHolder.addQuery('portfolio',current.portfolio);&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;grStakeHolder.addQuery('approver','yes');&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;grStakeHolder.query();&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;while (grStakeHolder.next()) {&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; //gs.log('Found an approver for demand ' + current.name);&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; var grApproval = new GlideRecord('sysapproval_approver');&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; grApproval.initialize();&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; grApproval.approver = grStakeHolder.user;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; grApproval.state = 'requested';&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; grApproval.sysapproval = current.sys_id;&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt; &amp;nbsp; grApproval.insert();&lt;/P&gt;&lt;BR /&gt;
&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;
&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Jun 2015 20:48:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228092#M880076</guid>
      <dc:creator>amkatulak</dc:creator>
      <dc:date>2015-06-24T20:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Demand Approval by Stakeholders</title>
      <link>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228093#M880077</link>
      <description>&lt;P&gt;Thanks Adam this looks great. BUT - I have tried this and although the User Approvals are attached as "Requested" they immediately jump into the "No Longer Required" state - any ideas what is causing this?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jun 2015 07:34:31 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228093#M880077</guid>
      <dc:creator>mike_bush</dc:creator>
      <dc:date>2015-06-25T07:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Demand Approval by Stakeholders</title>
      <link>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228094#M880078</link>
      <description>&lt;P&gt;Have you tried turning on debugging to see what is changing the state value on approval? &amp;nbsp; Probably another business rule or something is running.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jun 2015 13:46:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228094#M880078</guid>
      <dc:creator>amkatulak</dc:creator>
      <dc:date>2015-06-25T13:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Demand Approval by Stakeholders</title>
      <link>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228095#M880079</link>
      <description>&lt;P&gt;Not tried much debug - but have done some more experimenting. I felt I wanted the APPROVERS to be visible earlier in the process (so that they can be adjusted before start) so I moved the "create" BR to the SUBMIT stage - perfect - they all appear as "Not yet requested". Then I used the "Qualified" BR to set Approval = Requested at which point they all go "No Longer Required"! &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;So then I started reading WIKI articles on approval and they are all basically couched in "workflow" terms - SO - I thought - I'll have a workflow which attaches at "Qualified" and just contains a "Manual Approvals" entry to pick up Approved or Rejected by the first person and pass it to the Demand Approval field. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;BUT this workflow, having attached and moved into the "Manual Approval" node immediately gets CANCELLED! Why? By whom?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;So, as you say, something is interfering with the process - not sure where to start with debug - BR logging is horrendous!&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jun 2015 14:00:40 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228095#M880079</guid>
      <dc:creator>mike_bush</dc:creator>
      <dc:date>2015-06-25T14:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Demand Approval by Stakeholders</title>
      <link>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228096#M880080</link>
      <description>&lt;P&gt;Actually, I remember having the same issue. &amp;nbsp; There is a business rule that runs on the task table called 'Moot Approvals Upon Cancellation' that cancels approvals when the state of a task record changes to '4'. &amp;nbsp; '4' is usually 'Closed Complete' but for the demand table it is 'Qualified'. &amp;nbsp; I edited that business rule's condition to tell it to not run if the task_type is demand. &amp;nbsp; Try that out and see if it works for you as well.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jun 2015 15:00:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228096#M880080</guid>
      <dc:creator>amkatulak</dc:creator>
      <dc:date>2015-06-25T15:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Demand Approval by Stakeholders</title>
      <link>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228097#M880081</link>
      <description>&lt;P&gt;Brilliant!&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;AND there is a "rogue" BR which was killing my Workflow - "Cancel Workflows Upon Cancellation" which has a long list of excluded tables for state=4 and needed dmn_demand added.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;(They've basically screwed the design up at this point if you'll excuse my language)&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Anyway, thanks again, have more brownie points&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://www.servicenow.com/6.0.3.0/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;SPAN __jive_emoticon_name="grin" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://www.servicenow.com/6.0.3.0/images/emoticons/grin.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Jun 2015 15:55:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228097#M880081</guid>
      <dc:creator>mike_bush</dc:creator>
      <dc:date>2015-06-25T15:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Demand Approval by Stakeholders</title>
      <link>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228098#M880082</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif; color: #485563;"&gt;To leverage the approval settings for Demand stakeholders, here's a step-by-step guide to configure approval requests using the OOB approval engine (once a Demand moves to the &lt;EM&gt;Qualified&lt;/EM&gt; state)&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"&gt;&lt;STRONG style="color: #485563; font-size: 12.0pt;"&gt;Step 1 — Approval Engine&lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: #485563;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #485563;"&gt;Navigate to &lt;STRONG&gt;System Properties&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Approval Engines&lt;/STRONG&gt;&lt;BR /&gt;Update Demand Approval Engine to: &lt;STRONG&gt;Approval Rules&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"&gt;&lt;STRONG style="color: #485563; font-size: 12.0pt;"&gt;Step 2 — Create Business Rule &lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: #485563;"&gt;(Demand Approval Request)&lt;BR /&gt;&lt;STRONG style="color: #485563; font-size: 10.0pt;"&gt;Table: &lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: #485563;"&gt;dmn_demand&lt;BR /&gt;&lt;STRONG&gt;When to Run:&lt;/STRONG&gt; (After) State changes to Qualified&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #485563; font-size: 10pt;"&gt;Advanced&lt;/STRONG&gt;&lt;SPAN style="color: #485563; font-size: 10pt;"&gt; Script:&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="margin: 0in 0in .0001pt .75in;"&gt;&lt;EM&gt;var grStakeHolder = new GlideRecord('dmn_stakeholder_register'); &lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="margin: 0in 0in .0001pt .75in;"&gt;&lt;EM&gt;grStakeHolder.addQuery('portfolio',current.portfolio); &lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="margin: 0in 0in .0001pt .75in;"&gt;&lt;EM&gt;grStakeHolder.addQuery('approver','yes'); &lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="margin: 0in 0in .0001pt .75in;"&gt;&lt;EM&gt;grStakeHolder.query(); &lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="margin: 0in 0in .0001pt .75in;"&gt;&lt;EM&gt;while (grStakeHolder.next()) { &lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="margin: 0in 0in .0001pt .75in;"&gt;&lt;EM&gt; &amp;nbsp; //gs.log('Found an approver for demand ' + current.name); &lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="margin: 0in 0in .0001pt .75in;"&gt;&lt;EM&gt; &amp;nbsp; var grApproval = new GlideRecord('sysapproval_approver'); &lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="margin: 0in 0in .0001pt .75in;"&gt;&lt;EM&gt; &amp;nbsp; grApproval.initialize(); &lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="margin: 0in 0in .0001pt .75in;"&gt;&lt;EM&gt; &amp;nbsp; grApproval.approver = grStakeHolder.user; &lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="margin: 0in 0in .0001pt .75in;"&gt;&lt;EM&gt; &amp;nbsp; grApproval.state = 'requested'; &lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="margin: 0in 0in .0001pt .75in;"&gt;&lt;EM&gt; &amp;nbsp; grApproval.sysapproval = current.sys_id; &lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="margin: 0in 0in .0001pt .75in;"&gt;&lt;EM&gt; &amp;nbsp; grApproval.insert(); &lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="margin: 0in 0in .0001pt .75in;"&gt;&lt;EM&gt;} &lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"&gt;&lt;STRONG style="color: #485563; font-size: 12.0pt;"&gt;Step 3 — Create Business Rule&lt;/STRONG&gt; &lt;SPAN style="font-size: 12.0pt; color: #485563;"&gt;(Set Demand to Approved)&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"&gt;&lt;STRONG style="color: #485563; font-size: 10.0pt;"&gt;Table: &lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: #485563;"&gt;dmn_demand&lt;STRONG&gt;&lt;BR /&gt;When to Run:&lt;/STRONG&gt; (After) Approval &lt;EM&gt;changes to&lt;/EM&gt; Approved&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: #485563;"&gt;Set Field Values&lt;/SPAN&gt;:&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; color: #485563;"&gt;State &lt;EM&gt;to &lt;/EM&gt;Approved&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"&gt;&lt;STRONG style="color: #485563; font-size: 12.0pt;"&gt;Step 4 &amp;nbsp; &lt;/STRONG&gt;&lt;SPAN style="font-size: 12.0pt; color: #485563;"&gt;(Optional) &lt;STRONG&gt;— Add Approvers Related list to Demand Form&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #485563;"&gt;On the Demand form, click the action icon and select &lt;STRONG&gt;Configure &lt;/STRONG&gt;-&amp;gt; &lt;STRONG&gt;Related List&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #485563;"&gt;Add the &lt;STRONG&gt;Approvers&lt;/STRONG&gt; list to the Selected column.&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; color: #485563;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Oct 2017 08:13:16 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228098#M880082</guid>
      <dc:creator>m_murphy</dc:creator>
      <dc:date>2017-10-10T08:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Demand Approval by Stakeholders</title>
      <link>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228099#M880083</link>
      <description>&lt;P&gt;Thank you murphy, I wrote an article about that in the community with an update set related implementation: &lt;A title="How to implement the approver process on demands for approvers stakeholders" href="https://www.servicenow.com/community/community?id=community_article&amp;amp;sys_id=7165e88ddbc663c0fb4ae15b8a961996" rel="nofollow"&gt;https://community.servicenow.com/community?id=community_article&amp;amp;sys_id=7165e88ddbc663c0fb4ae15b8a961996&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 10:01:26 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2228099#M880083</guid>
      <dc:creator>MarcoN376343603</dc:creator>
      <dc:date>2018-11-26T10:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Demand Approval by Stakeholders</title>
      <link>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2615106#M1016948</link>
      <description>&lt;P&gt;I know this is an old post but I was looking for information for approvers. In order to approve demand, do we need any role like a business stakeholder?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 08:08:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/demand-approval-by-stakeholders/m-p/2615106#M1016948</guid>
      <dc:creator>richam</dc:creator>
      <dc:date>2023-07-17T08:08:12Z</dc:date>
    </item>
  </channel>
</rss>

