+ Start a Discussion

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????