You can use the Contexts view in the Studio to define context groups, context parameters and context values.
Before you begin
- An artifact is created and open in the Studio.
About this task
With the R2020-07 Talend Studio patch, password type context parameters are treated more securely than before. Previously, the value of the password parameter was handled as a string, visible to all users with the correct workspace permissions. With this patch, the parameter value is treated as confidential information (encrypted):
- When publishing an artifact for the first time, its value is cleared and has to be set for the corresponding task in Talend Cloud Management Console.
- When you re-publish an artifact, its value in the corresponding task stays the same in Talend Cloud Management Console.
In the Studio workspace, click the Contexts tab to open the Contexts view.
If the Contexts tab does not show in the Studio, click , and select Contexts.
From the Contexts view:
Note: Context parameter values are processed differently when executing a task from Talend Cloud Management Console or Talend Studio. When entering the value for a context parameter in Talend Cloud Management Console during the task configuration, you must use \\ instead of \ when the value could be interpreted as a special character, for example, \t.
Use the [+] button at the top right corner to add a new context group.
For further information, see Defining contexts.
Use the [+] button at the bottom of the view to add lines in the table and define the names and values of the context variables.
For further information, see Defining context variables for a Job or Route.
- Use the [+] button at the top right corner to add a new context group.