<?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 Query/Receive current value for one data every minute from Qlik to another system in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/Query-Receive-current-value-for-one-data-every-minute-from-Qlik/m-p/2475908#M4510</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have the following situation. We have a Qlik app and dashboard with one essential information we want in another system. We have middleware that can do nearly every protocol, but I couldn't find a "simple" way to request this information via REST call to Qlik. I also tried to set up a new REST data source inside the app and send the value as a POST body via a script, but I could not configure a timer inside Qlik to trigger this call.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone know a technique to get the data without doing web scraping? There is no problem with sending an HTTP call from the middleware to Qlik Sense every minute or using another protocol. I just don't know how to handle it in Qlik Sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's how we display the required value inside the app (That's the value I need every minute):&lt;/P&gt;
&lt;P&gt;let value = only({&amp;lt;StationType = {"*OUTPUT*"}, LineName={"Line1"}&amp;gt;} #ScrapSNSG);&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2024 17:54:19 GMT</pubDate>
    <dc:creator>KraRaSof</dc:creator>
    <dc:date>2024-08-12T17:54:19Z</dc:date>
    <item>
      <title>Query/Receive current value for one data every minute from Qlik to another system</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Query-Receive-current-value-for-one-data-every-minute-from-Qlik/m-p/2475908#M4510</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have the following situation. We have a Qlik app and dashboard with one essential information we want in another system. We have middleware that can do nearly every protocol, but I couldn't find a "simple" way to request this information via REST call to Qlik. I also tried to set up a new REST data source inside the app and send the value as a POST body via a script, but I could not configure a timer inside Qlik to trigger this call.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone know a technique to get the data without doing web scraping? There is no problem with sending an HTTP call from the middleware to Qlik Sense every minute or using another protocol. I just don't know how to handle it in Qlik Sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's how we display the required value inside the app (That's the value I need every minute):&lt;/P&gt;
&lt;P&gt;let value = only({&amp;lt;StationType = {"*OUTPUT*"}, LineName={"Line1"}&amp;gt;} #ScrapSNSG);&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 17:54:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Query-Receive-current-value-for-one-data-every-minute-from-Qlik/m-p/2475908#M4510</guid>
      <dc:creator>KraRaSof</dc:creator>
      <dc:date>2024-08-12T17:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Query/Receive current value for one data every minute from Qlik to another system</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Query-Receive-current-value-for-one-data-every-minute-from-Qlik/m-p/2475956#M4514</link>
      <description>&lt;P&gt;I assume this value&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;only({&amp;lt;StationType = {"*OUTPUT*"}, LineName={"Line1"}&amp;gt;} #ScrapSNSG)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;changes only when the Qlik App is reloaded? If so, why not store it in a file during reload and pick up that file from your middleware.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-Rob&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 23:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Query-Receive-current-value-for-one-data-every-minute-from-Qlik/m-p/2475956#M4514</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2024-08-12T23:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Query/Receive current value for one data every minute from Qlik to another system</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Query-Receive-current-value-for-one-data-every-minute-from-Qlik/m-p/2475974#M4516</link>
      <description>&lt;P&gt;You are right. Thanks a lot for this idea, this way it should also work with HTTP call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either way, I’m struggling with this right now. This works for the Dashboard, but not in the Script. How do I have to change it, to get the values? (I get an syntax error) (Yes, I see the typo in Line1)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_1664.png" style="width: 770px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170550i4A87AF68EF62E462/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_1664.png" alt="IMG_1664.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regarding the REST call, this is also not working, because of a syntax error.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_1665.png" style="width: 492px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/170551iC650F347861EA8DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_1665.png" alt="IMG_1665.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; Thx a lot &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 04:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Query-Receive-current-value-for-one-data-every-minute-from-Qlik/m-p/2475974#M4516</guid>
      <dc:creator>KraRaSof</dc:creator>
      <dc:date>2024-08-13T04:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Query/Receive current value for one data every minute from Qlik to another system</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Query-Receive-current-value-for-one-data-every-minute-from-Qlik/m-p/2476100#M4520</link>
      <description>&lt;P&gt;You can't use Set Analysis in script. You have to code the equivalent which would be a Load statement using Where and possibly Group By clauses. If all the necessary fields are in the same table, something like:&lt;/P&gt;
&lt;PRE&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;EssentialKPI:&amp;nbsp;&lt;BR /&gt;LOAD&amp;nbsp;#ScrapSNSG&lt;BR /&gt;Resident Mydata&lt;BR /&gt;Where StationType like '*OUTPUT*' and 'Line1';&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;// Store in file to be read by Middleware. Or skip this and POST from the script.&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;STORE EssentialKPI Into lib://someCloudDataConnection/EssentialKPI.csv (txt);&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;If the fields are not in the same "MyData" table, you may need to create some temporary association. See&amp;nbsp;&lt;A href="https://qlikviewcookbook.com/2020/03/creating-temporary-script-associations/" target="_blank"&gt;https://qlikviewcookbook.com/2020/03/creating-temporary-script-associations/&lt;/A&gt;&amp;nbsp;for suggestions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Re your attempt at POSTing using the REST connector. Take a look at the doc for WITH CONNECTION here&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/Load-REST-data/Load-data.htm" target="_blank"&gt;https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/Connectors_REST/Load-REST-data/Load-data.htm&lt;/A&gt;&amp;nbsp;and search "Qlik Rest connector post" to see how others have done this. I believe the METHOD should be in the connection def and you should reference the conection with LIB CONNECT TO "Middleware REST connection".&lt;/P&gt;
&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 14:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Query-Receive-current-value-for-one-data-every-minute-from-Qlik/m-p/2476100#M4520</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2024-08-13T14:55:09Z</dc:date>
    </item>
  </channel>
</rss>

