When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car...

20
When BPM meets Blockchain Lionel Palacin - Technical Evangelist Miguel Valdés Faura CEO & co-founder

Transcript of When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car...

Page 1: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

When BPM meets Blockchain

Lionel Palacin - Technical EvangelistMiguel Valdés Faura – CEO & co-founder

Page 2: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

Blockchain – in a nutshell

•Source: Financial Times

Page 3: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

Benefits

• Virtual continuity

• Transparency

• Resilience

• Immutability

• Independency

• Self trusted

Page 4: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

• Young technology

• Regulation

• Energy consumption

• Privacy

• Integration

• Adoption

Challenges

Page 5: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

Private blockchains• Transaction speed is considerably improved

• Data is not publicly available to anyone with a net connection.

• Public auditability can be implemented (consortium blockchains and

regulations)

Page 6: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

BPM and blockchain integrationUnified platform to build critical applications in consortiums

of multiple organizations

Page 7: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

Main benefits

1. Allow multiple partners to trust a common process

2. Improve customer engagement3. Provide end-to-end traceability

and real time audit trail

Blockchain network

Page 8: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

Use business processes to encapsulate the logic to allow multiple independent participants to exchange assets.

This is a complementary approach to “immutable” Smart Contracts in blockchain.

Allow multiple partners to trust a common process

Page 9: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

Seamless coordination between systems, processes and dedicated user interfaces and applications allows blockchain partners to better engage and serve customers

Improved customer engagement

Page 10: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

A real-time audit trail can be generated with timestamps and digital signatures for each step with every partner.

End-to-end traceability and real time audit trail

Page 11: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

Use case Scenario - Car order management

1 Customer

orders a new car at

the local retailer.

2 Local retailer checks if

the car is in store.

2A-4 Retailer delivers

the car to the customer and

get the payment.

3 Production site built the new

car and deliver it to the retailer.

2B New car is ordered from the

production site if there is no

availability.

Production site

Car store

Local retailerCustomer

3b Car company request the

Controller to issue a new car

Asset on the blockchain.

Controller

Page 12: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

Demo scenario – Payment transaction

1 Customer

orders a new car at

the local retailer.

2 Local retailer checks if

the car is in store.

2A-4 Retailer

delivers the car to the

customer and get the

payment.

3 Production site built the new

car and deliver it to the retailer.

2B New car is ordered from the

production site if there is no

availability.

Production site

Car store

Local retailerCustomer

3b Car company request the

Controller to issue a new car

Asset on the blockchain.

Controller

Page 13: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

Bonita BPM Chain.com

• Business process with the business logic orchestration and blockchain transactions management

• Connectivity framework to Chain.comblockchain

• 3 business applications with dedicated UX: Customer and Car company, Regulator

• Private blockchain deployment with 4 cores: Asset manager, Customer, Car company and Regulator

• Dashboard application to manage blockchaincores, account, assets and transaction

• Java SDK

Demo – Main components

Page 14: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

Blockchain network

APIProcess

ManagementTask Management User Management Connectors

Customer App Car company app Controller App

Car company core Customer core Controller core Observer core

Demo – Architecture

Chain.com

Java SDK

REST REST REST

JAVA JAVA JAVA JAVA

Page 15: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

The purpose of a blockchain network is to manage issuance, ownership, and

control of digital assets.

Asset:

• Demo: Bonita White Car

• Define by a Chain Core. Can be issued only by the key holder defined at the asset definition.

• Global data

Transaction:

• Demo: 10.000$

• Use to issue, transfer, exchange assets on the blockchain network

• Global data

Account:

• Demo: Bonita Store

• Track ownership of assets on a blockchain

• Local Data

Demo – Blockchain data model

Page 16: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

Blockchain network

Bonita store sells a car for $10,000 to John Doe

Car company core Customer account

coreT1T1

Demo – Payment transactionWithout BPM

Accounts• Bonita Store

• Bonita Production

Accounts• John Doe

• Jan Ripley

Page 17: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

Blockchain network

Bonita store sells a car for $10,000 to John Doe

Car company core Customer account

core

Account: Bonita Store

Spend 1 Bonita White Car

Receive $10,000

Return a partial

transaction

T1T1

Demo – Payment transactionWithout BPM

Accounts• Bonita Store

• Bonita Production

Accounts• John Doe

• Jan Ripley

Page 18: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

Blockchain network

Car company core Customer account

core

Account: Bonita Store

Spend 1 Bonita White Car

Receive $10,000

Return a partial

transaction

Partial

transaction

Build and sign new transaction T1

T1T1

Demo – Payment transactionWithout BPM

Base transaction: Partial transaction

Account: John Doe

Spend $10,000

Receive 1 Bonita White Car

Accounts• Bonita Store

• Bonita Production

Accounts• John Doe

• Jan Ripley

Bonita store sells a car for $10,000 to John Doe

Multi-assets trade between cores

Page 19: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

Blockchain network

Car company core

Accounts• Bonita Store

• Bonita Production

Accounts• John Doe

• Jan Ripley

Customer account

coreT1T1

Prepare payment Confirm payment

Partial

transactionPartial

transaction

Demo – Payment transactionWith BPM

Page 20: When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car at the local retailer. 2 Local retailer checks if the car is in store. 2 A-4 Retailer

Visit us online bonitasoft.com

Join our communitybonitasoft.org

Downloadbonitasoft.com/downloads

Follow us on twitter @bonitasoft

@PhilippeOzil

Live DEMO