Tutorial: Building a Worklist Application

     Previous  Next    Open TOC in new window    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Step 2. Define the Worklist Task Type

In this step, you start the WebLogic IDE and create a new Worklist project. Here, you create the Loan Request task type and define its properties, steps, actions, and constructors.

Create a New Project

In this section you create a new project.. A project is in essence a container of files and directories relating to a single unit of work. In the case of this tutorial, your project will contain all of your Loan Request task type files and directories.

  1. Select File Arrow symbolNew Arrow symbolProject from the WebLogic IDE menu. The New Project dialog box is displayed.
  2. Figure 3-1 New Project Dialog Box


    New Project Dialog Box

  3. Expand the Simple folder.
  4. Select Project.
  5. Click Next.
  6. Figure 3-2 New Task Project Dialog Box



  7. Enter the project name Tutorial_Loan_Request.
  8. Keep the default settings.
  9. Click Finish.
  10. The Tutorial_Loan_Request project is created and is displayed in the Navigator pane.

Create the Loan Request Task Type

In this section, you create and manage the Loan Request task type to be used throughout this tutorial.

Main Steps to Create Loan Request Task Type

The main steps involved in creating the Loan Request task type include:

  1. Create the Loan Request task type and its properties. A task type contains a description of the steps, properties, task assignment rules, and so on that are common to a class of tasks for a given purpose. See Step 1: Create and Define the Task Type.
  2. Create steps for the Loan Request task type. A step is a phase in the overall completion of a task. Task assignment can occur at any step in a task. See Step 2: Create the Steps.
  3. Create actions for the Loan Request task type. An action is a discrete operation that can alter the properties of a task and causes a transition to another step defined for the task. See Step 3: Create the Actions.
  4. Create constructors for the Loan Request task type. See Step 4: Create the Constructors.
  5. Create rules for the Loan Request task type. See Step 5: Create the Rules.

Step 1: Create and Define the Task Type

In this step, you create and define the Loan Request Task Type file: loan-request.task.

  1. In the Navigator pane, right-click the Tutorial_Loan_Request project.
  2. From the pop-up menu, select New Arrow symbolOther Arrow symbolWebLogic Integration Arrow symbolTask Type.
  3. The Multi-page Editor File dialog box appears:

    Figure 3-3 Multi-page Editor File


    Multi-page Editor File

  4. In the File Name field, change the name of the file to loan_request.task.
  5. Click Finish.
  6. A new Task Type pane is added to your workspace:

    Figure 3-4 Task Type Pane


    Task Type Pane

  7. NEED TO EXPLAIN THESE FIELDS - BUT THEY WILL PROBABLY CHANGE WITH MITCH'S NEXT CHECK IN

Step 2: Create the Steps

Next you will create steps for the Loan Request task type. Each step in essence represents a different state in which the Loan Request task type resides.

The following flow illustrates the relationship between the four steps you will create:

Instructions for Creating Steps

To create a step, you use the Task Type Editor as follows:

  1. Right click on the Loan Request task type.
  2. From the drop-down menu, select New Step. A new step appears under the Loan Request task type. By default it is named Step 1.
  3. Change the name of the step by right clicking on the step, selecting Rename, and entering the new name in the provided field.
  4. Add a description for the step in the provided field
  5. DOCUMENT INSTRUCTIONS BASED ON NEW UI.

Step 3: Create the Actions

Next you will create actions for the Loan Request task type. Actions are taken by appropriate actors (loan officer or loan manager) at respective steps. When an action is taken, it often causes the task type to transition from one step to another.

The Loan Request task type can be accepted or rejected by the Loan Officer, moving it from a state of New to a state of Accepted or Rejected.

If the Loan Officer accepts the Loan Request task type, it can be approved or rejected by the Loan Manager. This moves it from the state of Accepted to a state of Approved or Rejected.

The following figure illustrates the actions you create and how they relate to the steps you created in Step 2: Create the Steps.

Task Type Pane

Instructions for Creating Actions

To create an action, you use the Task Type Editor as follows:

  1. Right click on the step for which you will create actions.
  2. From the drop-down menu, select New Action. A new action appears under the step. By default it is named Action 1.
  3. Change the name of the step by right clicking on Action 1, selecting Rename, and entering the new name in the provided field.
  4. Add a description for the action in the provided field
  5. DOCUMENT HOW THIS IS DONE - NEW UI

Step 4: Create the Constructors

Next you create the constructors for the loan request task type.

For the purposes of this tutorial, we will set a constructor that defines a simple loan request task type. It will require the following information:

Step 5: Create the Rules

Next you create rules for the loan request task type. For the purposes of this tutorial, you will define a rule that will determine which Loan Officer group the loan request task type will be assigned to. This will depend on the state in which the customer applying for the loan lives. You will define three loan officer groups:

For the purposes of our tutorial, the customer who has submitted the loan request is from California. Therefore, according to the rules you define in this section, the loan request will be routed to the Western loan officer group for processing.


  Back to Top       Previous  Next