getActiveProcess (Client API reference)
Returns a Process object representing the active process.
Syntax
var activeProcess = formContext.data.process.getActiveProcess();
Return Value
Type: Process | null
Description: The currently active process or null if there is no active process. See Process methods for the methods to access the properties of the process returned.