Creating Task Processing portlets
Use WebSphere Integration Developer or IBM Rational Application Developer to create the Task Processing portlets required for portal-based business process applications. Use the TaskUI Manager API, the Property Broker API, and the Task API and the code samples illustrated here to create the Task Processing portlet. Before you begin this procedure, read Preparing to develop business process applications. You should have experience using the standard portlet API. In addition to the Task UI Manager API and the Property Broker API, you should also be familiar with the Task API of the Human Task Manager Service of WebSphere Process Server.
For a stand-alone installation of Rational Application Developer, you import the WSDL and XSD files generated by WebSphere Integration Developer when the process designer developed the business process application. Then use the Task API to create the Task Processing portlet.
Refer to the Java™doc for the Task UI Manager API and the Property Broker API, located in the PortalServer_root/doc/Javadoc/api_docs directory. Refer to the Javadoc for the Task API, located in the WebSphere Process Server Information Center, Reference section.
- Retrieve properties from the Task List portlet
Specify how the Task Processing portlet retrieves task and task page properties from the Task List. Refer to the code samples for developing a standard portlet.
- Process the input and output messages of the task
Specify how the Task Processing portlet handles task input and output messages and task completion. Refer to the code samples for developing a standard portlet.
- Close the task page
The Task Processing portlet retrieves the TaskUIManager portlet service to close the task page and return the user to the task list page. Refer to the code samples for developing a standard portlet.
- Import required class libraries
Import the necessary WSDL and XSD files from the business process application in the WebSphere Integration Developer environment into the portlet project in the Rational Application Developer or other environment. Ensure that the development machine has the Java archive files that allow the Task Processing portlet to compile successfully.
Parent topic:
Develop custom user interfaces for process integration
Previous topic:
Enable business processes for the portal
Next topic:
Initiating a process instance