<?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: Group Approvals and &amp;quot;cancelled&amp;quot; behavior, result is &amp;quot;skipped&amp;quot;  in ServiceNow AI Platform forum</title>
    <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/group-approvals-and-quot-cancelled-quot-behavior-result-is-quot/m-p/1100828#M57217</link>
    <description>&lt;P&gt;Try setting the State of the approvals to "Not yet requested" instead of cancelling them.&lt;/P&gt;
&lt;P&gt;Please refer below:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.servicenow.com/community?id=community_question&amp;amp;sys_id=38fb0325db9cdbc01dcaf3231f9619e2" rel="nofollow"&gt;https://community.servicenow.com/community?id=community_question&amp;amp;sys_id=38fb0325db9cdbc01dcaf3231f9619e2&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jun 2019 01:55:07 GMT</pubDate>
    <dc:creator>Raf1</dc:creator>
    <dc:date>2019-06-04T01:55:07Z</dc:date>
    <item>
      <title>Group Approvals and "cancelled" behavior, result is "skipped"</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/group-approvals-and-quot-cancelled-quot-behavior-result-is-quot/m-p/1100827#M57216</link>
      <description>&lt;P&gt;I have the OOTB workflow activity "Group Approval"&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/109717i7DBB4BCA9FD5A70F/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have added a condition "canceled" which has the condition...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/109716iCE8B96F16AD61256/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When i change the group approval record to cancelled the workflow activity result is "skipped" which makes the activity go through the approved exit condition.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why does it not go through the canceled exit condition?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the Workflow activity definition there is an onCancel: function&amp;nbsp; that looks to be what i want to trigger but i have no idea why it is not triggering?&lt;/P&gt;
&lt;P&gt;Thanks for any help or insight.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 00:53:55 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/group-approvals-and-quot-cancelled-quot-behavior-result-is-quot/m-p/1100827#M57216</guid>
      <dc:creator>Edward Halliday</dc:creator>
      <dc:date>2019-06-04T00:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Group Approvals and "cancelled" behavior, result is "skipped"</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/group-approvals-and-quot-cancelled-quot-behavior-result-is-quot/m-p/1100828#M57217</link>
      <description>&lt;P&gt;Try setting the State of the approvals to "Not yet requested" instead of cancelling them.&lt;/P&gt;
&lt;P&gt;Please refer below:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.servicenow.com/community?id=community_question&amp;amp;sys_id=38fb0325db9cdbc01dcaf3231f9619e2" rel="nofollow"&gt;https://community.servicenow.com/community?id=community_question&amp;amp;sys_id=38fb0325db9cdbc01dcaf3231f9619e2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 01:55:07 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/group-approvals-and-quot-cancelled-quot-behavior-result-is-quot/m-p/1100828#M57217</guid>
      <dc:creator>Raf1</dc:creator>
      <dc:date>2019-06-04T01:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Group Approvals and "cancelled" behavior, result is "skipped"</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/group-approvals-and-quot-cancelled-quot-behavior-result-is-quot/m-p/1100829#M57218</link>
      <description>&lt;P&gt;Hey Raf, good to see you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the Group Approval is set too 'not yet requested' no result condition is met. It does not exit the group approval workflow activity.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ie the activity.result == 'not requested' (also tried 'not_requested').&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/109718i14AC7FB2C5344F6D/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also tried a Wait For Condition Based on Script where i checked for the value to be not yet required. (and nudged the workflow to trigger)&lt;/P&gt;
&lt;P&gt;But this caused the result of 'rejected'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if (counts.approved != 0) {&lt;BR /&gt; answer = 'approved';&lt;BR /&gt;} else if (counts.rejected =! 0) {&lt;BR /&gt; answer = 'rejected';&lt;BR /&gt;} else if (counts.not_required !=0) {&lt;BR /&gt; answer = 'not_required';&lt;BR /&gt;} else if (count.not_required !=0) {&lt;BR /&gt; answer = 'not requested';&lt;BR /&gt; activity.result = 'not requested';&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 07:47:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/group-approvals-and-quot-cancelled-quot-behavior-result-is-quot/m-p/1100829#M57218</guid>
      <dc:creator>Edward Halliday</dc:creator>
      <dc:date>2019-06-04T07:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Group Approvals and "cancelled" behavior, result is "skipped"</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/group-approvals-and-quot-cancelled-quot-behavior-result-is-quot/m-p/1100830#M57219</link>
      <description>&lt;P&gt;Ended up modifying the Activity&amp;nbsp;definition to fix&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2019 10:38:59 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/group-approvals-and-quot-cancelled-quot-behavior-result-is-quot/m-p/1100830#M57219</guid>
      <dc:creator>Edward Halliday</dc:creator>
      <dc:date>2019-06-06T10:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Group Approvals and "cancelled" behavior, result is "skipped"</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/group-approvals-and-quot-cancelled-quot-behavior-result-is-quot/m-p/2664934#M191088</link>
      <description>&lt;P&gt;Hi Edward,&lt;/P&gt;
&lt;P&gt;Could please let me know what chance you have make to the Activity definition to fix this issue?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 11:59:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/group-approvals-and-quot-cancelled-quot-behavior-result-is-quot/m-p/2664934#M191088</guid>
      <dc:creator>VenkateshJ</dc:creator>
      <dc:date>2023-09-07T11:59:18Z</dc:date>
    </item>
  </channel>
</rss>

