An event handler is a method or a function that can handle user actions. An event handler is associated with a particular action so that you can write code that gets triggered when an action happens. This doc will cover the commonly used event handlers of EmpowerID objects.
Workflow Event Handlers
Event Handlers
Description
Completed
This event handler invokes after the workflow has completed the execution.
Exception
This event handler is triggered when a runtime error occurs.
Idle
When a workflow enters an idle or suspended state, Workflow invokes this event handler.
Resume
This event handler invokes when a workflow executes again after staying in an idle state.
Started
This event handler invokes when the workflow starts the execution.
Activity Event Handlers
Event Handlers
Description
After Execute
This event handler fire after the code execution of an activity code completes.
Before Execute
This event handler invokes before the activity code executes.
Page Event Handlers
Event Handlers
Description
ExecuteUITaskCode
This event invokes before the form is displayed to the user
WizardBackExecuteCode
When a user clicks on the back button of the wizard, the page will raise this event.