Skip Headers
Oracle® BPEL Process Analytics Quick Start Guide
10g Release 2 (10.1.2)
Part No. B15928-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

4 Running the LoanFlowPlus Tutorial

The LoanFlowPlus tutorial provides step-by-step instructions on setting up and using Oracle BPEL Process Analytics to monitor an Oracle BPEL Process Manager process flow.

The following topics are included in this chapter:


Note:

The directory paths shown in this chapter follow Microsoft Windows conventions (using backslashes (\)). If you are running the tutorial on a Linux or Solaris operating system, modify the directory paths as required (using slashes (/)).

Prerequisites for the LoanFlowPlus Tutorial

To run the LoanFlowPlus tutorial, you must first deploy the LoanDemoPlus sample into Oracle BPEL Process Manager as described in the list that follows. In any step where it is mentioned, BPM_HOME is the Oracle home directory for Oracle BPEL Process Manager.

  1. Make sure Oracle BPEL Process Manager Server is running.

  2. For all files in the following directory, clear the read-only flag in the file properties:

    BPM_HOME\integration\orabpel\samples\demos\LoanDemoPlusWithWorkFlow\LoanFlowPlus
    
    
  3. From the command line, set the command path to the following directory:

    BPM_HOME\integration\orabpel\bin
    
    
  4. Run the obant command from the following directory:

    BPM_HOME\integration\orabpel\samples\demos\LoanDemoPlusWithWorkFlow
    
    
  5. Open the Oracle BPEL Process Manager Console, select default from the Domain box, then click Login.

  6. On the Dashboard tab, make sure that the following processes are included in the Deployed BPEL Processes column:

    • CreditRatingService

    • LoanFlowPlusWorkFlow

    • StarLoanWithWorkFlow

    • UnitedLoan


Note:

Leave Oracle BPEL Process Manager Server running for the duration of the tutorial.

Inserting Sensors into the LoanFlowPlus Process Flow

You insert sensors into the Oracle BPEL Process Manager LoanFlowPlus process flow, so that events are published to a JMS queue from which Oracle BPEL Process Analytics can capture them. Oracle BPEL Process Analytics uses the JMS queue to present the event metadata during composite event creation, and to capture the events in real time.

Use one of the methods described in the following sections to set up the event activity sensors:

Using the Preconfigured Event Activity Sensors

Preconfigured event activity sensors are included in the LoanDemoPlus sample. If you do not want to use the tutorial to understand how to insert sensors into the process flow, proceed to: "Using Oracle BPEL Process Analytics to Model Events".

Using JDeveloper BPEL Designer

If you choose to insert event activity sensors using JDeveloper BPEL Designer, you need to insert the following sensors into the LoanFlowPlus process flow:

  • LoanRequest

  • LoanRequestApproved

  • LoanOfferSelected

  • LoanOfferAccepted

For the LoanRequest sensor, screenshots of how your window should look are provided for most steps. For the remaining sensors, screenshots are provided only when they vary substantially from the LoanRequest screenshots.

Before you can insert the sensors, you must load the LoanFlowPlus process into JDeveloper BPEL Designer.

This section includes the information about loading the process, inserting each of the required sensor actions and sensors, and deploying the modified LoanFlowPlus process as follows:

Loading the LoanFlowPlus Process

Follow these steps to load the process. In each step where it is mentioned, BPM_HOME is the directory specification for the Oracle home into which you installed Oracle BPEL Process Manager (on Microsoft Windows systems, for example, C:\OraHome_5).

  1. Open JDeveloper BPEL Designer.

  2. On the File menu, click New. The New Gallery dialog box opens.

  3. In the Items box, select Application Workspace, then click OK. The Create Application Workspace dialog box opens.

  4. Click OK.

  5. In the Applications Navigator, select Application1.

  6. On the File menu, click Open. The Open dialog box opens.

  7. In the Open dialog box, specify the following file, then click Open.

    BPM_HOME\integration\orabpel\samples\demos\LoanDemoPlusWithWorkFlow\LoanFlowPlus\LoanFlowPlusWithWorkflow.jpr
    
    
  8. In the Applications – Navigator , expand LoanFlowPlusWithWorkflow, then Integration Content.

  9. Double-click LoanFlowPlus.bpel.

