You need to sign in to do that
Don't have an account?
Vibzz
How to lock screen while waiting for response of async call
Hi,
We havesalesforce trigger is written on account object to call a web service async.We have 120 seconds timeout set up in salesforce.
I want to make account uneditable until ,it gets response from web service.
Please suggest how can we achieve this?
We havesalesforce trigger is written on account object to call a web service async.We have 120 seconds timeout set up in salesforce.
I want to make account uneditable until ,it gets response from web service.
Please suggest how can we achieve this?
thanks
Shaijan
Try this http://raydehler.com/cloud/clod/visualforce-integrating-a-pretty-loading-animation.html
Thank you
BLearn
You can use 2 fields :
- One checkbox "locked" that the trigger sets to true,
- One image with a lock open/close depending of the previous field.
When the triggers fires, it sets the "locked" field to true, then calls the webservice. When receiving the response, it re-updates the record with "locked" = false.
Be ceraful not to fire again the first trigger (use condition with "locked" value)
Hope this helps
Gil
Question Solved ? Please mark as the best answer to help other users !