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 and dropped to the desired location on the workspace and then configured. General information on creating process elements 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
All information about the settings in this dialog can be found here.
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 "de" part is used for German description text. An English description text must be entered accordingly with "en":
Klassenname.description.en=description
In older versions of Intrexx, description texts could not be entered in multiple languages. The entry here must be "Class name.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 in which 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 de.uplanet.lucy.server.workflow.eventhandler.SessionLoginWorkflowEventHandler class.
Click "OK" to complete the configuration.