Event Handlers

Learn how to manage Event Handlers

Last published at: September 26th, 2023

An event handler receives events from an event source. User can manage event handlers, export and import handler files between FlowWright environments, request for a specific handler from FlowWright product team and view handler errors. Click here to understand more on how to create a custom event handler.  

Navigate to ESB - Event Handlers menu.

The Event Handlers UI is rendered as below. The events are ordered by the name and search box to narrow down to a specific event. 

 

Create Event Handler

Select Actions - Create menu option. 

The event handler popup is rendered for configuration. Provide the handler name. Provide the namespace. Provide the DLL name path. Click on CREATE to confirm the action. 

 

Edit Event Handler

Select an event row from the table or search for an event by the name. Click on Actions - Edit menu option. 

The event handler popup is rendered with details for changes. Provide the changes to handler name, namespace and DLL path. Click on UPDATE to confirm the changes. 

 

Remove Event Definition

Select an event row from the table or search for an event by the name. Click on Actions - Remove menu option. 

Click OK to remove the event handler from the list. 

 

View handler with errors

Click on View - With Errors menu option. A error list is rendered as a table in the same page.  

 

Export

Use this feature to export and import event handlers between FlowWright environments. Select an event row from the table or search for an event by the name. Click on Export  - XML menu option. 

The file is exported as XML and downloaded to local folder. A sample XML is included here for reference.

<eventHandlerDefinitions>
<eventHandlerDef name="clsExecuteWorkflow" namespace="FlowWright.ESB.clsExecuteWorkflow" DLL="FlowWright.ESB.dll" />
</eventHandlerDefinitions>

Select an event row from the table or search for an event by the name. Click on Export  - SQL menu option.  The file is exported as SQL and downloaded to local folder. A sample SQL is included here for reference.

INSERT INTO [deEventHandlerDefinitions] ([EVENTHANDLERDEFID],[EVENTHANDLERDEFNAME],[DLLNAMESPACE],[DLLPATH],[CREATEDDATETIME]) 
VALUES('384e69f8-8f9d-3a3f-91cd-3bb60e1aea76','clsExecuteWorkflow','FlowWright.ESB.clsExecuteWorkflow','FlowWright.ESB.dll',
'2023-05-22T06:58:11')

 

Import

Use this feature to import XML event handler to the FlowWright environment. Select an event row from the table or search for an event by the name. Click on Import  - XML menu option. 

Select the XML file from the local path folder and click on “Import” button to confirm the action. 

 

Auto Detech Event Handlers

Use this feature to auto detect custom event handlers into FlowWright environment. Use the options to auto detect from DLL and Directory folders.  

 

Support - Request Item 

Use this feature to request FlowWright product team for support or advise new enhancements. 

 

Support - How to create event handler

Use this help section to understand how to create event handler.