Upendra Harihara
Upendra Harihara

Reputation: 21

How to use context parameter in TAC (Talend)?

I tried to implement context parameter in TAC but its not working for me. Could you please explain with an example?

Upvotes: 1

Views: 1524

Answers (1)

Sergey Moukavoztchik
Sergey Moukavoztchik

Reputation: 61

Groups of the context parameters could be created in Talend repository:

enter image description here

After you entered a name of context Group, go to the next step where new variables could be created. When you done with it. Switch to table view and press "Configure contexts..." button:

enter image description here

In opened window you can create and manage different contexts, e.g.:

enter image description here

After adding new contexts you can set different variable values for different contexts:

enter image description here

When you done with your new context group just add it to your job:

enter image description here

Now you can use them inside the job. All this stuff are synchronized with TAC via Talend SVN repository and will be available there after the commit. Then you can choose appropriate context for your job at execution task properties:

enter image description here

Also, you can override context variables by some custom value using "Context parameters" menu at the bottom of "Job Conductor" page.

Upvotes: 1

Related Questions