The JDeveloper BPEL Designer interface should contain a panel in the Diagram View similar to Figure 4-1.

Figure 4-1 JDeveloper BPEL Designer Opening Window - LoanFlowPlus.bpel Panel

Description of bpel_loanflowplus.gif follows
Description of the illustration bpel_loanflowplus.gif

Deleting the Preconfigured Sensors

Sensors are included in the sample, by default. To understand how to insert them manually, you first need to delete the preconfigured sensors, as follows:

  1. In the LoanFlowPlus.bpel - Structure panel (as shown in Figure 4-2), expand Sensor Actions.

  2. Right-click UTAction, then click Delete Sensor Action.

  3. Right-click UTActionConsole, then click Delete Sensor Action.

  4. In the LoanFlowPlus.bpel - Structure panel (as shown in Figure 4-3), expand Sensors, then Activity.

  5. Delete each of the preconfigured activity sensors, as follows:

    1. Right-click LoanRequest, then click Delete Activity Sensor.

    2. Right-click LoanRequestApproved, then click Delete Activity Sensor.

    3. Right-click LoanOfferSelected, then click Delete Activity Sensor.

    4. Right-click LoanOfferAccepted, then click Delete Activity Sensor.

Figure 4-2 Structure Panel - Preconfigured Sensor Actions

Description of sensoractions.gif follows
Description of the illustration sensoractions.gif

Figure 4-3 Structure Panel - Preconfigured Activity Sensors

Description of activitysensors.gif follows
Description of the illustration activitysensors.gif

Inserting Sensor Actions

To run the tutorial, you must insert two sensor actions, as follows:

  • A sensor action for the database

    This sensor action is used for Oracle BPEL Process Analytics debugging and Oracle BPEL Process Manager process reports.

  • A sensor action for the Java Message Service (JMS) queue

    This sensor action is used for publishing Oracle BPEL Process Manager events to Oracle BPEL Process Analytics.

To create the sensor action for the database, follow these steps:

  1. In the LoanFlowPlus.bpel - Structure panel (as shown in Figure 4-4), right-click Sensor Actions.

  2. Click Create Sensor Action. The Create Sensor Action dialog box opens.

  3. Change the Name field to BPMReportsPublisher.

  4. Leave the Publish Type as Database, leave the Filter field empty, and leave Enable selected, as shown in Figure 4-5.

  5. Click OK.

Figure 4-4 LoanFlowPlus.bpel - Structure Panel

Description of structure_panel.gif follows
Description of the illustration structure_panel.gif

Figure 4-5 Create Sensor Action Dialog Box - BPMReportsPublisher

Description of create_sa_bamdebug.gif follows
Description of the illustration create_sa_bamdebug.gif

To create the sensor action for the JMS queue, follow these steps:

  1. In the LoanFlowPlus.bpel - Structure panel, right-click Sensor Actions.

  2. Click Create Sensor Action. The Create Sensor Action box opens.

  3. Specify the fields as described in the following table (and shown in Figure 4-6), then click OK.

    Page Element Description
    Name Enter BPAPublisher.
    Publish Type Choose JMS Queue.
    JMS Connection Factory Enter jms/QueueConnectionFactory.
    Publish Target Enter jms/demoQueue.
    Filter Leave empty.
    Enable Leave selected.

    Figure 4-6 Create Sensor Action Dialog Box - BPAPublisher

    Description of create_sa_bpapub.gif follows
    Description of the illustration create_sa_bpapub.gif

Inserting the LoanRequest Sensor

This section describes how to insert the first of the four sensors required for the tutorial. A sensor is composed of the attributes described in the following table:

Attribute Description
Sensor Name A unique name to identify the sensor
Activity Name The BPEL activity on which you want to place the sensor
Activity State The specific time in the lifecycle of the activity for which you want the activity to be evaluated
Activity Variable A variable to hold the structure of the event that will be published by the sensor
Actions The action or actions that you want the sensor to take when the activity is in the specified activity state

The steps that follow describe how to insert the LoanRequest sensor.

