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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Error Handling and Conditions in Talend

Hello,
I am new to Talend, I have a job which gives a list of holidays for different countries using an API. The job is running fine.
But I need to do some conditioning. I am using a text file to give the start date & end date. ( For eg:- Startdate will be (-1) one year before the current year i.e 2016 & enddate will be (1) the next year i.e 2018, so I get data for 3 years, 2016, 2017 & 2018.)
Startdate should always contain negative value & Enddate should be positve. I need to put a condition for this, I want a popup message box which says the values entered are incorrect if someone enters a positive value in Startdate or ViceVersa. I can't use tMsgBox with OnComponentError from Component tFileInputProperties_1 as I am not getting any error when I use incorrect values. Please suggest if there is any other solution.
Thanks & Regards,
0683p000009MDLc.png
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,
Have you tried to use "RunIf" connector in your work flow? Which triggers a subjob or component in case the condition defined is met.
Could you please take a look at document about:TalendHelpCenter:RunIf Connection Settings?
Best regards
Sabrina

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Hi,
Have you tried to use "RunIf" connector in your work flow? Which triggers a subjob or component in case the condition defined is met.
Could you please take a look at document about:TalendHelpCenter:RunIf Connection Settings?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina,
Runif worked for me thanks a lot 0683p000009MACn.png
Best Regards,
Pratik
Anonymous
Not applicable
Author

Hi Pratik,
Great it can help. Can we consider this topic as resolved?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi Sabrina,
Yes Sure 0683p000009MACn.png
Thanks & Regards,
Pratik