addOnStageSelected (Client API reference)
Adds a function as an event handler for the OnStageSelected event so that it will be called when a business process flow stage is selected.
Syntax
formContext.data.process.addOnStageSelected(myFunction);
Parameter
Name | Type | Required | Description |
---|---|---|---|
myFunction |
Function reference | Yes | The function to be executed when the business process flow stage is selected. 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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應