Skip to main content
Version: Next

processNumber

processNumber ( name : string ) : integer
processNumber ( id : string ) : integer

ParameterTypeDescription
namestringName of process for which to retrieve the process number
idstringID of process for which to retrieve the process number
ResultintegerProcess number

Description

The processNumber command returns the number of the process whose name or id you pass in the first parameter. If no process is found, processNumber returns 0.