Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tRowGenerator resets to default values

I am using component tRowGenerator to populate Date dimension. I have one date column with Function TalendDate.addDate. Env variables are date, nb, dateType. I set the values for these 3 parameters and ran the job. The job ran successfully and populated few columns of the table. I need to map more columns of the table and run the job again. 
Every time I closed the job and opened it again the parameters are reset to their default values, now if I run the job it throws an error stating myDate cannot be resolved to a variable. addValue cannot be resolved to a variable.
I set the parameters back several times, saved the job but still they are not retained. Is this a bug in Talend DI? How to resolve?
I am using Version: 5.6.1
Build id: V5.6.1_20141207_1530
Labels (2)
12 Replies
Anonymous
Not applicable
Author

Hi,
How did u add the date variable for TalendDate.addDate().
Use a static date and parse it using parsedate function of talend to avoid your issue.
-Bhanu
Anonymous
Not applicable
Author

Hi Bhanu,
This is how I have added the date variable. See screenshot. I was using context variable myStartDate as date variable and 
passed that as parameter to the addDate function. I don't quite get what you mean by using static date and parse, can you post a screenshot.
Thanks
Shyni
Anonymous
Not applicable
Author

Hi,
Is there any fix or workaround to the tRowGenerator bug?
Anonymous
Not applicable
Author

Currently I am using Jaspersoft ETL Express
Version: 5.5.1
Build id: r118616-20140618-0111
The same issue is also in V5.5.1
Anonymous
Not applicable
Author

Hi Shynicv 
Where are your screenshots? V5.5.1 was an rather old version, can you test the latest version and see if the problem still exists?
Best regards
Shong
Anonymous
Not applicable
Author

I uploaded the screenshots in the original post, but it is not showing up in the page.
Anonymous
Not applicable
Author

please see screenshot 
Anonymous
Not applicable
Author

The original post was reported for: 
TOS DI
Version: 5.6.1
Build id: V5.6.1_20141207_1530
Anonymous
Not applicable
Author

Hi 
It seems you don't use the function TalendDate.addDate(Date mydate, int number, String datePattern) correctly. You can look into the definition of this function in Repository-->Code-->Routine-->System-->TalendDate.
0683p000009MDPd.png 0683p000009MDMX.png
Why you use this function on tRowGenerator?
Best regards
Shong