Calling a Talend Job from Web browser with the context variables.

Five Stars

Calling a Talend Job from Web browser with the context variables.

Hi All,

 

I have a job which is deployed in the Talend TAC server(Machine A) and it have a context variables to pass the two letter state code as a run time parameter and now i want to execute the job from the local machine(Local machine(Machine B) doesn't have the talend application)  which is in the same network. 

 

Could anyone please help me in providing the solution.

 

Thanks in advance!

Highlighted
Six Stars

Re: Calling a Talend Job from Web browser with the context variables.

convert below json structure to base64 encoded string

{
"actionName": "runTask",
"authPass": "pass",
"authUser": "username",
"mode": "synchronous",
"taskId": 97,
"context":{"contextnm1":"'contextval1'","contextnm12":"contextval2"}
}

 

then you can call it using web browsers by adding this encoded string like below 

TAC_link/metaServlet?base64encoded 

Five Stars

Re: Calling a Talend Job from Web browser with the context variables.

Thank you very much Shivanand for the quick reply.

Can you please also send me sample job(or any useful link contains sample job) so that it will help me to implement quickly.

I really appreciate all your help.

Thanks,
Chaitanya
Moderator

Re: Calling a Talend Job from Web browser with the context variables.

Hello,

Here is a related scenario about:TalendHelpCenter: Scenario 3: Calling a Job with context variables from a browser.

Hope it will help.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog