Orkes logo image
Product
Platform
Orkes Platform thumbnail
Orkes Platform
Orkes Agentic Workflows
Orkes Conductor Vs Conductor OSS thumbnail
Orkes vs. Conductor OSS
Orkes Cloud
How Orkes Powers Boat Thumbnail
How Orkes Powers BOAT
Try enterprise Orkes Cloud for free
Enjoy a free 14-day trial with all enterprise features
Start for free
Capabilities
Microservices Workflow Orchestration icon
Microservices Workflow Orchestration
Enable faster development cycles, easier maintenance, and improved user experiences.
Realtime API Orchestration icon
Realtime API Orchestration
Enable faster development cycles, easier maintenance, and improved user experiences.
Event Driven Architecture icon
Event Driven Architecture
Create durable workflows that promote modularity, flexibility, and responsiveness.
Human Workflow Orchestration icon
Human Workflow Orchestration
Seamlessly insert humans in the loop of complex workflows.
Process orchestration icon
Process Orchestration
Visualize end-to-end business processes, connect people, processes and systems, and monitor performance to resolve issues in real-time
Use Cases
By Industry
Financial Services icon
Financial Services
Secure and comprehensive workflow orchestration for financial services
Media and Entertainment icon
Media and Entertainment
Enterprise grade workflow orchestration for your media pipelines
Telecommunications icon
Telecommunications
Future proof your workflow management with workflow orchestration
Healthcare icon
Healthcare
Revolutionize and expedite patient care with workflow orchestration for healthcare
Shipping and logistics icon
Shipping and Logistics
Reinforce your inventory management with durable execution and long running workflows
Software icon
Software
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean leo mauris, laoreet interdum sodales a, mollis nec enim.
Docs
Developers
Learn
Blog
Explore our blog for insights into the latest trends in workflow orchestration, real-world use cases, and updates on how our solutions are transforming industries.
Read blogs
Check out our latest blog:
Conductor CLI Guide: Register, Run, Retry, and Recover Durable Workflows Without Leaving Your Terminal šŸ’»
Customers
Discover how leading companies are using Orkes to accelerate development, streamline operations, and achieve remarkable results.
Read case studies
Our latest case study:
Twilio Case Study Thumbnail
Orkes Academy New!
Master workflow orchestration with hands-on labs, structured learning paths, and certification. Build production-ready workflows from fundamentals to Agentic AI.
Explore courses
Featured course:
Orkes Academy Thumbnail
Events icon
Events
Videos icons
Videos
In the news icon
In the News
Whitepapers icon
Whitepapers
About us icon
About Us
Pricing
Get a demo
Signup
Slack FaviconDiscourse Logo icon
Get a demo
Signup
Slack FaviconDiscourse Logo icon
Orkes logo image

Company

Platform
Careers
HIRING!
Partners
About Us
Legal Hub
Security

Product

Cloud
Platform
Support

Community

Docs
Blogs
Events

Use Cases

Microservices Workflow Orchestration
Realtime API Orchestration
Event Driven Architecture
Agentic Workflows
Human Workflow Orchestration
Process Orchestration

Compare

Orkes vsĀ Camunda
Orkes vsĀ BPMN
Orkes vsĀ LangChain
Orkes vsĀ Temporal
Twitter or X Socials linkLinkedIn Socials linkYouTube Socials linkSlack Socials linkGithub Socials linkFacebook iconInstagram iconTik Tok icon
Ā© 2026 Orkes. All Rights Reserved.
Back to Blogs

Table of Contents

Share on:Share on LinkedInShare on FacebookShare on Twitter
Worker Code Illustration

Get Started for Free with Dev Edition

Signup
Back to Blogs
SOLUTIONS

Modern Loan Banking (Lending) Using Conductor

Altaf Ansari
Software Engineer
Last updated: March 3, 2022
March 3, 2022
4 min read

Related Blogs

How to Build a Simple, Modular, and AI-Powered Fraud Detection Workflow

Jul 8, 2025

How to Build a Simple, Modular, and AI-Powered Fraud Detection Workflow

Automating Serialization/Deserialization Tests with Orkes Conductor and LLMs

May 29, 2025

Automating Serialization/Deserialization Tests with Orkes Conductor and LLMs

Automating Insurance Claims Processing with AI and Conductor

Apr 24, 2025

Automating Insurance Claims Processing with AI and Conductor

Ready to Build Something Amazing?

Join thousands of developers building the future with Orkes.

Start for free

Introduction

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

Use Case / Problem

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

Yes we are serious !!!!

JP Morgan Chase and American Express are already using Conductor for their Banking needs !!!!

Solution Using Conductor

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

In this Use Case:

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.

