Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds a function as an event handler for the OnPreStageChange event so that it will be called before the business process flow stage changes.
Syntax
formContext.data.process.addOnPreStageChange(myFunction);
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
myFunction |
Function reference | Yes | The function that runs before the business process flow stage changes. The function is added to the start of the event handler pipeline. The execution context is automatically passed as the first parameter to the function. Learn more about the xecution context You should use a reference to a named function rather than an anonymous function if you later want to remove the event handler. |
This client API is only supported on the Unified Client. The legacy web client doesn't support this client API.
Related articles
addOnStageChange
removeOnStageChange
formContext.data.process