addOnProcessStatusChange (Client API reference)
Adds a function as an event handler for the OnProcessStatusChange event so that it will be called when the business process flow status changes.
Syntax
formContext.data.process.addOnProcessStatusChange(myFunction);
Parameter
Name | Type | Required | Description |
---|---|---|---|
myFunction |
Function reference | Yes | The function to be executed when the business process flow status 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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för