<?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: Task Trigger Error in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Trigger-Error/m-p/2066961#M18501</link>
    <description>&lt;P&gt;If you have QlikSenseCLI&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/QlikProfessionalServices/QlikSenseCLI" target="_blank"&gt;https://github.com/QlikProfessionalServices/QlikSenseCLI&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;you could try running the following script. `.\QlikSense-StartTask.ps1 -TaskName "Name of Task"`&lt;/P&gt;
&lt;P&gt;&lt;A href="https://gist.github.com/Nillth/0f13c48ae2b4d556ba995a5c44149f2b" target="_blank"&gt;https://gist.github.com/Nillth/0f13c48ae2b4d556ba995a5c44149f2b&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;$TaskName = "Name of Task"

Connect-QlikSense -TrustAllCertificates #-Hostname "ifRequired" -VirtualProxy "ifRequired" 
$Tasks = Get-QSReloadtask -Filter "Name eq '$($TaskName)'"
foreach($Task in $Tasks){
    Add-QSTask -Start -Id $Task.Id
}

&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 02 May 2023 22:21:59 GMT</pubDate>
    <dc:creator>Marc</dc:creator>
    <dc:date>2023-05-02T22:21:59Z</dc:date>
    <item>
      <title>Task Trigger Error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Trigger-Error/m-p/2052796#M18300</link>
      <description>&lt;P&gt;We are trying to reload a qlik sense task by running an executable file using QlikSenseTask.exe (found on github):&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/marcusspitzmiller/QlikSenseTask" target="_blank" rel="noopener noreferrer"&gt;https://github.com/marcusspitzmiller/QlikSenseTask&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When we run the task, we receive the error: EXECUTE statement not available in this script mode.&lt;/P&gt;
&lt;P&gt;We updated the settings.ini by adding OverrideScriptSecurity=1 and restarted the server, but are still receiving the same error. &lt;A href="https://help.qlik.com/en-US/sense/February2023/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/Execute.htm" target="_blank" rel="noopener noreferrer"&gt; https://help.qlik.com/en-US/sense/February2023/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegularStatements/Execute.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We also tried to run the same .exe from Windows Command and received error "System.Exception: Method Not Allowed: Http code: 405&lt;BR /&gt;at QlikSenseJSONObjects.QlikSenseJSONHelper.StartTaskByName(String taskname, Boolean synchronous)&lt;BR /&gt;at QlikSenseTask.Program.Main(String[] args)"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have also since disabled Standard mode and received the same error when running from Windows Command. When running from QMC, the executable section is skipped.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you kindly advise on how we could solve this issue please? (We are using Qlik Sense version November 2021, and it is not Enterprise SaaS).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tim&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 07:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Trigger-Error/m-p/2052796#M18300</guid>
      <dc:creator>Tim_Borg</dc:creator>
      <dc:date>2023-03-24T07:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Task Trigger Error</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Trigger-Error/m-p/2066961#M18501</link>
      <description>&lt;P&gt;If you have QlikSenseCLI&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/QlikProfessionalServices/QlikSenseCLI" target="_blank"&gt;https://github.com/QlikProfessionalServices/QlikSenseCLI&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;you could try running the following script. `.\QlikSense-StartTask.ps1 -TaskName "Name of Task"`&lt;/P&gt;
&lt;P&gt;&lt;A href="https://gist.github.com/Nillth/0f13c48ae2b4d556ba995a5c44149f2b" target="_blank"&gt;https://gist.github.com/Nillth/0f13c48ae2b4d556ba995a5c44149f2b&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;$TaskName = "Name of Task"

Connect-QlikSense -TrustAllCertificates #-Hostname "ifRequired" -VirtualProxy "ifRequired" 
$Tasks = Get-QSReloadtask -Filter "Name eq '$($TaskName)'"
foreach($Task in $Tasks){
    Add-QSTask -Start -Id $Task.Id
}

&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 02 May 2023 22:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Task-Trigger-Error/m-p/2066961#M18501</guid>
      <dc:creator>Marc</dc:creator>
      <dc:date>2023-05-02T22:21:59Z</dc:date>
    </item>
  </channel>
</rss>

