<?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: API Triggered NP Task variable do not get evaluated in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/API-Triggered-NP-Task-variable-do-not-get-evaluated/m-p/2061386#M38709</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Could you share screenshots of the email configuration in the publish task? Did you insert the formula in the object directly? Did you try to create a variable in the source app with the formula inside and use it in the subject? Did you try to force the output of the formula in the text format by adding =Text(...formula...)?&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2023 08:04:14 GMT</pubDate>
    <dc:creator>Ruggero_Piccoli</dc:creator>
    <dc:date>2023-04-18T08:04:14Z</dc:date>
    <item>
      <title>API Triggered NP Task variable do not get evaluated</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/API-Triggered-NP-Task-variable-do-not-get-evaluated/m-p/2061345#M38707</link>
      <description>&lt;P&gt;I have a NP Task that generate an email with a date inside the subject.&amp;nbsp; When it is scheduled to run within NP it ran successfully with the date&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="55A8B819-DC93-4DC5-9A4D-31F7CA1A92D1_4_5005_c.jpeg" style="width: 290px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/105092i8BA27E15C7BADBCC/image-size/large?v=v2&amp;amp;px=999" role="button" title="55A8B819-DC93-4DC5-9A4D-31F7CA1A92D1_4_5005_c.jpeg" alt="55A8B819-DC93-4DC5-9A4D-31F7CA1A92D1_4_5005_c.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;However if the same task was called from QS through NP API then it run successfully but the date was not evaluated&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6F10F98B-9C76-4736-A7EB-27722310EAD3_4_5005_c.jpeg" style="width: 272px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/105094iA2E67286CC9DB8EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="6F10F98B-9C76-4736-A7EB-27722310EAD3_4_5005_c.jpeg" alt="6F10F98B-9C76-4736-A7EB-27722310EAD3_4_5005_c.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appreciate any suggestion on how to resolve this.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 06:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/API-Triggered-NP-Task-variable-do-not-get-evaluated/m-p/2061345#M38707</guid>
      <dc:creator>Edy_Tan</dc:creator>
      <dc:date>2023-04-18T06:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: API Triggered NP Task variable do not get evaluated</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/API-Triggered-NP-Task-variable-do-not-get-evaluated/m-p/2061386#M38709</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Could you share screenshots of the email configuration in the publish task? Did you insert the formula in the object directly? Did you try to create a variable in the source app with the formula inside and use it in the subject? Did you try to force the output of the formula in the text format by adding =Text(...formula...)?&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 08:04:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/API-Triggered-NP-Task-variable-do-not-get-evaluated/m-p/2061386#M38709</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2023-04-18T08:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: API Triggered NP Task variable do not get evaluated</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/API-Triggered-NP-Task-variable-do-not-get-evaluated/m-p/2061549#M38711</link>
      <description>&lt;P&gt;Thanks Ruggero&lt;/P&gt;
&lt;P&gt;Screenshot of the email configuration in the publish task&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Image 18-4-23 at 9.03 PM.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/105166i84DDEBA3D0866D04/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image 18-4-23 at 9.03 PM.jpg" alt="Image 18-4-23 at 9.03 PM.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Its referencing the variable report_date_time which is used to insert into the subject %%Variable_User_FD_Exception_report_date_time%%&lt;/P&gt;
&lt;P&gt;I have tried to force the output of the formula by adding the text in front of the formula&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Image 18-4-23 at 8.55 PM.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/105164i9475B6CE1297E599/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image 18-4-23 at 8.55 PM.jpg" alt="Image 18-4-23 at 8.55 PM.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 13:04:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/API-Triggered-NP-Task-variable-do-not-get-evaluated/m-p/2061549#M38711</guid>
      <dc:creator>Edy_Tan</dc:creator>
      <dc:date>2023-04-18T13:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: API Triggered NP Task variable do not get evaluated</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/API-Triggered-NP-Task-variable-do-not-get-evaluated/m-p/2061613#M38716</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I tested in Qlik NPrinting May 2022 SR4. I created a publish task with a variable in the subject created with the same syntax as yours. I ran the task via Web Console and via API call and in both cases, as expected, the subject of the delivered email is correctly filled with the date. I'm not able to reproduce the issue.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_0-1681829686526.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/105175iE6379E031DF7E3CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_0-1681829686526.png" alt="Ruggero_Piccoli_0-1681829686526.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Check that the API call has the correct task ID. I have no other idea. You could open a support ticket with everything we need to reproduce, including the Qlik Sense app and a link to this conversation. Based on my tests the feature is working as expected.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 14:59:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/API-Triggered-NP-Task-variable-do-not-get-evaluated/m-p/2061613#M38716</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2023-04-18T14:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: API Triggered NP Task variable do not get evaluated</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/API-Triggered-NP-Task-variable-do-not-get-evaluated/m-p/2061831#M38723</link>
      <description>&lt;P&gt;Customer confirmed it is working now for both Web Console and API call.&amp;nbsp; Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 04:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/API-Triggered-NP-Task-variable-do-not-get-evaluated/m-p/2061831#M38723</guid>
      <dc:creator>Edy_Tan</dc:creator>
      <dc:date>2023-04-19T04:19:00Z</dc:date>
    </item>
  </channel>
</rss>

