Forum Discussion
scot1967
Champion Level 2
9 months agoI have used this code to check for the state of the app process.
try
{
if(Sys.WaitProcess(appProcessName,1000).Exists)
{
throw new error("Error text for the catch");
}
}
catch (error)
{
Log.Error("Error message for log " + error.message);
}