<?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: How to create Routines and Use them in tJava in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207134#M6899</link>
    <description>hi,&lt;BR /&gt;by default the package definition is:&lt;BR /&gt;package routines.&amp;lt;project name&amp;gt;;&lt;BR /&gt;in you case;&lt;BR /&gt;package routines.weekly_dashboard;&lt;BR /&gt;unfortunately, i got no suggestions.  but for argument sake try creating another project and a routine in it.</description>
    <pubDate>Sun, 09 Nov 2008 18:24:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-11-09T18:24:02Z</dc:date>
    <item>
      <title>How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207119#M6884</link>
      <description>Hi&lt;BR /&gt;I have a particular business requirement for which I had to write my own java code and Now I want to put this code into routines.&lt;BR /&gt;The problem I encounter is strange Even though I tell it to put in a particular package It doesn't put the code into that package and even if I change it manually it keeps giving me errors.&lt;BR /&gt;It always put my code into some weekly_dashboard package.&lt;BR /&gt;And Pls give me information on how to use these routines in tJava or any component  once I get this working.&lt;BR /&gt;Thanks&lt;BR /&gt;Surya</description>
      <pubDate>Sat, 16 Nov 2024 14:10:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207119#M6884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207120#M6885</link>
      <description>Hello
&lt;BR /&gt;weekly_dashboard is your project name, all the routines created by users are put in the package: routines.projectName. 
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;The problem I encounter is strange Even though I tell it to put in a particular package&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;You are creating some folders, not package.
&lt;BR /&gt;Please see the screenshots.
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Fri, 31 Oct 2008 08:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207120#M6885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-31T08:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207121#M6886</link>
      <description>Hi Shong
&lt;BR /&gt;Thanks for the quick reply.
&lt;BR /&gt;But I am still facing the same problem sending you screen shots of all the steps.
&lt;BR /&gt;I followed your instructions but still it gives errors in the package.
&lt;BR /&gt;Thanks
&lt;BR /&gt;Surya</description>
      <pubDate>Fri, 31 Oct 2008 10:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207121#M6886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-31T10:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207122#M6887</link>
      <description>hi, 
&lt;BR /&gt;i created a dummy routine under a folder called: 
&lt;BR /&gt;forumQuestions 
&lt;BR /&gt;NOTE: the name of the folder does not need to be used. 
&lt;BR /&gt;my routine: 
&lt;BR /&gt;package routines.proj_comcare; 
&lt;BR /&gt;public class ShowMyMessage { 
&lt;BR /&gt; /** 
&lt;BR /&gt; * ShowMyMessage: not return value, only print "hello" + message. 
&lt;BR /&gt; * 
&lt;BR /&gt; * 
&lt;BR /&gt; * {talendTypes} String 
&lt;BR /&gt; * 
&lt;BR /&gt; * {Category} SomeCategoryToChoose 
&lt;BR /&gt; * 
&lt;BR /&gt; * {param} string("world") input: The string need to be printed. 
&lt;BR /&gt; * 
&lt;BR /&gt; * {example} helloExemple("world") # hello world !. 
&lt;BR /&gt; */ 
&lt;BR /&gt; public static void helloExample(String message) { 
&lt;BR /&gt; if (message == null) { 
&lt;BR /&gt; message = "World"; 
&lt;BR /&gt; } 
&lt;BR /&gt; System.out.println("Hello " + message + " !"); 
&lt;BR /&gt; } 
&lt;BR /&gt;} 
&lt;BR /&gt; 
&lt;BR /&gt;NOTE: there is the Category - that is what is used by the tJava components 
&lt;BR /&gt;{Category} SomeCategoryToChoose 
&lt;BR /&gt;EXAMPLE: 
&lt;BR /&gt;create a new job add a tJava and press CTRL + space; i get the screenshot below: 
&lt;BR /&gt; 
&lt;BR /&gt;then in tJava i end up with: 
&lt;BR /&gt;ShowMyMessage.helloExample("nicolas message 1"); 
&lt;BR /&gt; 
&lt;BR /&gt;hope it helps, 
&lt;BR /&gt; 
&lt;BR /&gt;Nicolas 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;A href="http://www.brainpowered.net" target="_blank" rel="nofollow noopener noreferrer"&gt;www.brainpowered.net&lt;/A&gt;</description>
      <pubDate>Fri, 31 Oct 2008 15:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207122#M6887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-31T15:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207123#M6888</link>
      <description>Hi Nicholas&lt;BR /&gt;Thanks for the response but the problem I am facing is that when ever I create a routine the routine starts throwing errors as shown in image no matter what I put in package name it keeps giving me the same error.&lt;BR /&gt;I am little stuck here &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Surya</description>
      <pubDate>Fri, 31 Oct 2008 17:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207123#M6888</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-31T17:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207124#M6889</link>
      <description>HI&lt;BR /&gt;Any body from Talend Support Pls help &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;I am right now stuck at this point.&lt;BR /&gt;Regards&lt;BR /&gt;Surya</description>
      <pubDate>Sat, 01 Nov 2008 15:57:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207124#M6889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-11-01T15:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207125#M6890</link>
      <description>suryavikas,
&lt;BR /&gt;could you please post the code of your routine or use the code that i have posted?
&lt;BR /&gt;i am using version 3, what version are you using?
&lt;BR /&gt;Nicolas</description>
      <pubDate>Sat, 01 Nov 2008 21:20:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207125#M6890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-11-01T21:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207126#M6891</link>
      <description>Hi Nicolas 
