Adding values to a context group and running a Job accordingly - 8.0

Using context variables in Talend Studio

Version
8.0
Language
English
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Module
Talend Studio
Content
Design and Development > Designing Jobs
Last publication date
2024-02-06

You can use context groups to run Jobs according to different predetermined parameters. By taking the example of deployment environments, you can configure passwords or usernames following a Job execution on your production or staging environment.

Before you begin

You must have created a context group (see Creating a context group).

Procedure

  1. In the Repository, expand Contexts, right-click a context group and click Edit context group.
  2. Click Next.
    You are brought to Step 2 in the wizard.
  3. Click Configure Contexts...
  4. Click New...
  5. Enter a context name.

    Example

    prod
  6. Click OK.
    You are brought back to the Configure Contexts window.
  7. Define your context parameters.

    Example

    Link your context to a database.
  8. Optional: Select the Default context environment.
  9. Click Finish.
  10. In the Run view, select a Context.
  11. Click Run.

Results

You have configured a context group for your different deployment environments.