Search code examples
talend

Is there a way to refer to the current project name in Talend?


I am setting up a Talend project that I am going to be using as a basis for many future projects. I would like to send out a generic email if the job runs successfully or if it fails. I would like to dynamically include the name of the project in the email subject and message. Is there a way to dynamically pull the project name from a Talend project? If so, what is the syntax?


Solution

  • In the "Message" field you can use the projectName variable. So for example:

    projectName + " finished."
    

    You can also hit ctrl+space while in the message text area and it'll show you all available variables and functions.