addOnStageChange (Client API reference)
Adds a function as an event handler for the OnStageChange event so that it will be called when the business process flow stage changes.
Syntax
formContext.data.process.addOnStageChange(myFunction);
Parameter
Name | Type | Required | Description |
---|---|---|---|
myFunction |
Function reference | Yes | The function to be executed when the business process flow stage changes. The function will be added to the bottom of the event handler pipeline. The execution context is automatically passed as the first parameter to the function. See Execution context for more information. You should use a reference to a named function rather than an anonymous function if you may later want to remove the event handler. |
Related articles
Comentários
https://aka.ms/ContentUserFeedback.
Brevemente: Ao longo de 2024, vamos descontinuar progressivamente o GitHub Issues como mecanismo de feedback para conteúdos e substituí-lo por um novo sistema de feedback. Para obter mais informações, veja:Submeter e ver comentários