Script functions reference > Script functions in alphabetical order > G > GetCurrModuleinfo

GetCurrModuleinfo
Syntax
GetCurrModuleinfo();
Description
Returns the current Event or Process status, depending on where the script is executed.
Note:
You must enable Use Notifications in the Configure platform dialog. If this is not enabled, GetCurrModuleinfo will fail.
Returns
0
1
2
Example
$test = getcurrmoduleinfo();
if ($test = "2")
{ //Module has failed. Perform the following action. }
OpenText StreamServe 5.6 Updated: 2013-03-01