IBM FileNet P8, Version 5.2.1            

Developing a Java Step Processor

Here are the main prerequisites for developing a Java step processor:

Planning and Design Checkpoints

Modifying the Sample Java Step Processor

To modify and deploy the supplied sample Java Step Processor:

  1. To verify that the supplied samples work correctly in your development environment, compile and run MainSample and the sample classes that are called. These classes include the sample Java Step Processor, the Launch Step Processor, or both. See MainSample.
  2. Customize the sample Java Step Processor.
  3. Complete the Java Step Processor.

Building Your Own Java Step Processor

To build your own Java Step Processor:

  1. Use standard Swing or AWT, or the Java Step Processor UI Toolkit. If you use the Java Step Processor UI Toolkit, add the vwpanel.jar file (supplied with the Process development environment) to your IDE pane container.
  2. When a workflow user opens a step assignment that references a Step Processor, a window that contains the Step Processor user interface is displayed. For information about the algorithm that is used to determine which application to select for this step, see Opening Step Processors.
  3. Create the Step Processor class. Use the Process Java API to:
    • Log in to the Content Platform Engine server and establish a workflow system session.
    • Query User and Work queues for work items (such as Step Elements).
    • Lock retrieved objects.
    • Update workflow data.
    • Complete the step.
  4. Use the Process Java API to integrate with the Content Platform Engine. Your options depend on whether you use an IDE:
    IDE You can use the VWTabbedPanel control and the VWAttachmentPanel beans (included with vwpanel.jar) to access attachments stored in object or file stores.
    Otherwise You can use the VWAttachmentPanel bean in a manner similar to that bean used with the Java Step Processor UI Toolkit to access attachments. For more information, see Working with the VWAttachmentPanel.
  5. See Completing the Java Step Processor.

Completing the Java Step Processor

Completing your Java Step Processor development is the same regardless or whether you modify the sample or build your own:

  1. Compile your Java Step Processor.
  2. Create and sign a JAR file that includes the customized Java Step Processor.
  3. Deploy the Java application.
  4. Add the custom Processor to a workflow.


Last updated: March 2016
sp_dev_procedure.htm

© Copyright IBM Corporation 2016.