Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a query like below
There is a joblet which stores tlogCatcher and tStatCatcher statistics into Mysql database on any Die on error or Java Exception in the job
I have another child job which takes care of sending mail in case of any failure in the job ( In this job_failureNotification job , i am doing calling AWS SES API sending raw mail with html header , body , footer - Error log i am retrieving from Mysql database based on some condition )
I have 14 jobs which runs sequentially one after other .I need to send notification on Job failure only . So i have tPostJob component in each and every job which takes care of calling job_failureNotification . I should call the failureNotification job if and only if tLogCatcher_1.type='tDie' or 'tJavaException'
Is there any way of calling using If condition of globalMap.get(tLogCatcher_1.type) in tPostJob Flow
Hi,
Could you please add the if command using a dummy tJava after PostJob component as shown below?
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved
Thanks for your reply but my query is entirely different.
As i have asked query, I am looking for info on usage of globalMap.get(tLogCatcher_1.type) in If condition of the parent job
I should call the failureNotification job if and only if tLogCatcher_1.type='tDie' or 'tJavaException'