Modern Loan Banking (Lending) Using Conductor
Tags: netflixconductor, orkes, conductor, orchestration
Published: 2022-03-15 22:40:20

---
title: Modern Loan Banking (Lending) Using Conductor
published: true
date: 2022-03-03 00:00:00 UTC
tags: NetflixConductor,Orkes,Conductor,orchestration
canonical_url: https://orkes.io/content/blog/loan-banking-using-conductor
---

## Introduction[​](#introduction "Direct link to heading")

As the [Introduction](/content/docs/introduction) documentation shows, Netflix Conductor can be used for a variety of uses cases, solving complex workflow problems that plague many companies worldwide.

Let's now try to understand how we can use Conductor to solve a Lending problem that exists in the Banking and Fintech sector.

## Use Case / Problem[​](#use-case--problem "Direct link to heading")

In the new modern era of Fintech, bank customers are moving from traditional banking to digital banking. With that, there is an expectation that the processes that are run will be faster and more streamlined. Hence, in order to keep up with the customer demands various banks are trying to automate their banking processes. One common (and complicated) process that many banks are automating to its customers is the loan banking (lending) process.

Lending workflows can be very common and potential problem that can be solved by Conductor.

![banking meme](https://orkes.io/content/assets/images/lending_meme_Medium-fd6adcf39000e56bf7c4dab7265dad7d.png)

#### Yes we are serious !!!! [​](#yes-we-are-serious- "Direct link to heading")

#### JP Morgan Chase and American Express are already using Conductor for their Banking needs !!!! [​](#jp-morgan-chase-and-american-express-are-already-using-conductor-for-their-banking-needs- "Direct link to heading")

## Solution Using Conductor[​](#solution-using-conductor "Direct link to heading")

Every Bank has their own set of rules in the area of Lending. As this lending process is from Bank to the Customer, it depends on various factors that are evaluated and computed on details provided by the customer. On the basis of these details, banks measure the risk and offer loans to its customers on different parameters (for example - interest rate, tenure, EMIs, etc). This varies from Bank to Bank.

The complexities that banks go through behind the scenes to do the complex calculations, and on the top of that they have to maintain high level of security from potential threat, this all can be taken care by conductor.

#### Let's consider a simple workflow to understand how we can use features of Conductor[​](#lets-consider-a-simple-workflow-to-understand-how-we-can-use-features-of-conductor "Direct link to heading")

#### In this Use Case:[​](#in-this-use-case "Direct link to heading")

This is an example of lending workflow in banks, there can be few complex tasks involved in this workflow. For now, we have created a workflow with only the most obvious and necessary tasks.

![Conductor lending workflow](https://orkes.io/content/assets/images/lending_flow-af1d99d58e14d69eefa46125108dd62d.png)

The first task is `customer_details`, basic details (name, address, loan type,...) of the customer is fetched.

On the basis of loan type applied by the customer, `loan_type` a [switch-task](/content/docs/reference-docs/switch-task) makes decision of proceeding workflow.

#### If customer applies for education loan, the workflow looks like.[​](#if-customer-applies-for-education-loan-the-workflow-looks-like "Direct link to heading")

![education workflow](https://orkes.io/content/assets/images/loanType_education-832d06264353614822ef7197f5129d49.png)

The workflow proceeds with the tasks `education_details` and `education_details_verification`. (Workflow would have went the other two ways if `loanType : business` or `loanType : property` were provided to the `loan_type` switch task).

Education details of the customer are fetched in the task `education_details` and the details are verified in `education_details_verification` task.

Next up is calculating risk and this happens in the task `credit_score_risk` .

![](https://orkes.io/content/assets/images/lending_credit_score_Medium-3817379ff7da592069933c219db517ad.png)

There are various credit bureaus which release credit score for the customers on the basis of their credit history. If the credit score of the customer is below average score, banks don't give loans to the customers.

The task `credit_score_risk` fetches data from one of the credit bureau and generates the result on the basis of credit score and other parameters. Result can be - ` decision : possible` if it possible to give loan and ` decision : reject` if it not possible to give loan. On the basis of result generated by `credit_score_risk` the [switch\_task](/content/docs/reference-docs/switch-task.md)`credit_result` proceeds the workflow.

In the above diagram, the result generated is `decision : possible` hence, the workflow goes to the task `principal_interest_calculation` (if the result was `decision : reject` the flow would have went to the task `terminate_due_to_bank_rejection` which is a terminate task).

In the task `principal_interest_calculation` the amount, duration, interest and other banking computations are done and in the next step `loan_offered_to_the_customer` details of the loan are sent to the customer and then the customer has to either accept it or reject it.

![](https://orkes.io/content/assets/images/loan_transfer_Medium-39dc3a02f9bdb35d5bbefacbe9d10059.png)

Whatever the Customer decision, on the basis of it the `customer_decision` a [(switch-task)](/content/docs/reference-docs/switch-task) takes decision of proceeding the workflow. If Customer rejects, the workflow proceeds to the `terminate_due_to_customer_rejection)` a [(terminate-task)](/content/docs/reference-docs/terminate-task) and the workflow ends. If Customer accepts the loan offered by bank the workflow goes in the direction as shown in the above figure. And in the task `loan_transfer_to_customer_account` money is transferred to the customer's account and workflow ends.

## Workflow after successful execution[​](#workflow-after-successful-execution "Direct link to heading")

![](https://orkes.io/content/assets/images/lending_flow_successful-b137ab1ddebdf030de53e08c548aa745.png)

![](https://orkes.io/content/assets/images/lending_meme_finish-f6021438d078b210079ffe745d8cf69b.jpg)

## Thank You For Reading !! [​](#thank-you-for-reading- "Direct link to heading")

You can see the workflow in our [Playground](https://play.orkes.io/workflowDef/loan_banking). Note that there are no workers actually powering the workflow, so it is only there to share the definition and the diagram.

Feel free to make your own copy of the workflow,a nd build your own loan processing workflow in the playground. If you run into issues, (or want to share your results), drop a message in our [Discord server](https://discord.gg/pYYdYsYTAw).