Extracting context parameters for tasks programmatically from Talend Cloud

Six Stars

Extracting context parameters for tasks programmatically from Talend Cloud

Is there a way to extract all Tasks defined in an Environment / Workspace with the context parameters/values? 

I'm trying to build an audit and downstream impact and need to know that

 

 

Thanks,

Community Manager

Re: Extracting context parameters for tasks programmatically from Talend Cloud

You can do this using the backend files BUT you must be careful when doing this. The backend files are just XML files. The ones you want to look at are the .item files. You can find your jobs inside the workspace/{project}/process folder. To do this safely I would copy your workspace folder to another location (to ensure you don't accidentally change the original files). Then all you need to do is recursively look through your process folder (you can use a tFileList for this) and then read the files using an XML component, looking for a path of  talendfile/context/contextParameter. All of your context variables and their original values will be stored there.

 

In fact, you can find out absolutely anything about the jobs you have built using these files. You just need to learn how to use and to NEVER EDIT THEM.

 

Six Stars

Re: Extracting context parameters for tasks programmatically from Talend Cloud

But that would be in my local Studio workspace right?

What I'm looking for is the Task created in Integration Cloud (Talend cloud) that's using that job that was published to the cloud what context values is using

Cloud Free Trial

Try Talend Cloud free for 30 days.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.