I am just trying to explore is there any way to wait(hault the execution of code for specific duration), like we have in process model or similar like Java sleep function
Thanks
Pratiksha
Discussion posts and replies are publicly visible
Hi , Did you get the solution for above requirement?
hey Stewart Burchell
is it possible now ? if possible then how?
So...I think the answer is 'Yes' but it's a little convoluted...or, at least, harder than perhaps it should be...
As I said, harder than it should be but should work.
yeah thank you for the reply but it didnt work may be I made a mistake in implementation Stewart Burchell
I'd second the "timed refresh variable" approach (note that you can use the "half minute" version if 1 minute is too long), but i'm super unclear why stored procedures come into this example at all. For my purposes it's been sufficient to set a refresh variable to capture the current timestamp and periodically compare it to an original set to ("load time + 1 hour") for example, after which the download link is disabled in my case (as the link references an excel file that was generated by a background process which gets auto-deleted after an hour). It works flawlessly for me, FWIW.