You can create plug-ins for human task API events and escalation
notification events.
Before you begin
To work with the events that occur when a task is processed, you must
specify the event handler name in the task model.
Why and when to perform this task
You can create the following types of event handlers for human task
events:
- Notification event handler
- To create an event handler for escalation notifications, you must implement
the com.ibm.task.spi.NotificationEventHandlerPlugin interface.
- API event handler
- To create an event handler for human task events, you must implement the
com.ibm.task.spi.APIEventHandlerPlugin interface.
Steps for this task
- Implement the event handler as a JAR file.
The JAR
file requires the following:
- Make the JAR file available to applications.
- If you want the event handler to be used by only one Java™ 2
Enterprise Edition (J2EE) application, you can include the JAR file in the
application EAR file.
- If you want several applications to use the event handler, consider putting
the JAR file in a WebSphere® Application Server shared library. You
can then explicitly associate the library with the applications that need
access to the event handler.
The event handler handles human task events that
occur within the application.