You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
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
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:
%~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
Offline
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
Pages: 1