<?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: Flow designer - notification is sent but gives error on flow in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/flow-designer-notification-is-sent-but-gives-error-on-flow/m-p/3139736#M1168903</link>
    <description>&lt;P&gt;Hello &lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/290781"&gt;@Mike LHCG1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for the late reply.&lt;/P&gt;
&lt;P&gt;In your email notification, "Send when" is set to "Record Inserted or Updated", try changing it to "Triggered".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please mark my answer helpful &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt; if it helped.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2025 18:51:59 GMT</pubDate>
    <dc:creator>AnveshKumar M</dc:creator>
    <dc:date>2025-01-02T18:51:59Z</dc:date>
    <item>
      <title>Flow designer - notification is sent but gives error on flow</title>
      <link>https://www.servicenow.com/community/developer-forum/flow-designer-notification-is-sent-but-gives-error-on-flow/m-p/3094916#M1157085</link>
      <description>&lt;P&gt;Hello, everyone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help with a flow error.&lt;/P&gt;&lt;P&gt;I created a notification, triggered by an event&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MARISAINACIO1_0-1730674759775.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/398950iAAF7A3088558F4FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MARISAINACIO1_0-1730674759775.png" alt="MARISAINACIO1_0-1730674759775.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MARISAINACIO1_1-1730674810313.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/398951i2B96AC0C4C0A07E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MARISAINACIO1_1-1730674810313.png" alt="MARISAINACIO1_1-1730674810313.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I call this event in the flow in the “Fire event” action to pass as a parameter a variable with the email written by the user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MARISAINACIO1_2-1730674864393.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/398952i3213EBDDC5D097A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MARISAINACIO1_2-1730674864393.png" alt="MARISAINACIO1_2-1730674864393.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then i send the notification&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MARISAINACIO1_3-1730674911737.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/398953iA6CD7B045B4B4CFC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MARISAINACIO1_3-1730674911737.png" alt="MARISAINACIO1_3-1730674911737.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the flow gives an error. However, the notification goes out to the correct email address that I entered in the parameter. I don't understand why it gives this error but in the “SENT” I can see that the notification went out correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error is "&lt;SPAN&gt;Invalid send when for notification, required triggered but found event"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MARISAINACIO1_4-1730674970632.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/398954i47FB0707F3328514/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MARISAINACIO1_4-1730674970632.png" alt="MARISAINACIO1_4-1730674970632.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Marisa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Nov 2024 23:09:19 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/flow-designer-notification-is-sent-but-gives-error-on-flow/m-p/3094916#M1157085</guid>
      <dc:creator>MARISA INACIO1</dc:creator>
      <dc:date>2024-11-03T23:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Flow designer - notification is sent but gives error on flow</title>
      <link>https://www.servicenow.com/community/developer-forum/flow-designer-notification-is-sent-but-gives-error-on-flow/m-p/3094959#M1157094</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/211037"&gt;@MARISA INACIO1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your notification configuration, under when to send you have configured "when to send" as "event fired" and selected the corresponding event name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your flow, you are firing the event, which in turn triggers the notification without any issue. But again in the next step you are trying to send the notification again using "send notification" action which is not required.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to send the notification using the event, just remove the send notification step. Your flow will be perfectly fine.&lt;/P&gt;
&lt;P&gt;But if you want to send the notification using "Send notification" action in flow, change the "Send when" in your notification to "Triggered" and remove the "fire event" action.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AnveshKumarM_0-1730686207986.png" style="width: 999px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/398970i4D2E86113B13DA57/image-size/large?v=v2&amp;amp;px=999" role="button" title="AnveshKumarM_0-1730686207986.png" alt="AnveshKumarM_0-1730686207986.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;&lt;STRONG&gt;Please mark my answer helpful &lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;STRONG&gt; and accept as a solution&amp;nbsp;&lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":heavy_check_mark:"&gt;✔️&lt;/span&gt;&lt;STRONG&gt; if it helped.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 02:10:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/flow-designer-notification-is-sent-but-gives-error-on-flow/m-p/3094959#M1157094</guid>
      <dc:creator>AnveshKumar M</dc:creator>
      <dc:date>2024-11-04T02:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Flow designer - notification is sent but gives error on flow</title>
      <link>https://www.servicenow.com/community/developer-forum/flow-designer-notification-is-sent-but-gives-error-on-flow/m-p/3095021#M1157105</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/211037"&gt;@MARISA INACIO1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As highlighted by&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/394006"&gt;@AnveshKumar M&lt;/a&gt;&amp;nbsp;, the moment you fire the event, the notification is being triggered as per your current configuration. You need not to make use of Send Notification action separately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards&lt;/P&gt;
&lt;P&gt;Amit Verma&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 05:17:59 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/flow-designer-notification-is-sent-but-gives-error-on-flow/m-p/3095021#M1157105</guid>
      <dc:creator>vermaamit16</dc:creator>
      <dc:date>2024-11-04T05:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Flow designer - notification is sent but gives error on flow</title>
      <link>https://www.servicenow.com/community/developer-forum/flow-designer-notification-is-sent-but-gives-error-on-flow/m-p/3132518#M1166576</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/394006"&gt;@AnveshKumar M&lt;/a&gt;&amp;nbsp;&lt;FONT color="#000000"&gt;I am having a similar issue.&amp;nbsp; I have to send a notification using a specific email layout. When I submit the catalog item in our Dev instance I can see the email was sent and the task goes to the correct assignment group, but I get the same error as Marisa was getting when testing the flow in Workflow Studio. I didn't trigger an event like she did. I look for a specific request. I have attached the screenshots of the Email Layout, Email Notification, Email Template and the the Send Notification Action in the Workflow.&amp;nbsp;Thank you.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 21:55:07 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/flow-designer-notification-is-sent-but-gives-error-on-flow/m-p/3132518#M1166576</guid>
      <dc:creator>Mike LHCG1</dc:creator>
      <dc:date>2024-12-19T21:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Flow designer - notification is sent but gives error on flow</title>
      <link>https://www.servicenow.com/community/developer-forum/flow-designer-notification-is-sent-but-gives-error-on-flow/m-p/3139736#M1168903</link>
      <description>&lt;P&gt;Hello &lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/290781"&gt;@Mike LHCG1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry for the late reply.&lt;/P&gt;
&lt;P&gt;In your email notification, "Send when" is set to "Record Inserted or Updated", try changing it to "Triggered".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please mark my answer helpful &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt; if it helped.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 18:51:59 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/flow-designer-notification-is-sent-but-gives-error-on-flow/m-p/3139736#M1168903</guid>
      <dc:creator>AnveshKumar M</dc:creator>
      <dc:date>2025-01-02T18:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Flow designer - notification is sent but gives error on flow</title>
      <link>https://www.servicenow.com/community/developer-forum/flow-designer-notification-is-sent-but-gives-error-on-flow/m-p/3171753#M1177818</link>
      <description>&lt;P&gt;This is Perfect, thanks for the solution&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 14:51:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/flow-designer-notification-is-sent-but-gives-error-on-flow/m-p/3171753#M1177818</guid>
      <dc:creator>prashanthmale</dc:creator>
      <dc:date>2025-02-07T14:51:53Z</dc:date>
    </item>
  </channel>
</rss>