Using these steps, you will create a sensor named LoanRequest on the Oracle BPEL Process Manager process activity named receiveInput. The structure of the event associated with that activity will be held in the activity variable named input, and the activity will be evaluated when it completes. At that time, the event structure will be published to the JMS queue as defined by the BPAPublisher sensor action (for the Oracle BPEL Process Analytics monitor to receive), and will be published to the database as defined by the BPMReportsPublisher sensor action (for the BPEL reports).

  1. In the LoanFlowPlus diagram, double-click receiveInput. The Receive property sheet opens.

  2. Click Sensors, then click Create. The Create Activity Sensor box opens, as shown in Figure 4-7.

  3. Figure 4-7 Create Activity Sensor Dialog Box

    Description of create_activity_sensor.gif follows
    Description of the illustration create_activity_sensor.gif

  4. In the Name field, replace ActivitySensor_1 with LoanRequest.

  5. In the Evaluation Time field, select Completion.

  6. In the Activity Variable Sensors group, click Create. The Create Activity Variable Sensor dialog box opens.Click the pencil icon. The Variable XPath Builder dialog box opens.Under Variables/Process/Variables, expand input, then select payload (as shown in Figure 4-8), and then click OK. The Create Activity Sensor dialog box appears as shown in Figure 4-10

    Figure 4-8 Variable XPath Builder Dialog Box - input Selected

    Description of variable_chooser_input.gif follows
    Description of the illustration variable_chooser_input.gif

  7. The Create Activity Variable Sensor dialog box appears as shown in Figure 4-9. Click OK. The Create Activity Sensor dialog box appears as shown in Figure 4-10

    Figure 4-9 Create Activity Variable Sensor Dialog Box - Fields Populated

    Description of create_activity_variable_sensor_payload.gif follows
    Description of the illustration create_activity_variable_sensor_payload.gif

    Figure 4-10 Create Activity Sensor Dialog Box - input Activity Variable Sensor

    Description of create_activity_sensor_variable.gif follows
    Description of the illustration create_activity_sensor_variable.gif

  8. In the Create Activity Sensor dialog box, in the Sensor Actions group, click Add. The Sensor Action Chooser dialog box opens.

  9. Select BPMReportsPublisher, and then click OK.

  10. In the Create Activity Sensor dialog box, in the Sensor Actions group, click Add. The Sensor Action Chooser dialog box opens.

  11. Select BPAPublisher, and then click OK.

  12. The Create Activity Sensor dialog box should appear as shown in Figure 4-11; click OK.

  13. In the Receive property sheet, click OK.

    Figure 4-11 Create Activity Sensor Dialog Box - LoanRequest Completed

    Description of create_as_loanreq.gif follows
    Description of the illustration create_as_loanreq.gif

You have completed the insertion of the LoanRequest sensor.

The JDeveloper BPEL Designer indicates the presence of the sensor with a sensor icon, as shown in Figure 4-12.

Inserting the LoanRequestApproved Sensor

To insert the LoanRequestApproved sensor, follow these steps:

  1. In the LoanFlowPlus diagram, click the expand control (plus sign) associated with getCreditRating.

  2. Double-click copyRating. The Scope property sheet opens.

  3. Click Sensors, then click Create. The Create Activity Sensor dialog box opens.

  4. In the Name field, enter LoanRequestApproved.

  5. In the Evaluation Time field, select Completion.

  6. In the Activity Variable Sensors group, click Create. The Create Activity Variable Sensor dialog box opens.

  7. Click the pencil icon. The Variable XPath Builder dialog box opens.

  8. Under Variables/Process/Variables/input, select payload, then click OK.

    The Create Activity Variable Sensor dialog box is presented with $input/payload in the Variable XPath field, http://www.autoloan.com/ns/autoloan in the OutputNamespace field, and loanApplication in the Output Datatype field.

  9. In the Create Activity Variable Sensor dialog box, click OK.

  10. In the Create Activity Sensor dialog box, in the Sensor Actions group, click Add, then select BPMReportsPublisher, and click OK.

  11. In the Create Activity Sensor dialog box, in the Sensor Actions group, click Add, then select BPAPublisher, and click OK.

  12. The Create Activity Sensor dialog box should appear as shown in Figure 4-13; click OK.

  13. In the Scope property sheet OK.

    Figure 4-13 Create Activity Sensor Dialog Box - LoanRequestApproved

    Description of create_as_loanreqapproved.gif follows
    Description of the illustration create_as_loanreqapproved.gif

