Some Common Event Handlers
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 fires after the code execution of an activity completes. It can be any activity, whether a Form Activity or a Lookup Activity on your workflow designer pane. If you need to perform a task after the workflow engine has executed your activity, you can write the code in this event handler of your activity. |
Before Execute | This event handler invokes before the activity code executes. If you want to perform any task or action before entering into your activity placed on a workflow, then use this event handler. |
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. |