<?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: QMC Supporting Task not executed properly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1566371#M441768</link>
    <description>&lt;P&gt;How do I find the&amp;nbsp;&lt;STRONG&gt;serviceID which runs the QDS&lt;/STRONG&gt;?&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2019 12:05:16 GMT</pubDate>
    <dc:creator>anuj_sharma</dc:creator>
    <dc:date>2019-04-08T12:05:16Z</dc:date>
    <item>
      <title>QMC Supporting Task not executed properly</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1565756#M441683</link>
      <description>&lt;P&gt;We've created a QMC Task in System-&amp;gt;Supporting Tasks-&amp;gt;QDS@**-&amp;gt;External Program&lt;/P&gt;&lt;P&gt;and have given path of the .bat file, which contains following command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"C:\Program Files\QlikView\Qv.exe" /l "E:\path_to_&lt;STRONG&gt;my_qlikview_document&lt;/STRONG&gt;.qvw"&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;my_qlikview_document&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;has a macro written inside, which is triggered post-reload in document settings&lt;/P&gt;&lt;P&gt;Running .bat file manually executes the commands written inside successfully.&lt;/P&gt;&lt;P&gt;Running the created Supporting Task doesn't do the same.&lt;/P&gt;&lt;P&gt;Can anybody help figuring out the reasons behind this behaviour?&lt;/P&gt;&lt;P&gt;PFB&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="qmc_supporting_task.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9555i2C2675CA6F55CEDC/image-size/large?v=v2&amp;amp;px=999" role="button" title="qmc_supporting_task.PNG" alt="qmc_supporting_task.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="supporting_task_created.PNG" style="width: 626px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/9556iC9524C8557BB1691/image-size/large?v=v2&amp;amp;px=999" role="button" title="supporting_task_created.PNG" alt="supporting_task_created.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:06:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1565756#M441683</guid>
      <dc:creator>anuj_sharma</dc:creator>
      <dc:date>2024-11-16T21:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Supporting Task not executed properly</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1565843#M441692</link>
      <description>&lt;P&gt;Try using /R instead of /I&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Take a look at&amp;nbsp;&lt;/SPAN&gt;&lt;A title="QlikView Command Line and Automation" href="http://qlikviewmaven.blogspot.com/2008/08/qlikview-command-line-and-automation.html" target="_blank" rel="nofollow noopener noreferrer"&gt;this post&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;by&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://community.qlik.com/members/tim.benoit/default.aspx" target="_blank" rel="noopener"&gt;Tim Benoit&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 13:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1565843#M441692</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-04-05T13:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Supporting Task not executed properly</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1565855#M441695</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/14139"&gt;@m_woolf&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I've tried using the /r switch in the batch file but this doesn't seem to have made&amp;nbsp; any difference.&lt;/P&gt;&lt;P&gt;Also, I do need the application to not be auto-saved and closed by the /r switch after reload because I need to run a macro triggered post-reload, hence the /l switch.&lt;/P&gt;&lt;P&gt;Also, the macro doesn't work after using the/r switch in the batch file&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 14:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1565855#M441695</guid>
      <dc:creator>anuj_sharma</dc:creator>
      <dc:date>2019-04-05T14:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Supporting Task not executed properly</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1565863#M441697</link>
      <description>&lt;P&gt;Does your macro save and close the qvw after it completes?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 15:05:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1565863#M441697</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-04-05T15:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Supporting Task not executed properly</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1566182#M441744</link>
      <description>&lt;P&gt;Yes, macro contains below two lines&lt;/P&gt;&lt;P&gt;ActiveDocument.Save&lt;BR /&gt;ActiveDocument.GetApplication.Quit&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 04:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1566182#M441744</guid>
      <dc:creator>anuj_sharma</dc:creator>
      <dc:date>2019-04-08T04:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Supporting Task not executed properly</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1566188#M441747</link>
      <description>Can you run the batch file manually using the serviceID which run the QDS ? . Looks like the prompt which the QVW asks when you use a macro should be oked or suppressed .</description>
      <pubDate>Mon, 08 Apr 2019 05:32:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1566188#M441747</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2019-04-08T05:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Supporting Task not executed properly</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1566193#M441748</link>
      <description>&lt;P&gt;Can you please provide steps to test this?&lt;/P&gt;&lt;P&gt;I had tested the batch file just by double-clicking.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 05:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1566193#M441748</guid>
      <dc:creator>anuj_sharma</dc:creator>
      <dc:date>2019-04-08T05:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Supporting Task not executed properly</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1566250#M441756</link>
      <description>Try following the below steps&lt;BR /&gt;&lt;BR /&gt;1) Right click on the batch file and select "Run As different user"&lt;BR /&gt;2) Enter the serviceID which runs the QDS and check if there is any pop-up from the macro .&lt;BR /&gt;3) If you get the pop-up select the correct option and click ok to run it .&lt;BR /&gt;4) After this is done run from QMC and see if it works</description>
      <pubDate>Mon, 08 Apr 2019 08:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1566250#M441756</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2019-04-08T08:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Supporting Task not executed properly</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1566371#M441768</link>
      <description>&lt;P&gt;How do I find the&amp;nbsp;&lt;STRONG&gt;serviceID which runs the QDS&lt;/STRONG&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 12:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1566371#M441768</guid>
      <dc:creator>anuj_sharma</dc:creator>
      <dc:date>2019-04-08T12:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Supporting Task not executed properly</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1567314#M441815</link>
      <description>&lt;P&gt;Any idea how '&lt;STRONG&gt;serviceID which runs the QDS'&amp;nbsp;&lt;/STRONG&gt;can be known?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 05:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1567314#M441815</guid>
      <dc:creator>anuj_sharma</dc:creator>
      <dc:date>2019-04-10T05:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Supporting Task not executed properly</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1582731#M443010</link>
      <description>&lt;P&gt;So what they other poster was trying to convey is the QV.exe must be properly 'registered/licensed' to the QlikView 'Service Account', which you can verify the account by going to the Windows Services Applet and checking what account is running the QlikView services.&amp;nbsp; That account will need to be properly registered/licensed to the Desktop/Qv.exe client, and you will also need to open the file in question logged in as that user or us the Run as Different User option as the other poster recommended to set the macro security.&amp;nbsp; What is likely happening at the moment is dialog requesting macro security clearance is waiting to be answered, but given it is running in batch mode, you will never see the dialog in this case.&amp;nbsp; Hopefully this helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 12:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Supporting-Task-not-executed-properly/m-p/1582731#M443010</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-05-21T12:43:46Z</dc:date>
    </item>
  </channel>
</rss>