banking meme

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 makes decision of proceeding workflow.

If customer applies for education loan, the workflow looks like.

education loan type

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 .

credit score risk

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 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.

loan transfer

Whatever the Customer decision, on the basis of it the customer_decision a (switch-task) takes decision of proceeding the workflow. If Customer rejects, the workflow proceeds to the terminate_due_to_customer_rejection) a (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

lending flow successfull

bank meme

Here is the workflow definition.

json
{
    "updateTime": 1649266893306,
    "name": "loan_banking",
    "description": "This workflow is to demo the loan banking process",
    "version": 1,
    "tasks": [
      {
        "name": "customer_details",
        "taskReferenceName": "customer_details",
        "inputParameters": {},
        "type": "SIMPLE"
      },
      {
        "name": "loan_type",
        "taskReferenceName": "loan_type",
        "inputParameters": {
          "loantype": "${customer_details.output.loantype}"
        },
        "type": "SWITCH",
        "decisionCases": {
          "education": [
            {
              "name": "education_details",
              "taskReferenceName": "education_details",
              "inputParameters": {},
              "type": "SIMPLE"
            },
            {
              "name": "education_details_verification",
              "taskReferenceName": "education_details_verification",
              "inputParameters": {},
              "type": "SIMPLE"
            }
          ],
          "property": [
            {
              "name": "employment_details",
              "taskReferenceName": "employment_details",
              "inputParameters": {},
              "type": "SIMPLE"
            },
            {
              "name": "employment_details_verification",
              "taskReferenceName": "employment_details_verification",
              "inputParameters": {},
              "type": "SIMPLE"
            }
          ]
        },
        "defaultCase": [
          {
            "name": "business_details",
            "taskReferenceName": "business_details",
            "inputParameters": {},
            "type": "SIMPLE"
          },
          {
            "name": "business_details_verification",
            "taskReferenceName": "business_details_verification",
            "inputParameters": {},
            "type": "SIMPLE"
          }
        ],
        "forkTasks": [],
        "startDelay": 0,
        "joinOn": [],
        "optional": false,
        "defaultExclusiveJoinTask": [],
        "asyncComplete": false,
        "loopOver": [],
        "evaluatorType": "value-param",
        "expression": "loantype"
      },
      {
        "name": "credit_score_risk",
        "taskReferenceName": "credit_score_risk",
        "inputParameters": {},
        "type": "SIMPLE"
      },
      {
        "name": "credit_result",
        "taskReferenceName": "credit_result",
        "inputParameters": {
          "creditScore": "${credit_score_risk.output.creditScore}"
        },
        "type": "SWITCH",
        "decisionCases": {
          "possible": [
            {
              "name": "principal_interest_calculation",
              "taskReferenceName": "principal_interest_calculation",
              "inputParameters": {},
              "type": "SIMPLE"
            },
            {
              "name": "loan_offered_to_customer",
              "taskReferenceName": "loan_offered_to_customer",
              "inputParameters": {},
              "type": "SIMPLE"
            },
            {
              "name": "customer_decision",
              "taskReferenceName": "customer_decision",
              "inputParameters": {
                "decision": "${loan_offered_to_customer.output.decision}"
              },
              "type": "SWITCH",
              "decisionCases": {
                "yes": [
                  {
                    "name": "loan_transfer_to_customer_account",
                    "taskReferenceName": "loan_transfer_to_customer_account",
                    "inputParameters": {},
                    "type": "SIMPLE"
                  }
                ]
              },
              "defaultCase": [
                {
                  "name": "terminate_due_to_customer_rejection",
                  "taskReferenceName": "terminate_due_to_customer_rejection",
                  "inputParameters": {
                    "terminationStatus": "COMPLETED"
                  },
                  "type": "TERMINATE"
                }
              ],
              "loopOver": [],
              "evaluatorType": "javascript",
              "expression": "$.decision=='yes' ? 'yes' : 'no' "
            }
          ]
        },
        "defaultCase": [
          {
            "name": "terminate_due_to_bank_rejection",
            "taskReferenceName": "terminate_due_to_bank_rejection",
            "inputParameters": {
              "terminationStatus": "COMPLETED"
            },
            "type": "TERMINATE"
          }
        ],
        "evaluatorType": "javascript",
        "expression": "$.creditScore > 760 ? 'possible' : 'reject' "
      }
    ],
    "schemaVersion": 2
  }

Note that there are no workers actually powering the workflow, so it is only there to share the definition and the diagram.


Conductor is an enterprise-grade orchestration platform for process automation, API and microservices orchestration, agentic workflows, and more. Check out the full set of features or get a demo of Orkes Cloud, a fully managed and hosted Conductor service.