<?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 QMS API Get Task Statuses not working as expected in Qlikview 12.5 SR3 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QMS-API-Get-Task-Statuses-not-working-as-expected-in-Qlikview-12/m-p/1773966#M1313423</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I'm wanting to create an API that watches for failures on the QMS Api.&amp;nbsp; I'm using the code from here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview-developer/April2020/APIs/QMS+API/html/M_PIX_Services_V12_Api4_IQMS4_GetTaskStatuses.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/qlikview-developer/April2020/APIs/QMS+API/html/M_PIX_Services_V12_Api4_IQMS4_GetTaskStatuses.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When I put this code into my application though, I get the below errors.&amp;nbsp; There seems to be some mismatch around when lists and arrays are used?&amp;nbsp; I've tried fiddling with the code but can't get it to work.&amp;nbsp; Has anyone come across this when working with the API?&lt;/P&gt;&lt;P&gt;EDIT:&amp;nbsp; So it seems that the below works:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;                TaskStatusFilter taskStatusFilter = new TaskStatusFilter();
                TaskStatusValue[] taskStatusValues = new TaskStatusValue[1];
                taskStatusValues[0] = TaskStatusValue.Failed;
                taskStatusFilter.TaskStatuses = taskStatusValues;

                var taskStatuses = apiClient.GetTaskStatuses(taskStatusFilter, TaskStatusScope.Extended); // A service call.
                Console.WriteLine(taskStatuses[0].Extended.TaskSummary.ToString()); // Print part of the metadata of the first element in the list.&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nsm1234567_0-1610528804083.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/46880i7FDD7B034CBC244B/image-size/large?v=v2&amp;amp;px=999" role="button" title="nsm1234567_0-1610528804083.png" alt="nsm1234567_0-1610528804083.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="nsm1234567_1-1610528882336.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/46881i6776B636E14C2AEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="nsm1234567_1-1610528882336.png" alt="nsm1234567_1-1610528882336.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="nsm1234567_2-1610528933824.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/46882iB54DCAA48E865CDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="nsm1234567_2-1610528933824.png" alt="nsm1234567_2-1610528933824.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
    <dc:creator>nsm1234567</dc:creator>
    <dc:date>2026-01-26T18:19:17Z</dc:date>
    <item>
      <title>QMS API Get Task Statuses not working as expected in Qlikview 12.5 SR3</title>
      <link>https://community.qlik.com/t5/QlikView/QMS-API-Get-Task-Statuses-not-working-as-expected-in-Qlikview-12/m-p/1773966#M1313423</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I'm wanting to create an API that watches for failures on the QMS Api.&amp;nbsp; I'm using the code from here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview-developer/April2020/APIs/QMS+API/html/M_PIX_Services_V12_Api4_IQMS4_GetTaskStatuses.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/qlikview-developer/April2020/APIs/QMS+API/html/M_PIX_Services_V12_Api4_IQMS4_GetTaskStatuses.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When I put this code into my application though, I get the below errors.&amp;nbsp; There seems to be some mismatch around when lists and arrays are used?&amp;nbsp; I've tried fiddling with the code but can't get it to work.&amp;nbsp; Has anyone come across this when working with the API?&lt;/P&gt;&lt;P&gt;EDIT:&amp;nbsp; So it seems that the below works:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;                TaskStatusFilter taskStatusFilter = new TaskStatusFilter();
                TaskStatusValue[] taskStatusValues = new TaskStatusValue[1];
                taskStatusValues[0] = TaskStatusValue.Failed;
                taskStatusFilter.TaskStatuses = taskStatusValues;

                var taskStatuses = apiClient.GetTaskStatuses(taskStatusFilter, TaskStatusScope.Extended); // A service call.
                Console.WriteLine(taskStatuses[0].Extended.TaskSummary.ToString()); // Print part of the metadata of the first element in the list.&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nsm1234567_0-1610528804083.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/46880i7FDD7B034CBC244B/image-size/large?v=v2&amp;amp;px=999" role="button" title="nsm1234567_0-1610528804083.png" alt="nsm1234567_0-1610528804083.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="nsm1234567_1-1610528882336.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/46881i6776B636E14C2AEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="nsm1234567_1-1610528882336.png" alt="nsm1234567_1-1610528882336.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="nsm1234567_2-1610528933824.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/46882iB54DCAA48E865CDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="nsm1234567_2-1610528933824.png" alt="nsm1234567_2-1610528933824.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMS-API-Get-Task-Statuses-not-working-as-expected-in-Qlikview-12/m-p/1773966#M1313423</guid>
      <dc:creator>nsm1234567</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: QMS API Get Task Statuses not working as expected in Qlikview 12.5 SR3</title>
      <link>https://community.qlik.com/t5/QlikView/QMS-API-Get-Task-Statuses-not-working-as-expected-in-Qlikview-12/m-p/1779684#M1313425</link>
      <description>&lt;P&gt;It seems that my edit in the above is the solution as this is now working in my application.&amp;nbsp; It seems that while previously (and according to the documentation), "GetTaskStatuses" returned a list of taskStatuses, it now returns an array of taskStatuses for whatever reason.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 10:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMS-API-Get-Task-Statuses-not-working-as-expected-in-Qlikview-12/m-p/1779684#M1313425</guid>
      <dc:creator>nsm1234567</dc:creator>
      <dc:date>2021-02-03T10:53:06Z</dc:date>
    </item>
  </channel>
</rss>