&lt;BR /&gt;Pls find step by step details how I create routine but it doesnt work for me &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; and I am also using Talend 3 
&lt;BR /&gt;Code of the routine. 
&lt;BR /&gt;// template routine Java 
&lt;BR /&gt;package routines.weekly_dashboard; 
&lt;BR /&gt;/* 
&lt;BR /&gt; * user specification: the function's comment should contain keys as follows: 1. write about the function's comment.but 
&lt;BR /&gt; * it must be before the "{talendTypes}" key. 
&lt;BR /&gt; * 
&lt;BR /&gt; * 2. {talendTypes} 's value must be talend Type, it is required . its value should be one of: String, char | Character, 
&lt;BR /&gt; * long | Long, int | Integer, boolean | Boolean, byte | Byte, Date, double | Double, float | Float, Object, short | 
&lt;BR /&gt; * Short 
&lt;BR /&gt; * 
&lt;BR /&gt; * 3. {Category} define a category for the Function. it is required. its value is user-defined . 
&lt;BR /&gt; * 
&lt;BR /&gt; * 4. {param} 's format is: {param} &amp;lt;type&amp;gt; &amp;lt;name&amp;gt; 
&lt;BR /&gt; * 
&lt;BR /&gt; * &amp;lt;type&amp;gt; 's value should be one of: string, int, list, double, object, boolean, long, char, date. &amp;lt;name&amp;gt;'s value is the 
&lt;BR /&gt; * Function's parameter name. the {param} is optional. so if you the Function without the parameters. the {param} don't 
&lt;BR /&gt; * added. you can have many parameters for the Function. 
&lt;BR /&gt; * 
&lt;BR /&gt; * 5. {example} gives a example for the Function. it is optional. 
&lt;BR /&gt; */ 
&lt;BR /&gt;public class test123 { 
&lt;BR /&gt; /** 
&lt;BR /&gt; * helloExample: not return value, only print "hello" + message. 
&lt;BR /&gt; * 
&lt;BR /&gt; * 
&lt;BR /&gt; * {talendTypes} String 
&lt;BR /&gt; * 
&lt;BR /&gt; * {Category} User Defined 
&lt;BR /&gt; * 
&lt;BR /&gt; * {param} string("world") input: The string need to be printed. 
&lt;BR /&gt; * 
&lt;BR /&gt; * {example} helloExemple("world") # hello world !. 
&lt;BR /&gt; */ 
&lt;BR /&gt; public static void helloExample(String message) { 
&lt;BR /&gt; if (message == null) { 
&lt;BR /&gt; message = "World"; 
&lt;BR /&gt; } 
&lt;BR /&gt; System.out.println("Hello " + message + " !"); 
&lt;BR /&gt; } 
&lt;BR /&gt;} 
&lt;BR /&gt;Attached images of the step by step process. 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Surya</description>
      <pubDate>Mon, 03 Nov 2008 06:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207126#M6891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-11-03T06:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207127#M6892</link>
      <description>Any inputs&lt;BR /&gt;Pls help &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Surya</description>
      <pubDate>Tue, 04 Nov 2008 17:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207127#M6892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-11-04T17:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207128#M6893</link>
      <description>what is the error that you're getting at this line?&lt;BR /&gt;&lt;PRE&gt;package routines.weekly_dashboard;&lt;/PRE&gt;&lt;BR /&gt;i think you need to change it back to &lt;BR /&gt;&lt;PRE&gt;package routines;&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Nov 2008 20:22:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207128#M6893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-11-04T20:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207129#M6894</link>
      <description>Hi&lt;BR /&gt;Pls find the error message I get.&lt;BR /&gt;&lt;BR /&gt;The declared package "routines.weekly_dashboard" does not match the expected package ""&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Surya</description>
      <pubDate>Wed, 05 Nov 2008 06:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207129#M6894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-11-05T06:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207130#M6895</link>
      <description>Yea, I think you need to change it, like I said in my last post.</description>
      <pubDate>Wed, 05 Nov 2008 17:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207130#M6895</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-11-05T17:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207131#M6896</link>
      <description>Hi
&lt;BR /&gt;I have tried that, still my program gives me the same error.
&lt;BR /&gt;Surya</description>
      <pubDate>Wed, 05 Nov 2008 17:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207131#M6896</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-11-05T17:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207132#M6897</link>
      <description>Did you save it?  Also, it shouldn't be giving you the exact same error, since your declared package name has changed.</description>
      <pubDate>Wed, 05 Nov 2008 17:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207132#M6897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-11-05T17:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207133#M6898</link>
      <description>Hi&lt;BR /&gt;Yes I did save it and even after changing the package to routines it gives the same error.&lt;BR /&gt;&lt;BR /&gt;The declared package "routines" does not match the expected package ""&lt;BR /&gt;Attached Image to show.&lt;BR /&gt;Thanks&lt;BR /&gt;Surya</description>
      <pubDate>Thu, 06 Nov 2008 07:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207133#M6898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-11-06T07:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207134#M6899</link>
      <description>hi,&lt;BR /&gt;by default the package definition is:&lt;BR /&gt;package routines.&amp;lt;project name&amp;gt;;&lt;BR /&gt;in you case;&lt;BR /&gt;package routines.weekly_dashboard;&lt;BR /&gt;unfortunately, i got no suggestions.  but for argument sake try creating another project and a routine in it.</description>
      <pubDate>Sun, 09 Nov 2008 18:24:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207134#M6899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-11-09T18:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Routines and Use them in tJava</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207135#M6900</link>
      <description>Hello 
&lt;BR /&gt;The package name is fixed and it always is routines. I remember there was a bug about can't save the routine after edit it on previous version and it have been fixed on the latest version. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Tue, 10 Nov 2009 02:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-create-Routines-and-Use-them-in-tJava/m-p/2207135#M6900</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-10T02:36:27Z</dc:date>
    </item>
  </channel>
</rss>

