In our case management system, we have a process which -
However, we have users who repeatedly end up using the browser tab/window close functions if they want to 'x' out of the task they are in. The process continues to run in the background until the timeout is hit and other users who might need to make edits are locked out of the system until the previous process times out. Is there a solution/what are my options to terminate a process if a user closes the browser window?
Discussion posts and replies are publicly visible
Definitely a good idea to document time-outs like this. It's also good to take it a step further and use a single global constant to configure these time-outs to further ensure consistency and to allow for easy modification of the time-out for all processes.