Adding a built-in context variable to the Repository - 7.1

Talend Data Management Platform Studio User Guide

author
Talend Documentation Team
EnrichVersion
7.1
EnrichProdName
Talend Data Management Platform
task
Design and Development
EnrichPlatform
Talend Studio

About this task

You can save a built-in context variable defined in a Job to a new context group, or an existing context group provided that the context variable does not already exist in the group.

Procedure

  1. In the Context tab view of a Job, right-click the context variable you want to add to the Repository and select Add to repository context from the contextual menu to open the Repository Content dialog box.
  2. In the dialog box, do either of the following:
    • to add your context variable to a new context group, select Create new context group and enter a name for the new context group in the Group Name field, and then click OK.
    • to add your context variable to an existing context group, select the context group and click OK.
    Warning: When adding a built-in context variable to an existing context group, make sure that the variable does not already exist in the context group.
    In this example, add the context variable password defined in a Job to a new context group named DB_login.
    The context variable is added to the Repository context group of your choice, along with the defined built-in contexts, and it appears as a Repository-stored context variable in the Contexts tab view.