• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Regarding Exporting Job Scripts -- Salesforce

#1 2010-06-04 18:52:28

raghusagar
New member
Registered: 2010-06-04
Posts: 8

Regarding Exporting Job Scripts -- Salesforce

Hi,

      I have used Talend's Salesforce Components (Input and Output Component) for my Data Integration project from one salesforce environment to another salesforce environment. Every thing worked fine. When I exported it as Job Script, I can run the job from _run.bat file but I could not understand how to give parameters to the job because creating multiple job is not desired when there is just change in the date or time stamp.

Thanks
Raghu

Offline

#2 2010-06-07 04:55:03

shong
Talend team
Registered: 2007-08-29
Posts: 10297
Website

Re: Regarding Exporting Job Scripts -- Salesforce

Hello

When I exported it as Job Script, I can run the job from _run.bat file but I could not understand how to give parameters to the job

After you export the job script, edit the .bat file and pass the parameters like this:

Code:

%~d0
 cd %~dp0
java -Xms256M -Xmx1024M -cp classpath.jar; test1.forum11164_0_1.forum11164 --context=Default --context_param var1=valueForVar1--context_param var2=valueForvar2 %*

Best regards
Shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#3 2010-06-07 20:17:26

raghusagar
New member
Registered: 2010-06-04
Posts: 8

Re: Regarding Exporting Job Scripts -- Salesforce

Hello Shong,

               Thanks for your reply. That was helpful.. I have one more doubt by any means can I inject parameters into Salesforce Components such as user-name, password and condition statements from Scripts

Thanks in advance

Raghu

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Regarding Exporting Job Scripts -- Salesforce

Board footer

Powered by FluxBB