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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

instruction while in Talend

hi guys,
i'm a newby and i'm a problem with the instruction while in tMap in Talend (java)
i've setted the variables:
a ------>new Integer(row1.x)*1000
b ------>new Integer(row1.y)*1000
c ------>new Date(new Long(Var.a)).getDay()
d -----> 0
then i've setted the column:
while (Var.a<Var.b)
{
Var.a=Var.a+86400000;
if (new Boolean(Var.c<6 && Var.c>0)) Var.d=Var.d+28800000;
}
where is the problem(s)?
Labels (3)
11 Replies
Anonymous
Not applicable
Author

Hello Rabeb,

Here are online documentations about TalendHelpCenter:tMap scenarios

and https://community.talend.com/t5/Design-and-Development/tMap-expression-syntax/ta-p/21575

What's your job requirement about while in tMap? Does the If / else statement work for you?

Best regards

Sabrina

 

.

 

 

Anonymous
Not applicable
Author

thanks for your reply ! yes if/else  works well i need the structure of while instruction how can i use it with tMap ?? and thank's