Installing the task API event handler
The task container executes the task API event handler before the Approver task is created when the process navigation reaches the task activity in the CreditProcess process in the MyProcess project. For that to occur, the Task Event Handler Java project needs to be available at runtime when the CreditProcess process is executed. The following steps show one way to make the Task Event Handler project available at runtime:
- Double-click the dependencies icon of the MyProcess project.
- Add the Task Event Handler project as a dependent project in the Java section of the dependencies editor as shown in Figure 2.
Figure 2. Task API event handler as a dependent
Note that the Task Event Handler project will be deployed with the MyProcess project as designated in the check box in Figure 2.