You need to sign in to do that
Don't have an account?
"Extract All" in Data Loader Command Line
Per the Data Loader Command Line documentation, "Extract All" should be a valid argument for Process.Operation. However, it does not work.
I have a process that has been running just fine with the "Extract" argument. Have a need to now use "Extract All" and this is the error that is returned:
java.lang.RuntimeException: java.lang.IllegalArgumentException: No enum const class com.salesforce.dataloader.action.OperationInfo.Extract All
It seems that "Extract All" is not defined. Am I understanding this correctly? Has anyone encountered & resolved this?
Using: Data Loader v34
Thank you!
Priscilla
All Answers
Can you post your config file here?
Config.properties looks like:
#Loader Config
sfdc.connectionTimeoutSecs=120
sfdc.endpoint=[deleted for post]
sfdc.username=[deleted for post]
sfdc.password=[deleted for post]
sfdc.useBulkApi=true
sfdc.bulkApiCheckStatusInterval=5000
sfdc.bulkApiZipContent=false
sfdc.timezone=America/Chicago
sfdc.insertNulls=false
sfdc.loadBatchSize=100
sfdc.maxRetries=3
sfdc.resetUrlOnLogin=true
sfdc.extractionRequestSize=2000
sfdc.truncateFields=true
sfdc.minRetrySleepSecs=2
sfdc.enableRetries=true
sfdc.timeoutSecs=540
sfdc.bulkApiSerialMode=false
sfdc.debugMessages=false
process.encryptionKeyFile=C:/temp/key.txt
process.enableExtractStatusOutput=true
process.loadRowToStartAt=0
process.enableLastRunOutput=true
dataAccess.readBatchSize=100
dataAccess.writeBatchSize=500
and process-conf.xml includes:
<property name="configOverrideMap">
<map>
<entry key="dataAccess.name" value="insertAccounts"/>
<entry key="dataAccess.type" value="databaseWrite"/>
<entry key="process.operation" value="Extract All"/>
<entry key="process.outputError" value="C:\ProgramData\salesforce.com\Data Loader\status\errorInsertAccounts.csv"/>
<entry key="process.outputSuccess" value="C:\ProgramData\salesforce.com\Data Loader\status\successInsertAccounts.csv"/>
<entry key="process.mappingFile" value="C:\ProgramData\salesforce.com\Data Loader\conf\SFtoDB_InsertAccountMap.sdl"/>
<entry key="sfdc.entity" value="Account"/>
<entry key="sfdc.extractionSOQL" value="SELECT ID, NAME FROM ACCOUNT WHERE CREATEDDATE = YESTERDAY"/> </map>
</property>
My config file contains the following line:
process.operation=extract_all