cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

how to delay service execution in backend

AP_9587236
17-Peridot

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 ??

1 ACCEPTED SOLUTION

Accepted Solutions
BABA-SHYAM
14-Alexandrite
(To:AP_9587236)

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

View solution in original post

2 REPLIES 2
BABA-SHYAM
14-Alexandrite
(To:AP_9587236)

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

In which thing or resources, ServiceToDelay is present?

Top Tags