Generic event source
Java classes, even from third party providers, can function as generic event handlers as long as they implement the IWorkflowEventSource interface.
You can find the generic event source in processes in the "Elements" area. It belongs to the "Event sources" category. From there, it can be dragged & dropped to the desired location on the workspace and then configured. General information about creating process items can be found here.
If you have created the generic event source on the workspace, open the properties dialog by double-clicking on the element.
General
Click here for more information about the settings in this dialog.
Configuration
Class
If you want to make runtime classes available, these must be entered in the portal directory "internal/cfg/workflow" in the wfobject-custom.properties file as follows:
Klassenname=Ereignistyp
Klassenname.description.de=Beschreibung
The letters "de" will be used for the German description text. The English description text provided must include "en":
Klassenname.description.en=description
In older versions of Intrexx, description texts could not be entered in multiple languages. Entries must be written as follows: Classname.description=Description
The event types
-
action
-
condition
-
eventHandler
are possible. A class that generates events must be entered with the eventHandler event type. The description that you can enter in the second line will appear later in the configuration dialog as a quicktip for the class. Here is an example:
de.uplanet.lucy.server.workflow.eventhandler.UWEventHandler=eventHandler
de.uplanet.lucy.server.workflow.eventhandler.UWEventHandler.description=This handler can be triggered by a user event.
Properties
The name and value of the property are displayed here.
Add property / Edit property
Opens a dialog where the name, type and value of the class can be defined. Only properties that are known to the class can be added.
Remove property
Deletes the currently selected property.
The portal property "Send process event on login" must be set for the class de.uplanet.lucy.server.workflow.eventhandler.SessionLoginWorkflowEventHandler.
Click "OK" to complete the configuration.
More information
Create and manage processes
The areas of the "Processes" module