You need to sign in to do that
Don't have an account?
soma
remoteFunction with "async: true" expects return - causing timeout
I have a synchronous web service (written in C#) that takes a while to do some work. I'd like to make an asynchronous call to it from Salesforce using remoteFunction(), however, remoteFunction() expects its onSuccess property to be set to something, and I believe it also expects some sort of return from the web service, but if the web service doesn't return a value in a timely manner, a timeout occurs. I'd like to just have the remoteFunction() initiate the web method then not be concerned about a return value. The web method will do its work and send an email with a report when it's done. Is this possible?
Else the HTTP request is goign to wait for the response.