Forum Discussion

NisHera's avatar
NisHera
Valued Contributor
9 years ago
Solved

Waiting for application shut down

My application auto should down in certain operations (which is normal) while shutting down it had to process many background jobs. So I need to wait till it’s down to restart and go on. So I wrote f...
  • TanyaYatskovska's avatar
    9 years ago

    Hi Nishera,

     

    You forgot to specify the Timeout parameter in the WaitProcess method:

    Sys.WaitProcess("Application",2000).Exists...