OnProcessStatusChange event (Client API reference)

This event occurs when the status of a process instance changes.

Use the formContext.data.process.addOnProcessStatusChange method to add event handlers for this event and the formContext.data.process.removeOnProcessStatusChange method to remove them.