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

Talend ESB Studio User Guide

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

About this task

You can save a built-in context variable defined in a Job or Route 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 or Route, 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.