<?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 Execute a plsql block in talend but in synchronous mode in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Execute-a-plsql-block-in-talend-but-in-synchronous-mode/m-p/2351214#M117911</link>
    <description>&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;In my job, I need to call an Oracle function in the database. &lt;/P&gt;&lt;P&gt;I'm using the TDBRow. It's working fine but the next component is executed juste after my function event if it's not completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's a way to make the call but wait the completing of the function before executing the next component ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other than create a tWait component after and check for a flag in a table or whatever ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2023 18:55:24 GMT</pubDate>
    <dc:creator>Careau</dc:creator>
    <dc:date>2023-06-29T18:55:24Z</dc:date>
    <item>
      <title>Execute a plsql block in talend but in synchronous mode</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Execute-a-plsql-block-in-talend-but-in-synchronous-mode/m-p/2351214#M117911</link>
      <description>&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;In my job, I need to call an Oracle function in the database. &lt;/P&gt;&lt;P&gt;I'm using the TDBRow. It's working fine but the next component is executed juste after my function event if it's not completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There's a way to make the call but wait the completing of the function before executing the next component ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other than create a tWait component after and check for a flag in a table or whatever ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 18:55:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Execute-a-plsql-block-in-talend-but-in-synchronous-mode/m-p/2351214#M117911</guid>
      <dc:creator>Careau</dc:creator>
      <dc:date>2023-06-29T18:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a plsql block in talend but in synchronous mode</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Execute-a-plsql-block-in-talend-but-in-synchronous-mode/m-p/2351215#M117912</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Are you able to get some return value from your oracle function?&lt;/P&gt;&lt;P&gt;If so, you could use the runIf connector to fire the step2, for example, let's assume that the return code is 1 when successful, 0 when failed. &lt;/P&gt;&lt;P&gt;tOracleRow--main--&amp;gt;tJavaRow--runIf--step2&lt;/P&gt;&lt;P&gt;on tJavaRow: &lt;/P&gt;&lt;P&gt;if(input_row.return_code==1){ &lt;/P&gt;&lt;P&gt;globalMap.put("isContinue",true); &lt;/P&gt;&lt;P&gt;}else{ &lt;/P&gt;&lt;P&gt;globalMap.put("isContinue",false); &lt;/P&gt;&lt;P&gt;} &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;set the condition of runIf link: &lt;/P&gt;&lt;P&gt;(Boolean)globalMap.get("isContinue")&lt;/P&gt;&lt;P&gt;Hope it will be helpful for your use case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 08:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Execute-a-plsql-block-in-talend-but-in-synchronous-mode/m-p/2351215#M117912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-30T08:08:14Z</dc:date>
    </item>
  </channel>
</rss>

