Wait timer in interface or Expression rule

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

Parents Reply
  • 0
    Certified Lead Developer
    in reply to 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.

Children
No Data