IBM FileNet P8, Version 5.2.1            

Creating and configuring the data source

The FileNet P8 process consists of three steps that check credit for an incoming customer order, and either ship the order or notify the customer of credit problems. The data in each process includes the Amount of the order, the region where the order will be shipped (Location), and a credit value.

Use the following general steps to create and configure the data source for this example. Detailed instructions follow.

Create the work queues and the database fields:

  1. Create the two work queues, Notify and PackShip. For more information, see Creating work queues.
  2. Create the following databse fields for the default event log: Amount (Integer) and Location (String). These fields are used in the example process and ultimately monitored by usingWebSphere Business Monitor. For information about creating these fields, see Managing user database fields.

Create the process:

By using Process Designer, you can create the following simple process SalesMonitorDemo.

Simple sales workflow

The purpose of this fictional process is to receive an order for some product, check the customer's credit, and then either proceed to pack and ship, or notify the customer of rejected credit. To have values to monitor, each order includes a location (N, E, S, or W), and an amount of the order. We also have different queues to monitor (Notify and PackShip), in addition to a user Inbox (CheckCredit).

  1. In Process Designer, Workflow Properties, create the following data fields. (To avoid entering values at Launch, we initialized the fields with random values as indicated.)
    • Amount (integer) Expression: random(10000)
    • Location (string) Expression: translate(convert(random(4),string), "0123", "NEWS")
    • Credit (integer) Expression: random(10)
  2. Add the steps and routes to the map.
    • CheckCredit step is processed by the F_Originator (Inbox).
    • PackShip step is processed by the PackShip queue.
    • Notify step is processed by Notify queue.
    • Ok route has condition Credit >=3
    • Reject route has condition Credit <3
  3. Specify the three data fields as parameters for each of the steps.
  4. Save the workflow definition.


Last updated: October 2015
bpfbm025.htm

© Copyright IBM Corporation 2015.