<?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 Random Trigger check and store the File in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Random-Trigger-check-and-store-the-File/m-p/1615378#M736160</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have one scenario to achieve please help.&lt;/P&gt;&lt;P&gt;I have three EDX trigger which are coming randomly and my job is triggering as per EdX trigger. Now i wanted to check if all three triggers are came and then in my script i have to concatenate three tables. These three tables are dependent upon the trigger. Means whenever i am getting the trigger corresponding table is update and same table i am pulling inside my script from the database.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My challenge is how can i know all three triggers are came and my data concatenation will happen.&lt;/P&gt;&lt;P&gt;from the Trigger timestamp i can identify the which trigger is latest trigger, But at last not able to decide how all trigger is came.&lt;/P&gt;&lt;P&gt;from the below code i am able to identify the trigger is came and corresponding table data is loaded&amp;nbsp; using corresponding flag, But on completion of all three i have to store the concat QVD and here triggers are not sequential any trigger can come anytime.&lt;/P&gt;&lt;P&gt;Please help or let me know if required more explanation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let A_Trigger= Filetime('............\QVW\A_Trigger.txt');&lt;/P&gt;&lt;P&gt;IF('$(A_Trigger)'&amp;gt;'$(vPrevTrigger )') Then&lt;BR /&gt;Let vFlagTime='True';&lt;BR /&gt;ELSE&lt;BR /&gt;Let vFlagTime='False';&lt;BR /&gt;&lt;BR /&gt;ENDif;&lt;/P&gt;&lt;P&gt;Let vPrevTrigger = '$(A_Trigger)';&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let B_Trigger= Filetime('............\QVW\B_Trigger.txt');&lt;/P&gt;&lt;P&gt;IF('$(B_Trigger)'&amp;gt;'$(vPrevTriggerB )') Then&lt;BR /&gt;Let vFlagTimeB='True';&lt;BR /&gt;ELSE&lt;BR /&gt;Let vFlagTimeB='False';&lt;BR /&gt;&lt;BR /&gt;ENDif;&lt;/P&gt;&lt;P&gt;Let vPrevTriggerB = '$(B_Trigger)';&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let C_Trigger= Filetime('............\QVW\C_Trigger.txt');&lt;/P&gt;&lt;P&gt;IF('$(C_Trigger)'&amp;gt;'$(vPrevTriggerC )') Then&lt;BR /&gt;Let vFlagTimeC='True';&lt;BR /&gt;ELSE&lt;BR /&gt;Let vFlagTimeC='False';&lt;BR /&gt;&lt;BR /&gt;ENDif;&lt;/P&gt;&lt;P&gt;Let vPrevTrigger C= '$(C_Trigger)';&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Balram&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>balrammahato204</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Random Trigger check and store the File</title>
      <link>https://community.qlik.com/t5/QlikView/Random-Trigger-check-and-store-the-File/m-p/1615378#M736160</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have one scenario to achieve please help.&lt;/P&gt;&lt;P&gt;I have three EDX trigger which are coming randomly and my job is triggering as per EdX trigger. Now i wanted to check if all three triggers are came and then in my script i have to concatenate three tables. These three tables are dependent upon the trigger. Means whenever i am getting the trigger corresponding table is update and same table i am pulling inside my script from the database.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My challenge is how can i know all three triggers are came and my data concatenation will happen.&lt;/P&gt;&lt;P&gt;from the Trigger timestamp i can identify the which trigger is latest trigger, But at last not able to decide how all trigger is came.&lt;/P&gt;&lt;P&gt;from the below code i am able to identify the trigger is came and corresponding table data is loaded&amp;nbsp; using corresponding flag, But on completion of all three i have to store the concat QVD and here triggers are not sequential any trigger can come anytime.&lt;/P&gt;&lt;P&gt;Please help or let me know if required more explanation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let A_Trigger= Filetime('............\QVW\A_Trigger.txt');&lt;/P&gt;&lt;P&gt;IF('$(A_Trigger)'&amp;gt;'$(vPrevTrigger )') Then&lt;BR /&gt;Let vFlagTime='True';&lt;BR /&gt;ELSE&lt;BR /&gt;Let vFlagTime='False';&lt;BR /&gt;&lt;BR /&gt;ENDif;&lt;/P&gt;&lt;P&gt;Let vPrevTrigger = '$(A_Trigger)';&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let B_Trigger= Filetime('............\QVW\B_Trigger.txt');&lt;/P&gt;&lt;P&gt;IF('$(B_Trigger)'&amp;gt;'$(vPrevTriggerB )') Then&lt;BR /&gt;Let vFlagTimeB='True';&lt;BR /&gt;ELSE&lt;BR /&gt;Let vFlagTimeB='False';&lt;BR /&gt;&lt;BR /&gt;ENDif;&lt;/P&gt;&lt;P&gt;Let vPrevTriggerB = '$(B_Trigger)';&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let C_Trigger= Filetime('............\QVW\C_Trigger.txt');&lt;/P&gt;&lt;P&gt;IF('$(C_Trigger)'&amp;gt;'$(vPrevTriggerC )') Then&lt;BR /&gt;Let vFlagTimeC='True';&lt;BR /&gt;ELSE&lt;BR /&gt;Let vFlagTimeC='False';&lt;BR /&gt;&lt;BR /&gt;ENDif;&lt;/P&gt;&lt;P&gt;Let vPrevTrigger C= '$(C_Trigger)';&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Balram&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Random-Trigger-check-and-store-the-File/m-p/1615378#M736160</guid>
      <dc:creator>balrammahato204</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Random Trigger check and store the File</title>
      <link>https://community.qlik.com/t5/QlikView/Random-Trigger-check-and-store-the-File/m-p/1619756#M736161</link>
      <description>&lt;P&gt;Best I have is the following:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/QMC/Content/QV_QMC/QMC_Documents_SourceDocuments_Wizard_TriggerTask.htm#On_multiple_events_completed" target="_blank"&gt;https://help.qlik.com/en-US/qlikview/April2019/Subsystems/QMC/Content/QV_QMC/QMC_Documents_SourceDocuments_Wizard_TriggerTask.htm#On_multiple_events_completed&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I am guessing you want to do this in the script though, not through a separate task, if that is the case, someone else will have to chime in, as I am not sure if that is going to be possible or not.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 20:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Random-Trigger-check-and-store-the-File/m-p/1619756#M736161</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-09-03T20:11:42Z</dc:date>
    </item>
  </channel>
</rss>

