Previous Topic: existsInteractionRequestFormNext Topic: existsProcessWatch


existsProcess

The existsProcess function checks whether a process 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 = existsProcess(processPath)

Arguments

processPath (String)

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

Return Value

bExists (Boolean)

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

Example

if (existsProcess(processPath))
{
	Process.mseg_process= "\'Pass control to previous oper.\' exists" ;
}
else
{
	Process.mseg_process= "\'Pass control to previous oper.\' does not exist" ;
}