<?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>topic Re: How to get update, insert and reject count in a single alert activity in a workflow? in Adobe Campaign Classic Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-get-update-insert-and-reject-count-in-a-single-alert/m-p/457237#M15426</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;LI-USER uid="17547969"&gt;&lt;/LI-USER&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Update data activity generate variables with update and insert counts, you can use them on your alert by calling them like this :&lt;/P&gt;&lt;PRE&gt;&amp;lt;%=vars.insertCount%&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;%=vars.updateCount%&amp;gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;For the reject count, you can activate the reject outbound transition on the Update data activity, add a js after to affect the reject recCount to an instance variable, and the use it in your alert like this :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;%=instance.vars.rejectCount%&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Amine_Abedour_0-1655817595988.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/42126i8C8CA53A3E1EAB2B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Amine_Abedour_0-1655817595988.png" alt="Amine_Abedour_0-1655817595988.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="Amine_Abedour_1-1655817645133.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/42127i15B8ADB2BB348F84/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Amine_Abedour_1-1655817645133.png" alt="Amine_Abedour_1-1655817645133.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;Br,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jun 2022 13:21:42 GMT</pubDate>
    <dc:creator>Amine_Abedour</dc:creator>
    <dc:date>2022-06-21T13:21:42Z</dc:date>
    <item>
      <title>How to get update, insert and reject count in a single alert activity in a workflow?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-get-update-insert-and-reject-count-in-a-single-alert/m-p/457144#M15422</link>
      <description>&lt;P&gt;How to get update, insert and reject count in a single alert activity in a workflow.&lt;BR /&gt;I want to send a alert that includes the number of records that are inserted, updated and rejected in a workflow.&lt;BR /&gt;How can i get those three counts in my single alert activity?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 06:09:42 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-get-update-insert-and-reject-count-in-a-single-alert/m-p/457144#M15422</guid>
      <dc:creator>SmritiFotedar</dc:creator>
      <dc:date>2022-06-21T06:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to get update, insert and reject count in a single alert activity in a workflow?</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-get-update-insert-and-reject-count-in-a-single-alert/m-p/457237#M15426</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;LI-USER uid="17547969"&gt;&lt;/LI-USER&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Update data activity generate variables with update and insert counts, you can use them on your alert by calling them like this :&lt;/P&gt;&lt;PRE&gt;&amp;lt;%=vars.insertCount%&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;%=vars.updateCount%&amp;gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;For the reject count, you can activate the reject outbound transition on the Update data activity, add a js after to affect the reject recCount to an instance variable, and the use it in your alert like this :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;%=instance.vars.rejectCount%&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Amine_Abedour_0-1655817595988.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/42126i8C8CA53A3E1EAB2B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Amine_Abedour_0-1655817595988.png" alt="Amine_Abedour_0-1655817595988.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="Amine_Abedour_1-1655817645133.png" style="width: 400px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/42127i15B8ADB2BB348F84/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Amine_Abedour_1-1655817645133.png" alt="Amine_Abedour_1-1655817645133.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;Br,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Amine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 13:21:42 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/how-to-get-update-insert-and-reject-count-in-a-single-alert/m-p/457237#M15426</guid>
      <dc:creator>Amine_Abedour</dc:creator>
      <dc:date>2022-06-21T13:21:42Z</dc:date>
    </item>
  </channel>
</rss>

