Developing a User Inbox
This procedure assumes that you have:
- A basic understanding of Process applications (see Introduction to Process Applications),
- A familiarity with the Process Java™ APIs (see Process API Class Calling Sequences).
- Completed your FileNet P8 Platform installation.
- Configured your Process development environment.
- Set the Web application services
- Created and initialized an isolated region for development. For more information, see Initializing an isolated region.
- Created a workflow definition (by using Process Designer).
For information about workflow queues, see Configuring workflow queues.
Planning and Design Checkpoints
- Decide upon the following items:
- Your approach to the user interface
- The related business processes
- How it fits into the workflow definition
- The operations to be performed for this step
- Decide whether to build the User Inbox as an HTML page or a Java application/applet (Developing Custom Java Processors - Applications).
Building a User Inbox
To develop a custom User Inbox:
- Create the User Inbox classes.
- Log in and establish a workflow system session.
- Query User and Work queues for Queue Elements.
- Lock the retrieved objects.
- Display a list of queues.
- Open a work item.
Completing a User Inbox
To complete the development of your custom User Inbox:
- Compile your User Inbox classes.
- Create and sign a Java Archive (JAR) file that includes the customized User Inbox.
- Deploy the JAR file on server. Once deployed, you must create a JavaServer Pages (JSP) event page to make the User Inbox available to the Content Platform Engine server. In addition, you must create a JSP view (UI) page.
- Use the Process Designer to add the application to the workflow if
your application is for any of the following items:
- A step
- A launch step
- A submap in a workflow (such as a Step Processor)
- Run your application.