You have completed the insertion of the LoanRequestApproved sensor.

Inserting the LoanOfferSelected Sensor

To insert the LoanOfferSelected sensor, follow these steps:

  1. In the LoanFlowPlus diagram, click the expand control (plus sign) associated with collectOffers.

  2. If it is expanded, click the collapse control (minus sign) associated with the question mark icon. The question mark icon is now labeled selectBestOffer.

  3. Double-click selectBestOffer. The Switch property sheet opens.

  4. Click Sensors, and then click Create. The Create Activity Sensor dialog box opens.

  5. In the Name field, enter LoanOfferSelected.

  6. In the Evaluation Time field, select Completion.

  7. In the Activity Variable Sensors group, click Create. The Create Activity Variable Sensor dialog box opens.

  8. Click the pencil icon. The Variable XPath Builder dialog box opens.

  9. Under Variables/Process/Variables/selectedLoanOffer select payload, then click OK.

    The Create Activity Variable Sensor dialog box is presented with $selectedLoanOffer/payload in the Variable XPath field, http://autoloan.com/ns/autoloan in the Output Namespace field, and loanOffer in the Output Datatype field.

  10. In the Create Activity Variable Sensor dialog box, click OK.

  11. In the Create Activity Sensor dialog box, in the Sensor Actions group, click Add, then select BPMReportsPublisher, and click OK.

  12. In the Create Activity Sensor dialog box, in the Sensor Actions group, click Add, then select BPAPublisher, and click OK.

  13. The Create Activity Sensor dialog box should appear as shown in Figure 4-14; click OK.

  14. In the Switch property sheet, click OK.

    Figure 4-14 Create Activity Sensor Dialog Box - LoanOfferSelected

    Description of create_as_loanoffsel.gif follows
    Description of the illustration create_as_loanoffsel.gif

Inserting the LoanOfferAccepted Sensor

To insert the LoanOfferAccepted sensor, follow these steps:

  1. In the LoanFlowPlus diagram, double-click replyOutput. The Invoke property sheet opens.

  2. Click Sensors, then click Create. The Create Activity Sensor dialog box opens.

  3. In the Name field, enter LoanOfferAccepted.

  4. In the Evaluation Time field, select Completion.

  5. In the Activity Variable Sensors Group, click Create. The Create Activity Variable Sensor dialog box opens.

  6. Click the pencil icon. The Variable XPath Builder dialog box opens.

  7. Under Variables/Process/Variables/selectedLoanOffer select payload, and then click OK.

    The Create Activity Variable Sensor dialog box is presented with $selectedLoanOffer/payload in the Variable XPath field, http://autoloan.com/ns/autoloan in the Output Namespace field, and loanOffer in the Output Datatype field.

  8. In the Create Activity Variable Sensor dialog box, click OK.

  9. In the Create Activity Sensor dialog box, in the Sensor Actions group, click Add, then select BPMReportsPublisher, and click OK.

  10. In the Create Activity Sensor dialog box, in the Sensor Actions group, click Add, then select BPAPublisher, and click OK.

  11. The Create Activity Sensor dialog box should appear as shown in Figure 4-15; click OK.

  12. In the Invoke property sheet, click OK.

  13. From the File menu, select Save All.

    Figure 4-15 Create Activity Sensor Dialog Box - LoanOfferAccepted

    Description of create_as_loanoffacc.gif follows
    Description of the illustration create_as_loanoffacc.gif

    You have completed the creation of all the sensors required for this tutorial. You are ready to deploy the modified LoanFlowPlus process, as described in the next section.

Deploying the Modified LoanFlowPlus Process

To deploy the modified LoanFlowPlus process, follow these steps:

  1. Run the obant command from the following directory, where BPM_HOME is the Oracle home directory for Oracle BPEL Process Manager:

    BPM_HOME\integration\samples\demos\LoanDemoPlusWithWorkFlow
    
    
  2. Make sure the sensors are defined as expected by following these steps:

    1. Open the Oracle BPEL Process Manager Console and log in.

    2. Click the BPEL Processes tab, and then in the Deployed Processes column, click LoanFlowPlus (v. 1.0).

    3. Click the Sensors tab. The activity sensors you created should be listed in the Activity Sensors column.

Using Oracle BPEL Process Analytics to Model Events

