rocketman
From what I have found out you cannot cancel any process from active processes list that is in a ‘running’ state (I tried but never cancels). To fix those you need to restart Aware. These processes that get stuck in a running state can often cause other processes to also get stuck which eventually leads to the CPU getting to 100%, you could probably play around with the isolation level settings for processes to prevent a table from getting locked by the indefinite running process but I prefer to keep it safe by using the default level.
I have a message in my app that asks the user if they want to register for notifications, it is part of a process that runs each time a user logs in, if they close the popup with the ‘x’ instead of the Close button it completely bricks the app and you cannot click on anything and have to close the tab and login again.
To fix this I run a EXEC script to completely hide the ‘x’.
EXEC_SCRIPT `
var style= document.createElement('style');
style.type='text/css';
style.innerHTML='.k-window-action:has(.k-i-close) { display: none; }';
document.getElementsByTagName('head')[0].appendChild(style);
`
This prevents them from even being able to click on the ‘x’, just be aware that the above script will hide the ‘x’ from ALL forms in the app unless you add it back with the below script here.
EXEC_SCRIPT `
var style= document.createElement('style');
style.type='text/css';
style.innerHTML='.k-window-action:has(.k-i-close) { display: inline-block; }';
document.getElementsByTagName('head')[0].appendChild(style);
`
Not sure if any of this will be of help to you but these are just things I discovered.