Hi,
How to database driven to get the email address for tsend component?
Table : email_setting
Project | EmailAddress
==================
ENA yyyy@xxx.com
Edw xxx@xxx.com
If the job belongs to project then select the project specific email and send email using tsendemail.
If the job success success send to yyy@xxx.com if job failed send to xxx@xxx.com.
How to implement this whole process in a joblet?
then how to send multile emails
in my project i have nearly 100 jobs i need to implement this to all job with joblet
Here i have attached some screen shots of my job.
this is job
========
in this job id have link(onsubjobok) to tFixedFlowinput .this works when job has success .
i need to create a job success and failed with single componet
in tFxiedflowinput i can retrive Project name using Global variable.
I have lookp with email setting in tamp retried project specific email id
context editor
===========
In tJava component i have write below code
================================
if(context.Job_status != true)
context.Recipients (String)globalMap.get("fd.email_address"));=====> this is retrived from tFlowTOItereate component
else
context.Recipients="xxxxx@gmail.com";
how to create a joblet for this, when job has success and failed .
Thanks
Sasi