This portion of the tutorial describes how to start, log in to, and use Oracle BPEL Process Analytics to model composite events. It contains the following sections:

Starting and Logging In to Oracle BPEL Process Analytics

This section describes how to start Oracle BPEL Process Analytics and log in as Administrator. The instructions vary, depending on the operating system you are using, as follows:

  • On Microsoft Windows systems:

    1. Ensure that Oracle HTTP Server is started.

    2. From the desktop Start button, choose All Programs, then Oracle - Oracle Application Server home name, then Oracle BPEL Process Analytics, and then click Start BPA Server

    3. After the server starts, from the desktop Start button, choose All Programs, then Oracle - Oracle Application Server home name, then Oracle BPEL Process Analytics, and then click BPA Console. Your default Web browser opens and displays the Oracle BPEL Process Analytics Console login page as shown in Figure 4-16.

    4. Log in to the Oracle BPEL Process Analytics Console. By default, the user name and password are both Administrator for the administrative user.

  • On Unix systems:

    1. From the Oracle Process Manager and Notification Server (OPMN) bin directory in the Oracle home where you installed Oracle BPEL Process Analytics, issue the opmnctl startall command.

      > opmnctl startall
      
      
    2. After the server starts, open a Web browser and specify the URL to access Oracle BPEL Process Analytics, as documented in bamsetupinfo.txt, in the following directory:

      OAS_HOME/install
      
      

      The Web browser displays the Oracle BPEL Process Analytics Console login page as shown in Figure 4-16.

    3. Log in to the Oracle BPEL Process Analytics Console. By default, the user name and password are both Administrator for the administrative user.

After you log in, a page such as that shown in Figure 4-17 opens, displaying the Welcome page of the Admin Console.

Figure 4-17 Admin Console Welcome Page

Description of welcome.gif follows
Description of the illustration welcome.gif

Connecting to the Event Source

You must connect to Oracle Process Manager before you can model and view events. Follow these steps:

  1. In the Admin Console, click Admin.

  2. In the Admin page, click Event Source.

  3. In the Event Sources page, click the Create button associated with the Oracle BPEL Process Manager Sources table.

  4. In the Add Event Source page, enter values as described in the following table, where BPM-system is the name or IP address of the system on which Oracle BPEL Process Manager is installed. When you are done, click Finish.

    Page Element Value
    Name Tutorial
    Description LoanFlowPlus Tutorial
    JMS Queue Hostname BPM-system
    Event Source Installation Standalone
    ORMI Port (Standalone) 23791
    OPMN Port (Midtier) 6003
    Administrator User name admin
    Administrator Password welcome
    JMS Queue Factory jms/QueueConnectionFactory
    OJMS Queue Name jms/demoQueue
    Application Initial Context com.evermind.RMIInitiallContextFactory
    WSIL URL http://BPM-system:port/BPELConsole/wsil/processes

    By default the WSIL URL port is 9700.


Modeling Events

