Defining variables - 7.0

Talend ESB Studio User Guide

author
Talend Documentation Team
EnrichVersion
7.0
EnrichProdName
Talend ESB
task
Design and Development
EnrichPlatform
Talend Studio

Procedure

  1. Click the [+] button at the bottom of the Contexts view to add lines in the table.
  2. Click in the Name field and enter the name of the variable you are creating.
    Name the first variable host for this example.
  3. Repeat the above steps to define all the variables for the different contexts.
    • port, type String,

    • database, type String,

    • username, type String,

    • password, type Password,

    • table_name, type String.

    All the variables created and their values under different contexts are displayed in the table and are ready for use in your Job. You can further edit the variables in this view if needed.
    You can also add a built-in context variable to the Repository to make it reusable across different Jobs. For more information, see Adding a built-in context variable to the Repository.