Solved
how to delay service execution in backend
when user clicking a "button" or a "mashup in collection widget", is it possible to delay the binded service to execute after 5 seconds ??
when user clicking a "button" or a "mashup in collection widget", is it possible to delay the binded service to execute after 5 seconds ??
Yes it is quite possible. When you click a button on collection widget call a service (ServiceToDelay). This service will basically return nothing but in body just type pause(5000). It will pause for 5 seconds and then focus goes back to button. Now on service invoke complete of (ServiceToDelay) service, do whatever you wanted to do with button click.
Regards
Shyam
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.