function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sushanto_dodosushanto_dodo 

Unable to run process null .. Getting an error in running dataloader through CLI.

I have the following process-conf.xml file which is located in bin directory of dataloader.

<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
        <bean id="userextractProcess"
            class="com.salesforce.dataloader.process.ProcessRunner" singleton="false" lazy-init="default" autowire="default" dependency-check="default">
            <description>userextractjob gets user info from salesforce and saves info into a CSV file."</description>
            <property name="name" value="userextractProcess" />
             <property name="configOverrideMap">
             <map>
            <entry key="sfdc.debugMessages" value="false" />
            <entry key="sfdc.debugMessagesFile" value="c:\dataloader\samples\status\sfdcSoapTrace.log" />
            <entry key="sfdc.endpoint" value="https://test.salesforce.com" />
            <entry key="sfdc.username" value="**************" />
            <entry key="sfdc.password" value="**********" />
            <entry key="sfdc.timeoutSecs" value="600" />
            <entry key="sfdc.loadBatchSize" value="200" />
            <entry key="sfdc.entity" value="User" />
            <entry key="sfdc.extractionRequestSize" value="500" />
            <entry key="sfdc.extractionSOQL" value="Select Id, Username, LastName, FirstName, Name FROM User WHERE IsActive = true " />
            <entry key="process.operation" value="extract" />
            <entry key="dataAccess.type" value="csvWrite" />
            <entry key="dataAccess.name" value="c:\test\users.csv" />
            </map>
            </property>
        </bean>

 

The process.bat file is also in the same directory. I have traversed to the bin directory in Command prompt and trying to run this command

process ..userextractProcess but it gives the following error:

Unable to run process null

 

Can someone please advise. ?

 

 

 

 

Avidev9Avidev9
CLI Expects
1) Encrypted Password and Security Token
2) You dont seem to have a Decrypt Key in the config Something like
<entry key="process.encryptionKeyFile" value="C:\Program Files (x86)\salesforce.com\Apex Data Loader 22.0\conf\key.txt"/>