When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car...
Transcript of When BPM meets Blockchain · Use case Scenario - Car order management 1 Customer orders a new car...
When BPM meets Blockchain
Lionel Palacin - Technical EvangelistMiguel Valdés Faura – CEO & co-founder
Blockchain – in a nutshell
•Source: Financial Times
Benefits
• Virtual continuity
• Transparency
• Resilience
• Immutability
• Independency
• Self trusted
• Young technology
• Regulation
• Energy consumption
• Privacy
• Integration
• Adoption
Challenges
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)
BPM and blockchain integrationUnified platform to build critical applications in consortiums
of multiple organizations
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
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
Seamless coordination between systems, processes and dedicated user interfaces and applications allows blockchain partners to better engage and serve customers
Improved customer engagement
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
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
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
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
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
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
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
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
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
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
Visit us online bonitasoft.com
Join our communitybonitasoft.org
Downloadbonitasoft.com/downloads
Follow us on twitter @bonitasoft
@PhilippeOzil
Live DEMO