How to pass parameter value dynamically to call the service in shell script ?

Highlighted
Six Stars

How to pass parameter value dynamically to call the service in shell script ?

How to pass parameter value dynamically to call the service in shell script :

 

We need to run the shell script in linux how to pass the value like below mention same,

 

For Example :

sh sampletalendEmail.sh fromMail toMail 

 

Can we give the solution for this???

 


Accepted Solutions
Community Manager

Re: How to pass parameter value dynamically to call the service in shell script ?

Hi

You can pass the parameter value dynamically when executing the job script out of studio. eg: 

sh sampletalendEmail.sh --context=Default --context_param from_mail=value1--context_param to_mail=value2

 

Let  me know if you still have any issues.

Regards

Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business

All Replies
Community Manager

Re: How to pass parameter value dynamically to call the service in shell script ?

Hi

You can pass the parameter value dynamically when executing the job script out of studio. eg: 

sh sampletalendEmail.sh --context=Default --context_param from_mail=value1--context_param to_mail=value2

 

Let  me know if you still have any issues.

Regards

Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business
Six Stars

Re: How to pass parameter value dynamically to call the service in shell script ?

Thanks a lot ,
how to call same like as URL???
can you help me for the further process.

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

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

Download