<?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: Trigger another job, when tSystem output has certain text in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Trigger-another-job-when-tSystem-output-has-certain-text/m-p/2216146#M12284</link>
    <description>I think string should be String.</description>
    <pubDate>Fri, 18 Apr 2008 11:06:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-04-18T11:06:29Z</dc:date>
    <item>
      <title>Trigger another job, when tSystem output has certain text</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trigger-another-job-when-tSystem-output-has-certain-text/m-p/2216143#M12281</link>
      <description>Hi talend team,&lt;BR /&gt;I want to trigger a stored procedure, when I run in tSystems an external perl script, which finishes successfully.&lt;BR /&gt;This is the output of the perl script in the tSystem component:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Start loading data at: 2008-04-17 10:46:23&lt;BR /&gt;Preparing load of data in /path/to/file/file.TXT:&lt;BR /&gt;&lt;BR /&gt;Records inserted: 672&lt;BR /&gt;Finished loading data at: 2008-04-17 10:46:24&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;So I used an If-Trigger connection and I tried this:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;((String)globalMap.get("tSystem_1_OUTPUT")) =="Finished loading data"&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;But nothing happens ...&lt;BR /&gt;I guess you will suggest me to use regex, but I couldn't figure out how to use it.</description>
      <pubDate>Sat, 16 Nov 2024 14:23:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trigger-another-job-when-tSystem-output-has-certain-text/m-p/2216143#M12281</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger another job, when tSystem output has certain text</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trigger-another-job-when-tSystem-output-has-certain-text/m-p/2216144#M12282</link>
      <description>You can execute regex with:
&lt;BR /&gt;
&lt;PRE&gt;((string)globalMap.get("tSystem_1_OUTPUT"))).matches("Finished loading data")&lt;/PRE&gt;
&lt;BR /&gt;For more information:
&lt;BR /&gt;
&lt;A href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" rel="nofollow noopener noreferrer"&gt;http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html&lt;/A&gt;
&lt;BR /&gt;Hope this helps.
&lt;BR /&gt;Bye
&lt;BR /&gt;Volker</description>
      <pubDate>Fri, 18 Apr 2008 00:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trigger-another-job-when-tSystem-output-has-certain-text/m-p/2216144#M12282</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-18T00:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger another job, when tSystem output has certain text</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trigger-another-job-when-tSystem-output-has-certain-text/m-p/2216145#M12283</link>
      <description>Thanks Volker, 
&lt;BR /&gt;but I have no experience using regexp and I couldn't get it work. I added a screenshot of my job, where you can see the configuration of the if-trigger connection. 
&lt;BR /&gt;But I get the following error message, when I run this job: 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Starte Job IMPORT_LPEX2_TO_DB am 09:58 18/04/2008.&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problem: &lt;BR /&gt; string cannot be resolved to a type&lt;BR /&gt; at inpower.import_lpex2_to_db.IMPORT_LPEX2_TO_DB.tFileList_1Process(IMPORT_LPEX2_TO_DB.java:373)&lt;BR /&gt; at inpower.import_lpex2_to_db.IMPORT_LPEX2_TO_DB.runJobInTOS(IMPORT_LPEX2_TO_DB.java:1386)&lt;BR /&gt; at inpower.import_lpex2_to_db.IMPORT_LPEX2_TO_DB.main(IMPORT_LPEX2_TO_DB.java:1305)&lt;BR /&gt;Job IMPORT_LPEX2_TO_DB endet am 09:58 18/04/2008. &lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Any suggestions 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MC4b.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157798i1FF7FC608E276CB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MC4b.png" alt="0683p000009MC4b.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 18 Apr 2008 08:59:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trigger-another-job-when-tSystem-output-has-certain-text/m-p/2216145#M12283</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-18T08:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger another job, when tSystem output has certain text</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trigger-another-job-when-tSystem-output-has-certain-text/m-p/2216146#M12284</link>
      <description>I think string should be String.</description>
      <pubDate>Fri, 18 Apr 2008 11:06:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trigger-another-job-when-tSystem-output-has-certain-text/m-p/2216146#M12284</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-18T11:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger another job, when tSystem output has certain text</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trigger-another-job-when-tSystem-output-has-certain-text/m-p/2216147#M12285</link>
      <description>Sorry. Yes, string should be String.&lt;BR /&gt;I'm not a "regex-master" for java (each implementation is a little bit different).&lt;BR /&gt;You have to take care about the following two things:&lt;BR /&gt;matches() matches the whole string. So you need something like: ".*Finished loading data.*"&lt;BR /&gt;And you have a multiline string. I don't know if there are any specialties for that.&lt;BR /&gt;Bye&lt;BR /&gt;Volker</description>
      <pubDate>Fri, 18 Apr 2008 22:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trigger-another-job-when-tSystem-output-has-certain-text/m-p/2216147#M12285</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-18T22:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger another job, when tSystem output has certain text</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Trigger-another-job-when-tSystem-output-has-certain-text/m-p/2216148#M12286</link>
      <description>Thanks that helped.&lt;BR /&gt;Marko</description>
      <pubDate>Tue, 22 Apr 2008 08:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Trigger-another-job-when-tSystem-output-has-certain-text/m-p/2216148#M12286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-04-22T08:28:22Z</dc:date>
    </item>
  </channel>
</rss>

