If an escalation occurs during the execution of a human task, you
may want to notify an event handler within the application environment.
To configure an event and add it to your business application model,
follow these instructions.
- Declare a notification event handler for your task as described
here:
- In the human task editor click the Details tab.
- In the Event handler name field, enter
a name for your notification event handler.
Note: This name is
not the name of the implementation class.
- Click Save.
- Add your plugin to your application:
- Switch to the Resource perspective.
- In the Navigator, expand your business integration project.
- In the META-INF folder, create a new folder services.
- Right-click the services folder and select .
- In the File name field of the New
File wizard, , enter com.ibm.task.spi.EventHandlerNameNotificationEventHandlerPlugin Where EventHandlerName is the event handler name
you have specified for your task.
- Click Finish.
- Specify an escalation with a notification type Event:
- Switch to the Business Integration perspective and open your
task in the human task editor.
- In the Escalation settings section, select the escalation.
- Click the Details tab.
- Configure the escalation as needed (for help, see the Related
tasks section below). For Notification type, choose Event from
the list of available options.
- Save your work.