Question: running multiple "process" beans on batch mode #738
-
Hello, I'm trying to run DL on the batch mode in a way that it would just consider all the I've been reading the documentation and samples but so far no luck. For instance, I've created two beans like:
Then, upon running DL I got this: C:\Users\Fernando_Mertins\Some_path>"C:\Data Loader\bin\process.bat" . 2022-11-07 11:41:09,271 INFO [main] process.ProcessRunner getInstance (ProcessRunner.java:324) - process.nameis not specified in the command line. Loading the process properties from config.properties. Since I didn't inform that second Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @fmertins , bean id is an optional parameter because it can be specified as a command line option or can be specified in config.properties file according to the documentation: Data loader executes a single operation in batch mode. The operation is specified by its process id. If you want to execute multiple operations specified in your process-conf.xml, you can write a wrapper script to invoke process.bat multiple times, each time with a different process id. |
Beta Was this translation helpful? Give feedback.
-
Hey there!
Got it, thank you! I was assuming the "batch" concept here would be the capability of having multiple beans, and then the tool would process them, in a batch... :-) |
Beta Was this translation helpful? Give feedback.
Hi @fmertins ,
bean id is an optional parameter because it can be specified as a command line option or can be specified in config.properties file according to the documentation:
(optional) The id of the batch process bean of class com.salesforce.dataloader.process.ProcessRunner defined in the process-conf.xmlfile. If not provided, then the value of the process.name property in the config.properties file is used.
Data loader executes a single operation in batch mode. The operation is specified by its process id. If you want to execute multiple operations specified in your process-conf.xml, you can write a wrapper script to invoke process.bat multiple times, each time with a different proc…