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!

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.