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
I have already answered your query in another post and the link for it is as below.
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
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema