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
ShwetzShwetz 

Need to call webservice on field update from case feed layout

We have a requirement that when a field on Case UI is filled in, a webservice gets called which provides result and we have to update another field on case UI with the result.
Since we are using Case feed Layout, embedding custom vf might not be an option.
 
We are trying to use a trigger with @future annotation, but that makes an asynchronous call and though the Case object fields get updated, the case ui is not showing the updated values until the page is refreshed.

Is there any other approach which we could do so that the user doesnt have to refresh the page and sees the results immediately?