About Me

About Me
Working with SOA technologies , implementing solution using IBM BPM , IBM Integration Designer,IBM WODM and IBM DataPower

About me

View Mahesh Dondeti's profile on LinkedIn

upcoming posts on IBM Bluemix,Devops,Worklight,Node js.

Wednesday, 2 January 2013

Building a Simple Process Application using Process Designer in IBM BPMv8.0

Building a Simple Process Application using  Process Designer in IBM BPMv8.0:-
What this post  is about

This exercise covers how to build process application and its elements using Process Designer in BPMv8.0. 
Testing the Process App manually.
Testing the Process App using the Process Portal
 
What you should be able to do:-

At the end of the post, you should be able to:
• Create process application in Process Designer
• Create BPD(Business Process Definition)
• Create business objects
• Create a Human service using the human service in User Task
• Building Coaches for User Interface.
• Create the variables and its types
• Define Data mapping for BPDs and business objects
• Create Server script,and wiring the components
• Testing the Process Application using process Portal .

Case scenario

• In this exercise, you create necessary process elements for a project in which a
process can get the customer details from web interface and log those details to the local system.

  1. Start Process Center __ a. Select Start Programs IBM WebSphere Process Server 8.0 Profiles Process Center Start the Server.

     
    1. Wait for the server to start, which can take a few minutes. While it is starting, you should see this window:
    2. When the server startup completes, you will see some additional messages in the window and then it will then close automatically. When the window disappears, you are ready to continue.
       
      4. Start Process Designer
      a. Start Process Designer by clicking on the Process Designer icon from the Windows Start menu.
       
    3. b. Enter the credentials    
                      User Name: <your user ID> (default administrative user is ‘admin’)
    1. Password: <your password> (default administrative password is'admin').
     
    and then click the Login button.

c. First, you need to ensure you are in the Process Center view. In the Process
Center view, you will see the tabs across the top. 
 
d.If you do not see this then you are in the Process Designer view. In the upper
right corner of the window, if you see a Process Center icon, click it to switch
to the Process Center view. 
 
In the menu on the right, click Create New Process App.
 
 
Enter for the Process App Name as shown below.

Enter Customer Details Processing for the Acronym. CDP
Note: The acronym acts as an identifier for the project and its related library items. It
must be unique and is limited to 7 characters. An acronym cannot start with a number and cannot include special characters or spaces.
The Description field is optional. Click Create.

1.The process app gets added to the list.

Click Open in Designer that is next to the newly created app (Customer Details Processing), as shown below . The Designer perspective is displayed.
Option to open the process app in Process Designer
Create a Business Process Definition (BPD)
  1. In the Designer perspective, click the plus sign (+) next to Processes.
Select Business Process Definition as shown below

1.Give the BPD name, such as CustomerBPD, as shown below
Click Finish.
 
3.The Diagram View is displayed with a Start node and an End node
 
Create a Business Object:-

  1. Create a business object from Customer Details Processing App in the Process Designer.
  1. Click plus(+) from Data and select Business Object.
  2. Enter Customer in the Name field for the new business object.
  3. Then click on Finish.

    5.A business Object Editor will open. Select the Add button to add the fields to the business

    object.
     
    Enter the following fields and select the corresponding type as shown below
    Name                            Type

    Cname                           String
    Cno                               Integer
    Caddress                       String
    Ctype                             String
    Ccity                           String
    mobileno                  Integer
    Date                         Date
     
    Finally the Business Object Editor looks like this

    Click the below link to get the step by step document to complete the Application:

    Simple Process App in BPMv8.0