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
NK123NK123 

APEX Callout caching issue

When calling other service using apex callout, I am trying to pass the lookup field like "Commodity__r.Name" and it is returning old Name "Car" whereas its that same commodity is rename to "Cars". 

 

Looks like the caching issue within the service method where I am making Apex callouts.

 

If I run a query against my object and used the same "Commodity__r.Name" field I get right value "Cars", so its the problem with Salesforce APEX Callout service area.

Any ideas on how to clear the cache with this Salesforce APEX CAllout service????

 

 

~NK