Name of the current job in a tSendMail component

One Star

Name of the current job in a tSendMail component

Hye,
For log's managing, I would like to write in the mail's subject of a tSendMail component, the name of the current job.
What could i do for obtainning this functionality ?
Best regards
Employee

Re: Name of the current job in a tSendMail component

Hello
You can call a variable named jobName
Regards,
One Star

Re: Name of the current job in a tSendMail component

Thank you, it works.
Are there others variables which i could use such as jobname ?
Employee

Re: Name of the current job in a tSendMail component

Are there others variables which i could use such as jobname ?

The auto-completion system ("CTRL + space" in any property field) shows the list of available variables.
One Star

Re: Name of the current job in a tSendMail component

Thank for your response, but i know this possibility and a variable such as jobName is not avaiable by CrtlSpace and auto completion. that's why i ask for more informations about "hidden" variables ?
Best regards
Employee

Re: Name of the current job in a tSendMail component

variable such as jobName is not avaiable by CrtlSpace

It's a bug. In a Perl project, I often use this feature. Can you create a bug entry in the bugtracker please?
One Star

Re: Name of the current job in a tSendMail component

It's done.
2554
Best regards
One Star

Re: Name of the current job in a tSendMail component

Hi, 
I tried using the global variable 'jobName' and it worked for me.
in tJava
System.out.println("******Job Name: "+jobName);