Reader small image

You're reading from  Instant Oracle BPM for Financial Services How-to

Product typeBook
Published inApr 2013
PublisherPackt
ISBN-139781782170143
Edition1st Edition
Right arrow
Author (1)
B.M Madhusudhan Rao
B.M Madhusudhan Rao
author image
B.M Madhusudhan Rao

B. M. Madhusudhan Rao, alias name James Smith (Author of James Smith's Technology Blogs), has more than 15 years of experience in the enterprise software industry. He has been a TOGAF 9 Enterprise Architecture certified solution specialist at Oracle's North America Technology Organization for more than 5 years. He works primarily around Service Oriented Architecture, Business Process Management, Webcenter Portal, Webcenter Content, and Enterprise Architecture Practice. He is a part of the Tech-Sales team that showcases various customer proof of concepts and demonstrations to meet the customers' business challenges and requirements.Before joining Oracle, Madhu was a Technical Manager at HCL Technologies in India. He is known as James for his blog James Smith's Java and Oracle Blogs, which is very popular among techies. Last year, in 2012, his blog jamessmith73.wordpress.com had over 74,000, hits making it one of the top technology blogs.Madhu lives in Bangalore,India with his parents, wife, and little daughter Aishwarya Rao, and loves nature photography.
Read more about B.M Madhusudhan Rao

Right arrow

Deploying and testing a process workflow (Advanced)


A process administrator's role involves governing, configuring, and maintaining BPM processes and business rules. They are in charge of BPM Server administration, policy management, providing grant access to various users based on their role in the process, and deploying/undeploying the process as and when required by the IT organization, who are directly linked to the business organization unit of James Bank.

Process participants are people who are part of the process and interact with other process participants or customers. They are directly or indirectly involved in moving the process ahead. In James Bank's scenario, Conan Doyle, Jack London, and John Steinbeck are involved in preliminary and secondary loan applicants' credential checks. Some of their work is manual, some automated; but they keep the ball rolling ahead. William Faulkner, who heads the finance organization, is also involved in the final checks and finance approval of the process.

Getting ready

Before we begin, the following requirement needs to be fulfilled:

  • Download the source code from the previous recipe

  • Ensure that the LoanEligibility process is deployed and working as expected

Let's use the James Bank's loan schema, application.xsd, to create a new BPM project for the loan application. The request and response elements can be seen in application.xsd file provided with the source code of this chapter.

This recipe demonstrates WebCenter Process Spaces. If you already have WebCenter installed with BPM Process Spaces, then we can use WebCenter Portal. If you do not have WebCenter Portal, then we can test the same process in BPM Workspace application as well.

How to do it…

Let us extend the home loan use case based on the following points:

  • James Cooper is the loan applicant who has applied for a home loan. He now knows that he is eligible for loan and has an option of choosing a fixed or variable EMI. He also has a unique loan request ID that will be used throughout his home loan processing. He submits the required document proofs such as property address, government approval of the property, proof of address, salary slips, and his income tax return statements, as required by James' Bank in order to process his loan application.

    Note

    Refer to the previous recipe for details about loan eligibility.

  • The process continues in a parallel mode where application document verification and physical address and employment proofs are checked by field officers.

  • Conan Doyle and Jack London—who are in the role of Application Verification Officers—validate the documents such as address proof and salary slips sent by James Cooper. If they are satisfied with the validity of the documents, either one of them approves them. This task is named as Application Verification Officer.

  • John Steinbeck—who is in the role of Field Officer—physically visits James Cooper's home and office, and checks his residential address and employment status. When both the Application Verification Officer and the Field Officer—provide their approval, the process moves to the next level. This task is named as Agency Verification.

    Note

    Sometimes, banks can hire an external agency to verify address, property documents, employment status, and criminal records.

  • William Faulkner is the Finance Officer at James Bank. He would be the final approver in the business process.

  • Based on the customer's monthly income and the requested loan amount, the loan applicants are classified as Platinum, Gold, Silver, and Bronze customers.

  • Platinum customers are the ones who have requested a substantial loan amount, and sometimes it makes sense for James Bank to borrow the loan from other partner banks or financial institutions at a lower rate of interest, and give the same loan to their customers at a higher rate of interest. So there is a subprocess that takes care of communicating with partner networks based on certain service-level agreements. This task is named as Partner Loan Request Process.

Note

All the users—James Cooper, Jack London, Conan Doyle, and John Steinbeck—need to be created in UCM as well. WebCenter Content can be accessed at http://localhost:16200/cs. If not created, these users would not be able to check documents in to the content repository.

Let us now model this process in JDeveloper by performing the following steps:

  1. Launch JDeveloper and create a new project under the James Bank application. Name this project as LoanApplicationProj.

  2. Create input arguments, output arguments, business objects, and business process data objects.

  3. Map all the request objects to the loanRequest element of the schema, and map all the response elements to the loanResponse element of the schema.

  4. Create LoanApplicant, VerificationOfficer, FieldOfficer, and FinanceOfficer swimlanes on the process canvas, which can be seen in the extreme left vertical lane in the Flow tab. Each of these represents a participant role.

  5. Switch to the BPM Project Navigator view and open the Organizational Chart roles. Add the required actors as discussed in the preceding use case for each of the swimlane roles.

  6. Drag-and-drop a task initiator from the Component Palette on the LoanApplicant BPM process swimlane.

  7. Create the Loan Application human task and associate it with the loanRequest process data object as an input parameter.

  8. Select Loan Application Task and click on Auto-Generate Task Form….

  9. Add a parallel task and link up AgencyVerification and Application Verification Officer, so that they merge again at the ParallelGateway endpoint.

  10. Add an exclusive gateway to check if the customer is a Platinum customer. If yes, take the customer to a subprocess (Partner Loan Request Process) which is marked as Is Draft, for later implementation.

  11. If the customer is not a Platinum customer, then the process moves to the next human task—Finance Approval.

  12. Save the loan application data in the required database table by using a Database Adapter at the Save Loan Application service invocation.

    Note

    We can implement this logic later, so we will mark it as Is Draft (shown in gray color).

  13. Finally, send an e-mail notification to the customer by dragging and dropping the Email notification activity.

  14. Deploy the application to WebLogic Server from JDeveloper.

How it works…

The output of this recipe will run LoanApplicationProcess, which goes through a series of checks and approvals before the applicant is notified of his loan status.

Let's understand how each role in our use case plays its part, by performing the following steps:

  1. Log in to BPM Workspace (http://localhost:7001/bpm/workspace) as James Cooper (loan applicant).

  2. He checks for loan eligibility, fills in the required data, and submits the form.

  3. He also attaches required documents such as proof of age, proof of address and salary slips that get checked into the UCM content repository.

  4. John Steinbeck—who is the Field Officer—visits James Cooper's home and office, and approves the Loan Application Task in the BPM Workspace application.

  5. Jack London—who is the Application Verification Officer—has access to the corporate intranet WebCenter Portal. He logs in and verifies all the related documents such as Income Tax Permanent Account Number (PAN), address proof, and employment certificate and provides his approval on them.

  6. After login, he selects his group space related to home loans and views the task assigned to him in the process workflow:

  7. He then selects Application Verification Task assigned to him and verifies the documents. Once done, he clicks on the Approve or Reject button to approve or reject the application based on his verification of the documents.

  8. William Faulkner—who is the Finance Officer at James Bank—gives the final approval, and the loan is sanctioned to James Cooper.

The following screenshot shows how the end-to-end process flow looks in the Enterprise Manager. The green line shows the happy path.

There's more…

Deployments can be done directly from JDeveloper by creating a WebLogic Application Server connection. After deployment, it is necessary to create a data source and a connection pool in the WebLogic Server console. The deployed SOA application can be tested in multiple ways; the most common being to log in to Enterprise Manager and test the process from there. Another approach is to use the web service WSDL URL to create an ADF-based data control. Once created, drag-and-drop this control onto an ADF JSPX page and test it by running the JSPX page. Enterprise Manager-based testing will always be a quicker approach during development stages.

Previous PageNext Page
You have been reading a chapter from
Instant Oracle BPM for Financial Services How-to
Published in: Apr 2013Publisher: PacktISBN-13: 9781782170143
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime

Author (1)

author image
B.M Madhusudhan Rao

B. M. Madhusudhan Rao, alias name James Smith (Author of James Smith's Technology Blogs), has more than 15 years of experience in the enterprise software industry. He has been a TOGAF 9 Enterprise Architecture certified solution specialist at Oracle's North America Technology Organization for more than 5 years. He works primarily around Service Oriented Architecture, Business Process Management, Webcenter Portal, Webcenter Content, and Enterprise Architecture Practice. He is a part of the Tech-Sales team that showcases various customer proof of concepts and demonstrations to meet the customers' business challenges and requirements.Before joining Oracle, Madhu was a Technical Manager at HCL Technologies in India. He is known as James for his blog James Smith's Java and Oracle Blogs, which is very popular among techies. Last year, in 2012, his blog jamessmith73.wordpress.com had over 74,000, hits making it one of the top technology blogs.Madhu lives in Bangalore,India with his parents, wife, and little daughter Aishwarya Rao, and loves nature photography.
Read more about B.M Madhusudhan Rao