Five Stars

[resolved] tMemorizeRows Error: cannot be resolved to a variable

Hi all,

I am connecting a main table and lookup table to tMap.

The lookup table is connected to tMemorizeRows before connecting to tMap.
current_date is a column in lookup table.

I have this code in tMap as an expression in Var (intermediate variable):
(current_date_tMemorizeRows_1==null) ? null : TalendDate.parseDate("yyyy-MM-dd", TalendDate.formatDate("yyyy-MM-dd", current_date_tMemorizeRows_1));

I received the error:
current_date_tMemorizeRows_1 cannot be resolved to a variable.


Please help.
1 ACCEPTED SOLUTION

Accepted Solutions
Five Stars

Re: [resolved] tMemorizeRows Error: cannot be resolved to a variable

 Hi guys, I found out the solution. It is to use globalMap.get()
Thanks!
2 REPLIES
Five Stars

Re: [resolved] tMemorizeRows Error: cannot be resolved to a variable

Hi. Anyone out there please help.
Five Stars

Re: [resolved] tMemorizeRows Error: cannot be resolved to a variable

 Hi guys, I found out the solution. It is to use globalMap.get()
Thanks!