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
reputationdemonreputationdemon 

Bulk API - IsDeleted query only returning one row.

Hi,

 

I am trying to return a list of deleted tasks via the bulk API but only seem to get one row returned.

 

My query :-

 

SELECT Id, IsDeleted from Task where IsDeleted=true

 

I have tried the 'queryall' option when initiating the job but get an error.

 

Ny job init :-

 

<?xml version="1.0" encoding="UTF-8"?>

<jobInfo xmlns="http://www.force.com/2009/06/asyncapi/dataload">

<operation>query</operation>

<object>Task</object>

<concurrencyMode>Parallel</concurrencyMode>

<contentType>XML</contentType>

</jobInfo>

 

Do I have to specify a date range?

 

Thanks,

Best Answer chosen by Admin (Salesforce Developers) 
reputationdemonreputationdemon

Hi,

 

I must remind myself to RTFM.

 

I solved my issue with one additional step for bulk query to get results ID to get the actual results set.