This portion of the tutorial describes how to create a composite event using the Oracle BPEL Process Analytics samples. Follow these steps:

  1. In the Admin Console, click Modeling.

  2. In the Modeling page, click Composite Events.

  3. In the Composite Events and Groups page, click Add Composite Event.

  4. In the Create Composite Event page, select Tutorial, then click Create. The Properties page of the Create Composite Event wizard opens.

  5. In the Properties page, follow these steps, as illustrated in Figure 4-18.

    1. In the Name field, enter LoanFlowTut.

    2. In the Description field, enter LoanFlow events.

    3. In the Timeout field, leave the settings as 0 Days, 8 Hours, 0 Minutes.

    4. Click Next. The Events page opens.

      Figure 4-18 Add Composite Event Wizard - Properties Page

      Description of ce_loanflow1.gif follows
      Description of the illustration ce_loanflow1.gif

  6. In the Events page of the wizard, follow these steps:

    1. In the navigator, expand default, then LoanFlowPlusWorkflow.

    2. Select each of the LoanFlowPlusWorkflow events. Your page should look similar to Figure 4-19.

      Figure 4-19 Add Composite Event Wizard - Events Page After Step 6b

      Description of ce_loanflow2.gif follows
      Description of the illustration ce_loanflow2.gif

    3. Click Add to list (at the top of the Add Event to Composite Event table).Select LoanOfferAccepted as the end event. Your page should look similar to Figure 4-20.

      Figure 4-20 Add Composite Event Wizard - Events Page After Step 6d

      Description of ce_loanflow2b.gif follows
      Description of the illustration ce_loanflow2b.gif

    4. Click Next. The Attributes page opens.

  7. In the Attributes page of the wizard, you specify the event attributes to capture for each event.

    1. For the LoanRequest event (preselected in the first table), expand loanApplication (in the second table) and select SSN, customerName, and loanAmount.


      Note:

      If you used the predefined activity sensors, as described in "Using the Preconfigured Event Activity Sensors", you will see LoanApplicationType instead of loanApplication.

    2. Select the LoanRequestApproved event from the first table, expand loanApplication (in the second table) and select SSN, customerName, and loanAmount.

    3. Select the LoanOfferSelected event from the first table, expand loanOffer (in the second table) and select providerName, selected, and approved, and APR.

    4. Select the LoanOfferAccepted event from the first table, expand loanOffer (in the second table) and select providerName, selected, and approved, and APR.Figure 4-21 shows the results.

    5. Click Next. The Attribute Properties page opens.

      Figure 4-21 Add Composite Event Wizard - Attributes Page After Step 7d

      Description of ce_loanflow3a.gif follows
      Description of the illustration ce_loanflow3a.gif

  8. In the Attributes Properties page, select the correlation attribute for each of the events, as follows:

    1. For the LoanRequest event (preselected in the first table), select $EventBusinessFlowId (in the second table).

    2. Select LoanRequestApproved in the first table, then select $EventBusinessFlowId (in the second table).

    3. Select LoanOfferSelected in the first table, then select $EventBusinessFlowId (in the second table).

    4. Select LoanOfferAccepted in the first table, then select $EventBusinessFlowId (in the second table). Figure 4-22 shows the results.

      Figure 4-22 Add Composite Event Wizard - Attribute Properties Page

      Description of ce_loanflow4a.gif follows
      Description of the illustration ce_loanflow4a.gif

    5. Click Next. The Dimensions page opens

    6. In the Dimensions page of the wizard, you can select dimensions for the composite event. For this tutorial, dimensions will not be specified. Click Finish.

      The Composite Events and Groups page opens. Your page should look similar to Figure 4-23. (If you did not run the demo described in Chapter 3, you will not see the LoanFlow composite event.)

    7. Figure 4-23 Composite Events and Groups Page

      Description of ce_loanflow_done.gif follows
      Description of the illustration ce_loanflow_done.gif

Oracle BPEL Process Analytics is now ready to capture event instances generated by the event source. Creating event instances is described in the next section.

Creating Event Instances


Note:

If you specified a value other than 9700 as the port for the WSIL URL when you specified the event source (as described in "Connecting to the Event Source" ), then replace 9700 with that value in each of the URLs mentioned in this section.

