Using the sample code
After you import the project interchange PI_Final.zip into WebSphere Integration Developer V22.214.171.124, you will have three projects in the Business Integration perspective:
- MyProcess: An SCA project
- Task Event Handler: A Java™ project
- MyService: An SCA project
The MyProcess project contains a simple long-running process that essentially contains an inline human task activity that is configured with a task API event handler. When the process navigation reaches the inline task activity, the task container checks the configured task API event handler and executes the handler methods in the right order with respect to the task API calls.
The Task Event Handler project contains the task API event handler TaskEventHandler that will be executed by the task container. This happens when the process navigation reaches the inline human task activity in the long-running process that is in the MyProcess project.
The MyService project contains a simple Java component exposed as an SCA service that is executed by the task event handler when the handler is executed.