<?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: Trigger help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962430#M330186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;App will reload only one time, when extractor ends as success and the qvd was created today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Until qvd is generated extractor will end as success, thee app tries to reload but checking the date of the EDW_Flag_Test.QVD file goes to the else and doesn't reloads anything&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.First time the Status='Y' the extractor will create the file, ends as success and the app reload is executed and fully reloaded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.Next execution after the first full reload: The extractor check if he created the qvd this day, the file is created so it finish with an error. As it's not a success the reload of the application won't be executed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Oct 2015 14:11:09 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2015-10-26T14:11:09Z</dc:date>
    <item>
      <title>Trigger help</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962426#M330182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the below requirement and done the below way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I need to run my Application based on the database value&lt;/STRONG&gt;.So I have created one Dummy Extractor/Generator and scheduled through QMC every 15 mins and the script as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK:&lt;/P&gt;&lt;P&gt;LOAD Status,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Import_Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;E&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Idleally its DB table name&lt;/E&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF Peek('Status') ='Y' THEN&lt;/P&gt;&lt;P&gt;STORE CHECK INTO E:\qvsdocs\qvd\Flag_Test.QVD;&lt;/P&gt;&lt;P&gt;END IF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In my applition i have mentioned the below condition;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(QvdCreateTime('E:\qvsdocs\qvd\EDW_Flag_Test.QVD')&amp;gt;= today()) then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; My entire script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem : &lt;/STRONG&gt;Once my qvd &lt;SPAN style="font-size: 13.3333px;"&gt;E:\qvsdocs\qvd\Flag_Test.QVD is generated and application is running thats fine.But my "&lt;STRONG&gt;Dummy Extractor is running every 15 mins.So my application is also started running because it scheduled based on the Dummy extractor.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I want to stop running of My dummy Extractor Once the &lt;SPAN style="font-size: 13.3333px;"&gt;E:\qvsdocs\qvd\Flag_Test.QVD is generated.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More thanks,&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 11:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962426#M330182</guid>
      <dc:creator>ajaykumar1</dc:creator>
      <dc:date>2015-10-26T11:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger help</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962427#M330183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhelp from anyone or is there any alternate solution to achieve the above task?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More Thanks,&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 13:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962427#M330183</guid>
      <dc:creator>ajaykumar1</dc:creator>
      <dc:date>2015-10-26T13:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger help</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962428#M330184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ajay, one idea that maybe works:&lt;/P&gt;&lt;P&gt;Modify dummy extractor starting to check if a previous flaq_test is created:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(QvdCreateTime('E:\qvsdocs\qvd\EDW_Flag_Test.QVD')&amp;gt;= today()) then&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD * Resident ProvokeError: // This row will return an error if EDW_Flag_Test.QVD was created today()&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&amp;nbsp; your script...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can configure the reload of the application when Dummy Extractor reload task is ended with sucess.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 13:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962428#M330184</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-26T13:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger help</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962429#M330185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ruben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you mentioned script above script i used in the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didnt get what i need to change at dummy extractor level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks,&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 14:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962429#M330185</guid>
      <dc:creator>ajaykumar1</dc:creator>
      <dc:date>2015-10-26T14:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger help</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962430#M330186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;App will reload only one time, when extractor ends as success and the qvd was created today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Until qvd is generated extractor will end as success, thee app tries to reload but checking the date of the EDW_Flag_Test.QVD file goes to the else and doesn't reloads anything&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.First time the Status='Y' the extractor will create the file, ends as success and the app reload is executed and fully reloaded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.Next execution after the first full reload: The extractor check if he created the qvd this day, the file is created so it finish with an error. As it's not a success the reload of the application won't be executed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 14:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962430#M330186</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-26T14:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger help</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962431#M330187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ruben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still getting problem at 1st step only.2 and 3 i understood.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;1.Until qvd is generated extractor will end as success, thee app tries to reload but checking the date of the EDW_Flag_Test.QVD file goes to the else and doesn't reloads anything------------------&lt;STRONG&gt;Not understood.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Could you please add script if possible.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;More Thanks,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Ajay&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 14:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962431#M330187</guid>
      <dc:creator>ajaykumar1</dc:creator>
      <dc:date>2015-10-26T14:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger help</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962432#M330188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the 'Edit Task' &lt;SPAN style="font-size: 13.3333px;"&gt;Properties and reconfigure them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I guess you made a depedency for the Application on the QVD generator run status.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 14:25:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962432#M330188</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-10-26T14:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger help</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962433#M330189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That step is the way it's working now, isn't it?:&lt;/P&gt;&lt;P&gt;The extractor reloads each 15 minutes, when it ends the app tries to reload, does the "if(QvdCreateTime('E:\qvsdocs\qvd\EDW_Flag_Test.QVD')&amp;gt;= today()) then", as it's still not created today goes to the else of this 'if', so avoids all the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the script for extractor:&lt;/P&gt;&lt;P&gt;if(QvdCreateTime('E:\qvsdocs\qvd\EDW_Flag_Test.QVD')&amp;gt;= today()) then&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD * Resident ProvokeError: // This row will return an error if EDW_Flag_Test.QVD was created today()&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHECK:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD Status,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Import_Date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;E&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Idleally its DB table name&lt;/E&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF Peek('Status') ='Y' THEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STORE CHECK INTO E:\qvsdocs\qvd\Flag_Test.QVD;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END IF;&lt;/P&gt;&lt;P&gt;End if&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 14:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962433#M330189</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-26T14:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger help</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962434#M330190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once Thanks again Ruben.It looks it should work perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will close thread asap when am applying the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 16:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962434#M330190</guid>
      <dc:creator>ajaykumar1</dc:creator>
      <dc:date>2015-10-26T16:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger help</title>
      <link>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962435#M330191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks its working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 18:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trigger-help/m-p/962435#M330191</guid>
      <dc:creator>ajaykumar1</dc:creator>
      <dc:date>2015-10-28T18:29:10Z</dc:date>
    </item>
  </channel>
</rss>

