Skip to content

process.exists ​

Checks whether a process exists in the model.

js
process.exists(processNameOrId)

Parameters ​

ParameterTypeDescription
processNameOrIdstringThe process's name or id.

Returns ​

boolean

true if the process exists, otherwise false.

Examples ​

js
// Check if a process exists.
const doesExist = process.exists("yourProcess");
console.log(doesExist); // true or false