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

Dynamic SOQL extraction from with dataloader



I use the Apex dataloder in CLI mode for an extract operation and I would like to specify one or more criteria in my SOQL query stored in my process-conf.xml file as below:


<entry key="sfdc.extractionSOQL" value="Select Id, Name, fle__Field1__c, fle__Field2__c FROM fle__DLObject1__c where fle__OtherExtId__c = 1"/>

How to do to pass a parameter ? Here to replace dynamically the '1' ?


Thanks in advance for your help.


Keerthi P 5Keerthi P 5
Hi ,

You got any help here.. please let me know

Juan AcostaJuan Acosta
I recommend to you to follow this.
It works.
However, also check this

The escape characters will give you problems for sure.