We are encountering a problem with callouts:
Two salesforce instances. SFDC A instance having a future callout method calling a REST API class in SFDC B instance. SFDC B instance updating case locally triggering an execution of after update. After update triggers makes a future callout to our ERP( not salesforce) Without waiting for a response from ERP, SFDC B instance returns the Case Number to SFDC A instance. Salesforce forums say that we cannot make a callout to another SFDC instance from REST API class, but here i am making a callout to ERP and only returning a response to the original REST request . Please help me in understanding the documentation. I am little confused.
Please respond. Its urgent for our go Live.