Generic Event Source

Java classes—including those from third-party providers—that implement the IWorkflowEventSource interface can serve as generic event sources.

You can find the generic event source in "Processes" under "Elements." It belongs to the "Event Sources" category. From there, it can be dragged and dropped to the desired location on the desktop and then configured. General information on creating process elements can be found here.

Once you have created the generic event source on the workspace, double-click the element to open the Properties dialog box.

General

You can find all the information about the settings in this dialog box here.

Configuration

Class

If you want to make runtime classes available, they must be entered in the wfobject-custom.properties file in the "internal/cfg/workflow" portal directory as follows:

            Klassenname=Ereignistyp
Klassenname.description.de=Beschreibung
        

The "de" part will be used for the German description text. An English description must be entered with "en" as appropriate:

            Klassenname.description.en=description

        

In older versions of Intrexx, description texts cannot yet be stored in multiple languages. Here, the entry must be "ClassName.description=Description."


The event types here are

  • action

  • condition

  • eventHandler

possible. A class that generates events must be registered with the eventHandler event type. The description you enter on the second line will later appear here in the dialog as a quick tip for the class. Here's 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.

        

Features

The property's name and value are displayed here.

/ Edit Property

Opens a dialog box where you can define the name, type, and value of the class. Only properties that are known to the class can be added.

Remove Property

Deletes the currently selected property.

For the class de.uplanet.lucy.server.workflow.eventhandler.SessionLoginWorkflowEventHandler, the portal property "Send process event upon login" must be set.

Click "OK" to complete the configuration.

More Information

"Processes" Module

Create and Manage Processes

The sections of the "Processes" module

Creating and Connecting Elements

Analyze the log file

Options

External Data in Processes

Java Classes in Process Objects