Skip to content

Question: running multiple "process" beans on batch mode #575

@fmertins

Description

@fmertins

Hello, I'm trying to run DL on the batch mode in a way that it would just consider all the <bean> elements that are configured on the process-conf.xml file, is that possible?

I've been reading the documentation and samples but so far no luck. For instance, I've created two beans like:

<beans>
    <bean id="account-extract" class="com.salesforce.dataloader.process.ProcessRunner" scope="prototype">
    ...
    </bean>

    <bean id="account-insert" class="com.salesforce.dataloader.process.ProcessRunner" scope="prototype">
    ...
    </bean>
</beans>

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 <batch process bean id> optional parameter, I was expecting that DL would just consider the entire XML file.

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions