I was reading about using @future and the asynchronous process and I wanted to get clarification on persistence.
For example, if I have an @future method that makes a call to an endpoint in which I'm sending over data to the endpoint and I need to make an update in Salesforce based on the response, the response would need to send back the id of the record to update along with the data values to update, correct?
The values sent in the request are not persisted while the process is queued and waiting for the response or are they?
If the response only sent back a simple string of "success" or "failure" and I had to make updates inside of Salesforce based on that response, the id and data values sent in the request are no longer available and I would have no way of knowing what record to update at that point. Is that correct?