<?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 Call PostgreSQL procedure from Qlik Automation Block in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/Call-PostgreSQL-procedure-from-Qlik-Automation-Block/m-p/2540796#M6394</link>
    <description>&lt;P&gt;HI, In Qlik Automation I’m calling a PostgreSQL procedure using the Postgre&amp;gt;&lt;STRONG&gt;Do Query&lt;/STRONG&gt; block:&lt;BR /&gt;&lt;BR /&gt;I simply put into '&lt;SPAN class=""&gt;Query&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;*' field:&lt;BR /&gt;&lt;EM&gt;call schema.procedure_name();&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The block usually keeps running for a 2 hours 5 minutes or eventually times out, even though in PostgreSQL the procedure is triggered immediately and finishes in less than a millisecond (based on my logs).&lt;/P&gt;&lt;P&gt;Do you have any experience or recommended block/workaround for this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jan 2026 21:17:58 GMT</pubDate>
    <dc:creator>kaba</dc:creator>
    <dc:date>2026-01-13T21:17:58Z</dc:date>
    <item>
      <title>Call PostgreSQL procedure from Qlik Automation Block</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Call-PostgreSQL-procedure-from-Qlik-Automation-Block/m-p/2540796#M6394</link>
      <description>&lt;P&gt;HI, In Qlik Automation I’m calling a PostgreSQL procedure using the Postgre&amp;gt;&lt;STRONG&gt;Do Query&lt;/STRONG&gt; block:&lt;BR /&gt;&lt;BR /&gt;I simply put into '&lt;SPAN class=""&gt;Query&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;*' field:&lt;BR /&gt;&lt;EM&gt;call schema.procedure_name();&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The block usually keeps running for a 2 hours 5 minutes or eventually times out, even though in PostgreSQL the procedure is triggered immediately and finishes in less than a millisecond (based on my logs).&lt;/P&gt;&lt;P&gt;Do you have any experience or recommended block/workaround for this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2026 21:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Call-PostgreSQL-procedure-from-Qlik-Automation-Block/m-p/2540796#M6394</guid>
      <dc:creator>kaba</dc:creator>
      <dc:date>2026-01-13T21:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Call PostgreSQL procedure from Qlik Automation Block</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Call-PostgreSQL-procedure-from-Qlik-Automation-Block/m-p/2540866#M6399</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/251256"&gt;@kaba&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm not able to test it but my guess is that the Do Query block is probably expecting your stored procedure to return something. I would try something like this in the Do Query block and see if it works:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CALL schema.procedure_name();
SELECT NOW() AS current_datetime;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mark Costa&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2026 13:51:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Call-PostgreSQL-procedure-from-Qlik-Automation-Block/m-p/2540866#M6399</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2026-01-14T13:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Call PostgreSQL procedure from Qlik Automation Block</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Call-PostgreSQL-procedure-from-Qlik-Automation-Block/m-p/2540934#M6404</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the problem is its not possible to run 2 queries like this in a in a&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;Do Query block.&lt;BR /&gt;I tried to wrap it into a function returning one value, but it doesn't seem to have any effect.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT scheme.run_procedure_name();&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 10:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Call-PostgreSQL-procedure-from-Qlik-Automation-Block/m-p/2540934#M6404</guid>
      <dc:creator>kaba</dc:creator>
      <dc:date>2026-01-15T10:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Call PostgreSQL procedure from Qlik Automation Block</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Call-PostgreSQL-procedure-from-Qlik-Automation-Block/m-p/2541939#M6415</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22035"&gt;@marksouzacosta&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/251256"&gt;@kaba&lt;/a&gt;&amp;nbsp; Even I face the Same issue I created an Automation to write Directly into Postgress SQL through Qlik Writeback Table here: I was able to make the connection but the Query Doesn't work nor do the Insertion operation&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FaizanMirza_0-1769678816311.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/186605i481DC296E4169335/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FaizanMirza_0-1769678816311.png" alt="FaizanMirza_0-1769678816311.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 09:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Call-PostgreSQL-procedure-from-Qlik-Automation-Block/m-p/2541939#M6415</guid>
      <dc:creator>FaizanMirza</dc:creator>
      <dc:date>2026-01-29T09:27:35Z</dc:date>
    </item>
  </channel>
</rss>

