<?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: External program task fails without logs in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/2163069#M26436</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/78188"&gt;@matKa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It’s an external task, Qlik Sense will not have the logs.&lt;/P&gt;
&lt;P&gt;you have to implement the logs entries in the external application.&lt;/P&gt;
&lt;P&gt;so, if this external application is a powershell script, your script will need to save a .log file for you&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;help users find answers! Don't forget to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#993366"&gt;mark a solution&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that worked for you &amp;amp; to smash the&lt;FONT color="#339966"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;like&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;button!&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN class="lia-unicode-emoji" title=":hugging_face:"&gt;&lt;span class="lia-unicode-emoji" title=":hugging_face:"&gt;🤗&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 23:02:26 GMT</pubDate>
    <dc:creator>RafaelBarrios</dc:creator>
    <dc:date>2024-01-18T23:02:26Z</dc:date>
    <item>
      <title>External program task fails without logs</title>
      <link>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/1908367#M21618</link>
      <description>&lt;DIV class="lia-quilt-row lia-quilt-row-main"&gt;
&lt;DIV class="lia-quilt-column lia-quilt-column-21 lia-quilt-column-right lia-quilt-column-main-content"&gt;
&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-right"&gt;
&lt;DIV class="lia-message-body-wrapper lia-component-message-view-widget-body"&gt;
&lt;DIV id="bodyDisplay_2" class="lia-message-body"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;In latest versions it's possible to edit external tasks in QMC. I did just like instructions above but directly in QMC. The task fails though right after running it. I can't download any logs all I get is:&lt;/P&gt;
&lt;DIV class="logentry ng-scope"&gt;
&lt;DIV class="datetime ng-binding ng-scope"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="message ng-binding"&gt;Changing task state from Started to FinishedFail&lt;/DIV&gt;
&lt;DIV class="message ng-binding"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="logentry ng-scope"&gt;
&lt;DIV class="message ng-binding"&gt;ExitCode: 1&lt;/DIV&gt;
&lt;DIV class="message ng-binding"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="message ng-binding"&gt;How can I troubleshoot this?&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-quilt-row lia-quilt-row-footer"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Mar 2022 19:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/1908367#M21618</guid>
      <dc:creator>matKa</dc:creator>
      <dc:date>2022-03-22T19:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: External program task fails without logs</title>
      <link>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/1908557#M21623</link>
      <description>&lt;P&gt;What type of external program? Any screen shot for replication?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You can follow&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge/Qlik-Sense-Create-an-external-program-running-a-Powershell/ta-p/1713044" target="_blank"&gt;Qlik Sense - Create an external program running a Powershell Script&lt;/A&gt;&amp;nbsp;and do a test.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 07:53:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/1908557#M21623</guid>
      <dc:creator>Lisa_Sun</dc:creator>
      <dc:date>2022-03-23T07:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: External program task fails without logs</title>
      <link>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/1908694#M21627</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error.jpg" style="width: 579px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/75156i3658EFFCC15F4FE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="error.jpg" alt="error.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to run powershell script.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 10:45:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/1908694#M21627</guid>
      <dc:creator>matKa</dc:creator>
      <dc:date>2022-03-23T10:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: External program task fails without logs</title>
      <link>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/1908894#M21631</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have the same problem, did you find the solution ?&lt;/P&gt;
&lt;P&gt;I don't find an exemple with the parameters for launch powershell&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 15:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/1908894#M21631</guid>
      <dc:creator>paulcalvet</dc:creator>
      <dc:date>2022-03-23T15:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: External program task fails without logs</title>
      <link>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/1930213#M22131</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm also facing the same problem. Did you find solution ? I want to run powershell script from tasks but not sure how to do it.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 08:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/1930213#M22131</guid>
      <dc:creator>AV1</dc:creator>
      <dc:date>2022-05-13T08:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: External program task fails without logs</title>
      <link>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/2090963#M25250</link>
      <description>&lt;P&gt;hi, I've been encountering this issue with a script that deletes files from a list stored into a CSV (which in turn is generated from a QS app).&lt;/P&gt;
&lt;P&gt;The script works fine with an admin user from the same machine and even using the Windows Task Scheduler.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we've been using QS Feb 2022 P3.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 09:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/2090963#M25250</guid>
      <dc:creator>francesco_menin</dc:creator>
      <dc:date>2023-07-06T09:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: External program task fails without logs</title>
      <link>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/2162520#M26427</link>
      <description>&lt;P&gt;Just in case this helps someone:&lt;/P&gt;
&lt;P&gt;When entering the path of a Powershell script into the External program task's Parameter field, make sure that neither the path, nor the script's filename itself contains any spaces.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We created a task based on Qlik's example post, but it failed instantly with the same ExitCode1. We removed the spaces from the folders and filename, changed the Parameter value accordingly and hey presto: it worked.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 16:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/2162520#M26427</guid>
      <dc:creator>stijn_verhoeff</dc:creator>
      <dc:date>2024-01-17T16:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: External program task fails without logs</title>
      <link>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/2163069#M26436</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/78188"&gt;@matKa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It’s an external task, Qlik Sense will not have the logs.&lt;/P&gt;
&lt;P&gt;you have to implement the logs entries in the external application.&lt;/P&gt;
&lt;P&gt;so, if this external application is a powershell script, your script will need to save a .log file for you&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;help users find answers! Don't forget to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#993366"&gt;mark a solution&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that worked for you &amp;amp; to smash the&lt;FONT color="#339966"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;like&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;button!&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN class="lia-unicode-emoji" title=":hugging_face:"&gt;&lt;span class="lia-unicode-emoji" title=":hugging_face:"&gt;🤗&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 23:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/External-program-task-fails-without-logs/m-p/2163069#M26436</guid>
      <dc:creator>RafaelBarrios</dc:creator>
      <dc:date>2024-01-18T23:02:26Z</dc:date>
    </item>
  </channel>
</rss>

