Previous Topic: existsProcessNext Topic: existsResource


existsProcessWatch

The existsProcessWatch function checks whether a process watch object exists in the given path. The path can be an absolute/relative path. The relative path is relative to the process in which the script is executed.

Syntax

bExists = existsProcessWatch(processWatchPath)

Arguments

processWatchPath (String)

Specifies the full/relative path of process watch object whose existence needs to be checked.

Return Value

bExists (Boolean)

Returns true if the process watch object exists or false if it does not.

Example

if (existsProcessWatch(processWatchPath))
{
	Process.mseg_process_watch= "ProcessWatch exists" ;
}
else
{
	Process.mseg_process_watch= "ProcessWatch does not exist" ;
}