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 two work queues, Notify and PackShip.
Also, create the database fields Amount and Location
on the event log.
- Use FileNet P8 Process Designer to
create the process as shown below. This process has data fields Amount and Location that
we will monitor using IBM®
WebSphere® Business Monitor.
The Credit data field controls the branch at
the CheckCredit step.
Create the work queues and the database fields:
- Create the two work queues, Notify and PackShip. For more information, see Creating work queues.
- 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.

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).
- 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)
- 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
- Specify the three data fields as parameters for each of the steps.
- Save the workflow definition.