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
Luke@TWSLuke@TWS 

Web Service Request in Batch Apex

I'm looking to build a data cleansing app. For this I need to process all records so using batch apex would be handy and mean I could build the app entirely on the force.com platform. However, I need to make a webservice request, either for each record or each batch, to actually check the record and retreive any corrections.

 

Adding a web service call into a batch apex class just seems to make it fail every time. Is this just not possible to do? or is there some specific way in which the request needs to be made?

 

Yamini123Yamini123

Hey Luke,

I have same scenario...did you get any solution for this?

Luke@PostcodeAnywhereLuke@PostcodeAnywhere

Hi Yamini,

 

We ended up having to use the web service API and connect from our end to achieve this.