Script functions reference > Script functions in alphabetical order > I > IncProcStatCounter

IncProcStatCounter
Syntax
IncProcStatCounter(counter_name);
Description
Increases the value of counter_name with one. If counter_name does not exist, it is created and set to one. The value of counter_name is included in the statistics created by the StreamServer application. The function can be used at any level in a Project.
Note:
The value of counter_name increases by default also in the pre-processing phase. To avoid this you should check that the function is not executed in the pre-processing phase.
Returns
0
1
Example
if (PreProc()=0 {
   $result = incProcStatCounter("department1");
}
OpenText StreamServe 5.6 Updated: 2013-03-01