Finding a new context variable

If you add a new variable to a context group in the Repository while you have a job open (which is a normal thing to do), then Talend will not automatically add it to your job.

This means that when you run your job, expecting your new context variable to be present, you will get a compile error.

How to do it…

  1. Open the context tab in your job.
  2. Click the group you have just changed, then the How to do it… button.
  3. You will see that the tick box is a blob, not a tick.
  4. If you expand the context, you will see your new variable, but it will not be ticked.
  5. Tick your variable to include it in your job, and exit the context tab.

Get Talend Open Studio Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.