<?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: Reload Task Button Variable, Reload Time in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Reload-Task-Button-Variable-Reload-Time/m-p/1842609#M69754</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;is it possible to share button extension? I can check the logic and hopefully create the timestamp you want to see.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;m&lt;/P&gt;</description>
    <pubDate>Wed, 06 Oct 2021 06:10:26 GMT</pubDate>
    <dc:creator>mato32188</dc:creator>
    <dc:date>2021-10-06T06:10:26Z</dc:date>
    <item>
      <title>Reload Task Button Variable, Reload Time</title>
      <link>https://community.qlik.com/t5/App-Development/Reload-Task-Button-Variable-Reload-Time/m-p/1841759#M69708</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am developing an App, where is already installed the extension of reload task button.&lt;/P&gt;&lt;P&gt;So every time the user press the button, it start a specific task chain that I developed in QMC.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The thing is there are going to be 2 buttons. One that will reload the app with the full task chain, and another button that will reload the app just for a part of the task chain.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like two text objects, that shows the last time of reload for each of the buttons.&lt;/P&gt;&lt;P&gt;I though about using variables, that take a value if the reload button is pressed, and then with another function provide the last time the variable took the value, I am not very sure how to do that, but is a logic I though..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate if someone can help me to do that, or maybe if there is another way to do it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 19:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Reload-Task-Button-Variable-Reload-Time/m-p/1841759#M69708</guid>
      <dc:creator>FranciscoQ</dc:creator>
      <dc:date>2021-10-04T19:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Task Button Variable, Reload Time</title>
      <link>https://community.qlik.com/t5/App-Development/Reload-Task-Button-Variable-Reload-Time/m-p/1842112#M69725</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/149331"&gt;@FranciscoQ&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I had the similar case in our company. We wanted to measure the reload time of specific app with and without another task in chain and see how the additional task influenced the whole reload process. What I did?&lt;/P&gt;&lt;P&gt;I created two chains. One full (Task1, Task2, Task3) and one partial(Task4, Task5). Task1 is actually exactly the same as Task4, but with different taskId as well as Task3 is the same as Task5. First button triggers chain Task1-Task2-Task3 and second button triggers chain Task4-Task5. As soon as you have started reloads, you can load the data from PostgreSQL db and see the execution time for particular chains.&lt;/P&gt;&lt;P&gt;LIB CONNECT TO 'QLogs';&lt;/P&gt;&lt;P&gt;LOAD entry_timestamp,&lt;BR /&gt;process_host,&lt;BR /&gt;id,&lt;BR /&gt;process_name,&lt;BR /&gt;logger,&lt;BR /&gt;entry_level,&lt;BR /&gt;status,&lt;BR /&gt;execution_id,&lt;BR /&gt;task_id,&lt;BR /&gt;task_name,&lt;BR /&gt;duration,&lt;BR /&gt;app_id,&lt;BR /&gt;app_name,&lt;BR /&gt;start_time,&lt;BR /&gt;stop_time,&lt;BR /&gt;executing_node_name;&lt;/P&gt;&lt;P&gt;[view_task_execution_scheduler]:&lt;BR /&gt;SELECT "entry_timestamp",&lt;BR /&gt;"process_host",&lt;BR /&gt;"id",&lt;BR /&gt;"process_name",&lt;BR /&gt;"logger",&lt;BR /&gt;"entry_level",&lt;BR /&gt;"status",&lt;BR /&gt;"execution_id",&lt;BR /&gt;"task_id",&lt;BR /&gt;"task_name",&lt;BR /&gt;"duration",&lt;BR /&gt;"app_id",&lt;BR /&gt;"app_name",&lt;BR /&gt;"start_time",&lt;BR /&gt;"stop_time",&lt;BR /&gt;"executing_node_name"&lt;BR /&gt;FROM "public"."view_task_execution_scheduler";&lt;/P&gt;&lt;P&gt;This is how we did it. Hope it can help you a bit.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;m&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 11:23:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Reload-Task-Button-Variable-Reload-Time/m-p/1842112#M69725</guid>
      <dc:creator>mato32188</dc:creator>
      <dc:date>2021-10-05T11:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Task Button Variable, Reload Time</title>
      <link>https://community.qlik.com/t5/App-Development/Reload-Task-Button-Variable-Reload-Time/m-p/1842359#M69742</link>
      <description>&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interesting,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But want I want to achieve is actually different. I want a text object that shows below each of the buttons, the exact date and time each of the buttons were executed.&lt;/P&gt;&lt;P&gt;Because one button is to reload the whole App, and the other button is just for user files.&lt;/P&gt;&lt;P&gt;I don't know if that is possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks anyway!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 15:29:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Reload-Task-Button-Variable-Reload-Time/m-p/1842359#M69742</guid>
      <dc:creator>FranciscoQ</dc:creator>
      <dc:date>2021-10-05T15:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reload Task Button Variable, Reload Time</title>
      <link>https://community.qlik.com/t5/App-Development/Reload-Task-Button-Variable-Reload-Time/m-p/1842609#M69754</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;is it possible to share button extension? I can check the logic and hopefully create the timestamp you want to see.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;m&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 06:10:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Reload-Task-Button-Variable-Reload-Time/m-p/1842609#M69754</guid>
      <dc:creator>mato32188</dc:creator>
      <dc:date>2021-10-06T06:10:26Z</dc:date>
    </item>
  </channel>
</rss>

