Hello,
I read through the forum, and noticed that many people have raised this issue before, but there is no solution yet.
When a new record is created using the APIs, the record does not get indexed right away, and therefore searchRecords does not return the newly added record. From the previous answers, I understand that this issue is being called "default behaviour", and "cache will refresh in 30-60 seconds" etc. However, none of these are real solutions, and this is causing us (and many others severe issues).
1 - Is there a proper solution to this issue? Waiting for cache to refresh is simply not acceptable in programmatic sense.
2 - As a workaround, is there a way to force cache-refresh programmatically? That we can kick off the refresh as soon as insert the record, so that it gets returned in subsequent calls.
Hoping for a reply very soon.
Regards,
Anay