In this section, you create event instances, which you can then monitor in the Oracle BPEL Process Analytics Dashboard. Follow these steps:

  1. Open the following URL in a Web browser, where BPM-system is the name or IP address of the system where you installed Oracle BPEL Process Manager:

    http://BPM-system:9700/LoanFlowPlusWFUI/Homepage.html
    
    

    A page, such as that shown in Figure 4-24, opens. It allows you to initiate a new simulated BPEL loan flow.

    Figure 4-24 BPEL Loan Flow Plus

    Description of bpel1.gif follows
    Description of the illustration bpel1.gif

  2. Click Initiate New BPEL Loan Flow (beneath the tabs, on the upper-right side of the page).

  3. In the Loan Center page, as shown in Figure 4-25, click Submit Loan Application.

    Figure 4-25 Submit Loan Application

    Description of bpel2.gif follows
    Description of the illustration bpel2.gif

  4. The Loan Center page refreshes and indicates that the loan is being processed, as shown in Figure 4-26. Note that the tutorial mentioned in this Web page is not referring to this tutorial.

    Figure 4-26 Application Being Processed

    Description of bpel3.gif follows
    Description of the illustration bpel3.gif

  5. Go to the following URL to act as the Star Loan Provider:

    http://BPM-system:9700/integration/worklistapp/Login
    
    

    A page opens, such as that shown in Figure 4-27. Enter the requested values, as follows, then click Log In:

    • Username: jcooper

      You can enter any one of the following: jcooper, istone, or mtwain; this tutorial uses jcooper.

    • Password: welcome

    Figure 4-27 BPM PM Worklist - Log In

    Description of bpm_worklist_login.gif follows
    Description of the illustration bpm_worklist_login.gif

  6. The BPEL Worklist page for the specified user opens, as shown in Figure 4-28.

    Figure 4-28 Oracle BPEL Worklist Page for jcooper

    Description of bpm_worklist_jcooper.gif follows
    Description of the illustration bpm_worklist_jcooper.gif

  7. From the Actions drop-down list, select Acquire, and then click Go. The Task Details page opens, as shown in Figure 4-29.

    Figure 4-29 Oracle BPEL Worklist - Task Details

    Description of bpm_worklist_task_details.gif follows
    Description of the illustration bpm_worklist_task_details.gif

  8. In the APR box, enter 2.2, then click Update. The page will refresh.

  9. After the page refreshes, from the Task Action box, select Approve, and then click Go. Your page should look similar to Figure 4-30.

    Note that these instructions do not include a step to change the loan amount. However, if you decided to change the loan amount, be aware of the following:

    • If the loan amount is less than or equal to 100,000 the approval process is complete.

    • If the loan amount is greater than 100,000, an e-mail message is sent to user jstein, who is the manager of jcooper and mtwain. User jstein can either approve the loan through e-mail or by opening the BPM Worklist page himself and approving the loan.

      Following user jstein's approval, the task is routed to user wfaulk (who is user jstein's manager). User wfaulk can either approve the loan through e-mail or by opening the BPM Worklist page himself and approving the loan.

    Figure 4-30 Oracle BPEL Worklist - No Tasks to Display

    Description of bpm_worklist_notasks.gif follows
    Description of the illustration bpm_worklist_notasks.gif

  10. Return to the BPEL Loan Flow Plus page at the following URL:

    http://BPM-system:9700/LoanFlowPlusWFUI/Homepage.html
    
    

    Your page should look similar to Figure 4-31.

    Figure 4-31 My AUTO-LOAN - Offer Received

    Description of bpel_received.gif follows
    Description of the illustration bpel_received.gif

  11. Click Received offer from Star Loan with APR 2.2. A page such as shown in Figure 4-32 opens.

  12. Click Accept. The page refreshes to indicate that the policy is in the mail, as shown in Figure 4-33.

    Figure 4-33 Loan Center - Policy Is In the Mail Page

    Description of bpel7.gif follows
    Description of the illustration bpel7.gif

You can now repeat the steps in this section, changing values for the customer name and APR to create additional events, or you can continue to the next section and view the single event in the Oracle BPEL Process Analytics Dashboard.

Using Oracle BPEL Process Analytics to View Event Instances

Log in to the Oracle BPEL Process Analytics user interface, open the Dashboard, and view the event instance or instances you just created in the Real-Time Viewer by following these steps:

  1. Depending on the system where Oracle BPEL Process Analytics is installed, open the Console, as follows:

    • On Microsoft Windows systems:

      From the desktop Start button, select All Programs, then Oracle - Oracle Application Server home name, then Oracle BPEL Process Analytics, and then click BPA Console.

    • On Unix systems:

      Open a Web browser and specify the URL to access Oracle BPEL Process Analytics as documented in bamsetupinfo.txt, in the following directory, where OAS_HOME is the directory specification for the home into which you installed Oracle BPEL Process Analytics:

      OAS_HOME/install
      
      
  2. Log in to the Oracle BPEL Process Analytics Console. Recall that the user name and password are both Administrator by default.

  3. Click Dashboard in the upper-right corner of the page (above the tabs). The Dashboard opens.

  4. In the Switch View box, select Real-Time Viewer. The Dashboard refreshes to display the Real-Time Viewer.

  5. In the Composite Event box, select LoanFlowTut, if it is not already selected.

    Your page should look similar to Figure 4-34. If the event or events that you just created are not in the chart, click Real-Time Refresh. For detailed information on the data presented in the Real-Time Viewer, see Oracle BPEL Process Analytics User's Guide.

You have completed the LoanFlowPlus tutorial.