<?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: QRS API for enabling/disabling tasks in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-for-enabling-disabling-tasks/m-p/1728372#M13025</link>
    <description>&lt;P&gt;Levi, thanks.&amp;nbsp; That worked well. I tested it out successfully as a proof of concept.&amp;nbsp; Now to operationalize it.&amp;nbsp; Thanks again.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jul 2020 10:37:06 GMT</pubDate>
    <dc:creator>covenant_bi</dc:creator>
    <dc:date>2020-07-16T10:37:06Z</dc:date>
    <item>
      <title>QRS API for enabling/disabling tasks</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-for-enabling-disabling-tasks/m-p/1727978#M13020</link>
      <description>&lt;P&gt;Is there a way to write a call using QRS API to disable/enable tasks in QMC?&amp;nbsp; For example, if you had a source system upgrade and you wanted to disable certain tasks from running while the source system was reloading data?&amp;nbsp; I checked the documentation and didn't see anything related to that specifically, more start/stop vs enable/disable.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 11:29:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-for-enabling-disabling-tasks/m-p/1727978#M13020</guid>
      <dc:creator>covenant_bi</dc:creator>
      <dc:date>2020-07-15T11:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API for enabling/disabling tasks</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-for-enabling-disabling-tasks/m-p/1728179#M13023</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/38766"&gt;@covenant_bi&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is an&amp;nbsp;&lt;STRONG&gt;enabled&lt;/STRONG&gt; element of a reloadtask. So for example take this reload task (I will be truncating elements of the response):&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "id": "4b6e407f-7264-4740-883f-acfe7632c115",
  "createdDate": "2019-01-25T14:38:29.58Z",
  "modifiedDate": "2020-06-25T10:23:31.055Z",
  "modifiedByUserName": "...",
  "customProperties": [],
  "app": {
    "id": "dc3c4cdc-2fe7-48fb-b080-8ee5c08cc1f3",
    "name": "PostgreSQL Monitoring",
    ...,
  "isManuallyTriggered": false,
  "operational": {
    ...,
  "name": "Reload task of PostgreSQL Monitoring",
  "taskType": 0,
  "enabled": true,
  "taskSessionTimeout": 1440,
  "maxRetries": 0,
  "tags": [],
  "privileges": null,
  "schemaPath": "ReloadTask"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;So if you do a GET /qrs/reloadtask/{id} and modify the &lt;STRONG&gt;enabled&lt;/STRONG&gt; element then do a PUT /qrs/reloadtask/{id} then that should handle the scenario.&lt;/P&gt;&lt;P&gt;Inside of &lt;A href="https://github.com/ahaydon/Qlik-Cli-Windows" target="_self"&gt;Qlik-CLI&lt;/A&gt; it can be done like so (with just an example filter):&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;(Get-QlikReloadTask -Filter "app.stream.name eq 'Monitoring Apps'").id | ForEach-Object {Update-QlikReloadTask -id $_ -Enabled $false}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 19:39:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-for-enabling-disabling-tasks/m-p/1728179#M13023</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2020-07-15T19:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: QRS API for enabling/disabling tasks</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-for-enabling-disabling-tasks/m-p/1728372#M13025</link>
      <description>&lt;P&gt;Levi, thanks.&amp;nbsp; That worked well. I tested it out successfully as a proof of concept.&amp;nbsp; Now to operationalize it.&amp;nbsp; Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 10:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/QRS-API-for-enabling-disabling-tasks/m-p/1728372#M13025</guid>
      <dc:creator>covenant_bi</dc:creator>
      <dc:date>2020-07-16T10:37:06Z</dc:date>
    </item>
  </channel>
</rss>

