<?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 Customize messages in result pane after running workflow. in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Customize-messages-in-result-pane-after-running-workflow/m-p/453243#M87797</link>
    <description>&lt;P&gt;&lt;FONT size="2"&gt;Hello guys,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;I have created a workflow along with batch macro wherein,&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT size="2"&gt;Text input tool accepts 2 dates like the following - '2011-01-01' AND '2011-12-31'. Then a query is made to the SQL server which contains the last 8 years dates.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="2"&gt;Batch macro then fetches the data for the above mentioned date range.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="2"&gt;The output tool is to write the data in the SQL server as "Update: Insert if New".&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;I am currently seeing the output like this.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;But I need the message in result pane as shown below.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT color="#000080"&gt;"Number of records read : 1952&amp;nbsp; '2010-01-01' AND '2010-12-31'"&lt;/FONT&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/74405iEC00D528D79FB0B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_1.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/74406i562893FB3407413A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
    <pubDate>Sat, 17 Aug 2019 11:15:26 GMT</pubDate>
    <dc:creator>Venkatesh23</dc:creator>
    <dc:date>2019-08-17T11:15:26Z</dc:date>
    <item>
      <title>Customize messages in result pane after running workflow.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Customize-messages-in-result-pane-after-running-workflow/m-p/453243#M87797</link>
      <description>&lt;P&gt;&lt;FONT size="2"&gt;Hello guys,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;I have created a workflow along with batch macro wherein,&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT size="2"&gt;Text input tool accepts 2 dates like the following - '2011-01-01' AND '2011-12-31'. Then a query is made to the SQL server which contains the last 8 years dates.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="2"&gt;Batch macro then fetches the data for the above mentioned date range.&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="2"&gt;The output tool is to write the data in the SQL server as "Update: Insert if New".&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;I am currently seeing the output like this.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;But I need the message in result pane as shown below.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT color="#000080"&gt;"Number of records read : 1952&amp;nbsp; '2010-01-01' AND '2010-12-31'"&lt;/FONT&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/74405iEC00D528D79FB0B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_1.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/74406i562893FB3407413A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 11:15:26 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Customize-messages-in-result-pane-after-running-workflow/m-p/453243#M87797</guid>
      <dc:creator>Venkatesh23</dc:creator>
      <dc:date>2019-08-17T11:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Customize messages in result pane after running workflow.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Customize-messages-in-result-pane-after-running-workflow/m-p/453247#M87799</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/33900"&gt;@Venkatesh23&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can use the Message tool to write custom messages in the Results pane. in your case you'll need to use the Summarize tool to calculate the number of records (count) and use it as an input variable of the Message tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, you may be aware of this already, but if you use this within a macro, you'll need to check the 'Show all macro messages' option in the workflow configuration.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/74408i908B02A639886198/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 11:41:43 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Customize-messages-in-result-pane-after-running-workflow/m-p/453247#M87799</guid>
      <dc:creator>GiuseppeC</dc:creator>
      <dc:date>2019-08-17T11:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: Customize messages in result pane after running workflow.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Customize-messages-in-result-pane-after-running-workflow/m-p/453252#M87800</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/18348"&gt;@GiuseppeC&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the Quick response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting the output as shown,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/74409i59D160A5379CEF09/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Message(18) is from message tool.&lt;/P&gt;&lt;P&gt;Simple(7) is from the Macro tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message tool congifured as shown in below image:-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_1.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/74410i543109BBA1B3F04B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Where [RecordID] is RecordID tool,&lt;/P&gt;&lt;P&gt;[DateDiff] is Text Input tool where the Date range is given as '2010-01-01' AND '2010-12-31'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This how workflow looks:-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clipboard_image_2.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/74411iE3840F00F01ADA1A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_2.png" alt="clipboard_image_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i need the output as "Macro message and message tool message"&lt;/P&gt;&lt;P&gt;like "No. of records:- 1952&amp;nbsp; '2010-01-01' AND ''2010-12-31'&lt;/P&gt;&lt;P&gt;"No. of records:- 2179&amp;nbsp; '2011-01-01' AND ''2011-12-31'&lt;/P&gt;&lt;P&gt;"No. of records:- 2241&amp;nbsp; '2012-01-01' AND ''2012-12-31'&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 12:10:33 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Customize-messages-in-result-pane-after-running-workflow/m-p/453252#M87800</guid>
      <dc:creator>Venkatesh23</dc:creator>
      <dc:date>2019-08-17T12:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Customize messages in result pane after running workflow.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Customize-messages-in-result-pane-after-running-workflow/m-p/453270#M87802</link>
      <description>&lt;P&gt;Thanks for clarifying,&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/33900"&gt;@Venkatesh23&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I understand correctly, at each iteration you want the message to show the dates and the number of records read for that specific iteration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have mocked up the changes that I would apply to your macro to achieve this (see below and attached).&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="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.alteryx.com/t5/image/serverpage/image-id/74421iB63F2DEA330698FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 15:58:51 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Customize-messages-in-result-pane-after-running-workflow/m-p/453270#M87802</guid>
      <dc:creator>GiuseppeC</dc:creator>
      <dc:date>2019-08-17T15:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Customize messages in result pane after running workflow.</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Customize-messages-in-result-pane-after-running-workflow/m-p/453309#M87810</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/18348"&gt;@GiuseppeC&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This solution works great for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 03:42:18 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Customize-messages-in-result-pane-after-running-workflow/m-p/453309#M87810</guid>
      <dc:creator>Venkatesh23</dc:creator>
      <dc:date>2019-08-18T03:42:18Z</dc:date>
    </item>
  </channel>
</rss>

