Can user setup a JavaScript to hold an application at startup?
Release : 12.2
Component :
Here is a sample that will use Global variable to decide if the application will be held. Setup a global variable as in example HOLD_APP (it can be any name). Set its value to Y.
check_ver = getVar('HOLD_APP');
if (check_ver == 'Y')
{
execCommand('ALL','MY_APPLICATION.0','ACTION HOLD');
}
Change 'MY_APPLICATION' to your actual application name. Open the properties of application and define the JavaScript at Runtime. The application will run the script and hold if global variable is set accordingly.
See this link for more details on ACTION HOLD.