SlideShare una empresa de Scribd logo
1 de 28
Lucid chart
&
Harmony
Generate a (workflow) application from a flowchart
&
Introducing event driven modeling
Disclaimer
• The scope of this presentation is limited to
flowcharts. BPMN was introduced to standardise
process modelling and, whilst it built on 'standard'
flowcharting shapes, its palette and semantics go
far beyond the range of flowcharting to really
describe how proper processes actually work (ref:
NickBroom - expert on BPMN)
About Lucid chart & Harmony
• LucidChart is great for diagramming:
–
–
–
–

But flowcharts can be complicated and confusing
Flowcharts don’t deal well with data
Flowcharts should be avoided for detailed processes
Flowcharts can’t be “executed” / tested
• The model must be verified manually

• Harmony is great for creating, worfkflow, applications:
– But creating a large system for a complex process without a
graphical model can be cumbersome
– Top notch support for decision tables
– Joining process + data
– Agile / prototyped development
generate
• Focus on validating the process (Prototype)

change
check
What is event-driven modeling?
• A technique in which events depend on each other
to the least extent practicable
• the focus must be for each event to produce a clearly defined
outcome (result);
• Such an outcome can be a pre-condition for an(other) event.
• Events are triggered ( “act”) when the condition is met.

• Each event represents an autonomous task / work
package
• thus simplifying modeling … analysts/power users don’t have to
worry ..
• if I do this - then this must have been done
or
• if I do this - then I also must do this, and this, and ….
Why event-driven?
• Event-driven technique leads to “loosely coupled
systems/applications”

• “loosely coupled systems/applications” provide
enormous flexibility
• Samples of event driven processes
• Customer has accepted order [terms] [external trigger]
• Stock for product A is less than 10 [number threshold]
• Cancelation period has passed [time threshold]

• Samples of event driven applications
• email address exists ? Prompt contact details
• Customer age < 16? prompt parent authorization required
• Customer has not reacted during cancelation period ? (ship)
ordered product
Demonstration goals
• We model the process in Lucidchart
– Use a standard (pre-defined) sequence
– Showcase an event driven “flow”chart

• Harmony uses flowchart to generate the system
– We use the generated system to verify the modeled
process (the sequence, aka workflow )

• We then enrich the application:
decision
– Replace
with a decision table
– Add files / data to match “real” world process
– Add authorization / access

• Verify the system ( (workflow / process)
• Validate the system with users

generate

change
check
Event driven = loosely coupled system
• events depend on each other to the least extent
practicable
• avoid a pre-defined sequence:
• when step1 is done do step2,
• when step2 is done do step3

• event driven processes
– define processes using conditions such as
• Customer accepts order [=yes] [external trigger]
• product stock less than 10 [number threshold]
• Cancelation period more than 3 days [time threshold]

• event driven applications
• email address exists ? Prompt contact details
• Customer age < 16? prompt parent authorization
required
• Customer has not reacted during cancelation period ?
(ship) ordered product
Demonstration goals
• We model the process in LucidChart
– Use a standard (pre-defined) sequence
– Show case an event driven “flow”chart

• Harmony uses flowchart to generate the system
– We use the generated system to verify the modeled
process (the sequence, aka workflow )

• We then enrich the application:
– Replace decision
with a decision table
– Add files / data – which trigger the process
– Add authorization / access

• Verify the system (workflow / process)
generate

change
check
What we’ll do
• Model our process using 4 LucidChart pages:
– Process decomposition
• (Not our favourite ; so don’t spend too much time verifying this )

– “Standard” fLowchart
• Process flow + datastores (files) + decisions

– “domain” model for customer service processes
– Event driven flows (process steps)

• Log on to Harmony instance
– Import the diagram & generate app (takes 30 -60 seconds)
– Verify the process - log on to the Harmony app
• Data drives the process – checking decision support outcomes

– Change our application - log on to Google DOCS
• Insert a Decision Table
• Generate the app

generate

– Verify the process
change
check
Bridging the GAP between analysis, design & app development

LUCID CHART & HARMONY
(1) Traditional process decomposition
Tourism – book an accommodation
(2) The traditional flowchart
• Extract of the flowchart – the selection/booking process
(3) Event driven process
Customer service domain
• Customer/booker requests extra (non-available) rooms

• The request is processed by the customer service department
(4) event driven analysis

• After generating the application
– We’ll modify the app and add a decision table which
determines which visitors from foreign
countries need an ID
(4) event driven analysis

• After generating the application
– Add the decision table which determines
which visitors need an ID
Generate the App
Run the app
• All [Lucidchart] processes are created in our app.
– Including the sequence
• Pre-defined
• Event driven (depending on data values)
• Run the app: https://www.liquidsequence.net/latest/

• Note on authorization
• All events (process steps) are visible when logging on using
“Administrator” role
Start workflow: step 0
• The flowchart step-0
• is translated into a Harmony app step

• Harmony’s built-in decision
management shows next step
Enter data: firing events
• We’ve modeled the step as “standalone”
– Not directly linked to other processes
– Instead the step is conditioned by “data””

• Enter data
– Step (event) fired
Model vs application

• The flowchart is complex to verify
• Application is easy to verify
– Decisions are clear
– Simulate by entering any data
Test variances
• We set value to Yes
• New event is fired
Add a decision table
• the generated app contains a file
–

A file is one-dimensional

• we will replace the file by a DT
–

a standard 2-dimensional decision table

• What do we need to do?
–
–
–
–

delete the datasheet (the file)
import or create the DT
upload the configuration
(after 30 secs the new version is ready: run the app)
The 2-dimensional decision table

For any found combination (like UK, FR) 4 outcomes are generated:
brand name, website URL, id required, price multiplier
For samples: http://www.liquidsequence.com/Decision-Table-samples.html
Sample of an event/sensor driven
The DMN lending application (Decistion Table implementaion)

ZERO CODING
Click here to view the case
Outcomes of 3 decision tables (1/3)
are input for DT # 4

Click on image to view original (LucidChart) diagram online
We create a dialog(2/3)
in order to provide input

• One rule:
– Ensure that dialog items are match the
inputs to the decision tables
And this is the [Harmony] result !
(2hours work (tops))

• Access the app
Useful links
• Run the demo
– https://www.liquidsequence.net/demo2/
– Creating a system support the product sales
process
– http://www.slideshare.net/LiquidSequence/online-sales-application-selectproduct-create-quote-accept-and-ship-from-warehouse

• Lucidchart
– Online diagram (process model)
– (same) PDF

• Decision tables
– samples
– TableSpeak
– Decision modeling Lending sample

Más contenido relacionado

La actualidad más candente

Nicole Larsen-Portfolio
Nicole Larsen-PortfolioNicole Larsen-Portfolio
Nicole Larsen-Portfolio
Nicole Larsen
 
Workflow approvals 2
Workflow approvals 2Workflow approvals 2
Workflow approvals 2
ovalisgroup
 
FreeFlow-broch_NA_snglpg_HR_091113
FreeFlow-broch_NA_snglpg_HR_091113FreeFlow-broch_NA_snglpg_HR_091113
FreeFlow-broch_NA_snglpg_HR_091113
Sally Dixon
 

La actualidad más candente (14)

How to pinpoint and fix sources of performance problems in your SAP BusinessO...
How to pinpoint and fix sources of performance problems in your SAP BusinessO...How to pinpoint and fix sources of performance problems in your SAP BusinessO...
How to pinpoint and fix sources of performance problems in your SAP BusinessO...
 
SPTechCon Austin - The Slippery Slope of SharePoint Migrations
SPTechCon Austin - The Slippery Slope of SharePoint MigrationsSPTechCon Austin - The Slippery Slope of SharePoint Migrations
SPTechCon Austin - The Slippery Slope of SharePoint Migrations
 
Business Process Automation and Data Processing Workflows
Business Process Automation and Data Processing WorkflowsBusiness Process Automation and Data Processing Workflows
Business Process Automation and Data Processing Workflows
 
]project-open[ Workflow Developer Tutorial Part 4
]project-open[ Workflow Developer Tutorial Part 4]project-open[ Workflow Developer Tutorial Part 4
]project-open[ Workflow Developer Tutorial Part 4
 
PCM to unifier migration considerations - Oracle Primavera P6 Collaborate 14
PCM to unifier migration considerations  - Oracle Primavera P6 Collaborate 14PCM to unifier migration considerations  - Oracle Primavera P6 Collaborate 14
PCM to unifier migration considerations - Oracle Primavera P6 Collaborate 14
 
]project-open[ Workflow Developer Tutorial Part 1
]project-open[ Workflow Developer Tutorial Part 1]project-open[ Workflow Developer Tutorial Part 1
]project-open[ Workflow Developer Tutorial Part 1
 
OpenSpan Desktop Analytics Datasheet
OpenSpan Desktop Analytics DatasheetOpenSpan Desktop Analytics Datasheet
OpenSpan Desktop Analytics Datasheet
 
Synergy2014 What's new in Synergy (4.8.7 and 4.8.8)
Synergy2014 What's new in Synergy (4.8.7 and 4.8.8)Synergy2014 What's new in Synergy (4.8.7 and 4.8.8)
Synergy2014 What's new in Synergy (4.8.7 and 4.8.8)
 
Nicole Larsen-Portfolio
Nicole Larsen-PortfolioNicole Larsen-Portfolio
Nicole Larsen-Portfolio
 
Workflow approvals 2
Workflow approvals 2Workflow approvals 2
Workflow approvals 2
 
Task Management Software
Task Management SoftwareTask Management Software
Task Management Software
 
Recap new features and functionality
Recap new features and functionalityRecap new features and functionality
Recap new features and functionality
 
FreeFlow-broch_NA_snglpg_HR_091113
FreeFlow-broch_NA_snglpg_HR_091113FreeFlow-broch_NA_snglpg_HR_091113
FreeFlow-broch_NA_snglpg_HR_091113
 
IBM Business Automation Workflow
IBM Business Automation WorkflowIBM Business Automation Workflow
IBM Business Automation Workflow
 

Similar a Lucidchart an event driven approach for generating a (workflow) applications

DQ Product Usage Methodology Highlights_v6_ltd
DQ Product Usage Methodology Highlights_v6_ltdDQ Product Usage Methodology Highlights_v6_ltd
DQ Product Usage Methodology Highlights_v6_ltd
Digendra Vir Singh (DV)
 
Enterprise Orchestration at UT (via Stonebranch) FINAL VERSION v3
Enterprise Orchestration at UT (via Stonebranch) FINAL VERSION v3Enterprise Orchestration at UT (via Stonebranch) FINAL VERSION v3
Enterprise Orchestration at UT (via Stonebranch) FINAL VERSION v3
Jennifer Hubley
 
DMM9 - Data Migration Testing
DMM9 - Data Migration TestingDMM9 - Data Migration Testing
DMM9 - Data Migration Testing
Nick van Beest
 
Introduction to Stream Processing
Introduction to Stream ProcessingIntroduction to Stream Processing
Introduction to Stream Processing
Guido Schmutz
 
Step by-step-lsmw-tutorial-101208040548-phpapp02
Step by-step-lsmw-tutorial-101208040548-phpapp02Step by-step-lsmw-tutorial-101208040548-phpapp02
Step by-step-lsmw-tutorial-101208040548-phpapp02
johnbryan26
 

Similar a Lucidchart an event driven approach for generating a (workflow) applications (20)

Create a WEB 2.0 banking application. Adaptive Case Management. Secure and sc...
Create a WEB 2.0 banking application. Adaptive Case Management. Secure and sc...Create a WEB 2.0 banking application. Adaptive Case Management. Secure and sc...
Create a WEB 2.0 banking application. Adaptive Case Management. Secure and sc...
 
Creating a Cloud system in one hour using Google DOCS spreadsheets
Creating a Cloud system in one hour using Google DOCS spreadsheetsCreating a Cloud system in one hour using Google DOCS spreadsheets
Creating a Cloud system in one hour using Google DOCS spreadsheets
 
Heuristic Test Strategy Model For "Soda Co"
Heuristic Test Strategy Model For "Soda Co"Heuristic Test Strategy Model For "Soda Co"
Heuristic Test Strategy Model For "Soda Co"
 
DQ Product Usage Methodology Highlights_v6_ltd
DQ Product Usage Methodology Highlights_v6_ltdDQ Product Usage Methodology Highlights_v6_ltd
DQ Product Usage Methodology Highlights_v6_ltd
 
TAG Presents: NetSuite SuiteFlow 101
TAG Presents: NetSuite SuiteFlow 101 TAG Presents: NetSuite SuiteFlow 101
TAG Presents: NetSuite SuiteFlow 101
 
ScaleFast Grid And Flow
ScaleFast Grid And FlowScaleFast Grid And Flow
ScaleFast Grid And Flow
 
Automate business processes using SharePoint Designer Workflows
Automate business processes using SharePoint Designer WorkflowsAutomate business processes using SharePoint Designer Workflows
Automate business processes using SharePoint Designer Workflows
 
Enterprise Orchestration at UT (via Stonebranch) FINAL VERSION v3
Enterprise Orchestration at UT (via Stonebranch) FINAL VERSION v3Enterprise Orchestration at UT (via Stonebranch) FINAL VERSION v3
Enterprise Orchestration at UT (via Stonebranch) FINAL VERSION v3
 
System design
System designSystem design
System design
 
Process Improvement through SharePoint Workflows. Connect the Click Points. G...
Process Improvement through SharePoint Workflows. Connect the Click Points. G...Process Improvement through SharePoint Workflows. Connect the Click Points. G...
Process Improvement through SharePoint Workflows. Connect the Click Points. G...
 
Serena Release Management approach and solutions
Serena Release Management approach and solutionsSerena Release Management approach and solutions
Serena Release Management approach and solutions
 
DMM9 - Data Migration Testing
DMM9 - Data Migration TestingDMM9 - Data Migration Testing
DMM9 - Data Migration Testing
 
Introduction to Stream Processing
Introduction to Stream ProcessingIntroduction to Stream Processing
Introduction to Stream Processing
 
20171019 data migration (rk)
20171019 data migration (rk)20171019 data migration (rk)
20171019 data migration (rk)
 
Chapter 1,2,3,4 notes
Chapter 1,2,3,4 notesChapter 1,2,3,4 notes
Chapter 1,2,3,4 notes
 
Building Your First Digital File Submission
Building Your First Digital File Submission Building Your First Digital File Submission
Building Your First Digital File Submission
 
Performing successful migrations to the microsoft cloud
Performing successful migrations to the microsoft cloudPerforming successful migrations to the microsoft cloud
Performing successful migrations to the microsoft cloud
 
UiPath Community Meetup ServiceNow + mainframe and legacy
UiPath Community Meetup ServiceNow + mainframe and legacy UiPath Community Meetup ServiceNow + mainframe and legacy
UiPath Community Meetup ServiceNow + mainframe and legacy
 
Step by-step-lsmw-tutorial-101208040548-phpapp02
Step by-step-lsmw-tutorial-101208040548-phpapp02Step by-step-lsmw-tutorial-101208040548-phpapp02
Step by-step-lsmw-tutorial-101208040548-phpapp02
 
Datastage Introduction To Data Warehousing
Datastage Introduction To Data WarehousingDatastage Introduction To Data Warehousing
Datastage Introduction To Data Warehousing
 

Más de 112Motion

112Motion.com solutions overview
112Motion.com solutions overview112Motion.com solutions overview
112Motion.com solutions overview
112Motion
 

Más de 112Motion (20)

112Motion.com solutions overview
112Motion.com solutions overview112Motion.com solutions overview
112Motion.com solutions overview
 
Harmony concepts and design guide
Harmony concepts and design guideHarmony concepts and design guide
Harmony concepts and design guide
 
D3 data driven development in practice - the AirPortal for Schiphol and Tra...
D3   data driven development in practice - the AirPortal for Schiphol and Tra...D3   data driven development in practice - the AirPortal for Schiphol and Tra...
D3 data driven development in practice - the AirPortal for Schiphol and Tra...
 
Fraud Detector - The easy-to-customize, high ROI, IT solution for detecting ...
Fraud Detector - The easy-to-customize, high ROI,  IT solution for detecting ...Fraud Detector - The easy-to-customize, high ROI,  IT solution for detecting ...
Fraud Detector - The easy-to-customize, high ROI, IT solution for detecting ...
 
Harmony concepts and design guide v0.2
Harmony concepts and design guide v0.2Harmony concepts and design guide v0.2
Harmony concepts and design guide v0.2
 
Create, sign and share documents online using Google DOCS
Create, sign and share documents online using Google DOCSCreate, sign and share documents online using Google DOCS
Create, sign and share documents online using Google DOCS
 
Decision model and notation (DMN standard explained. A worked example by Nick...
Decision model and notation (DMN standard explained. A worked example by Nick...Decision model and notation (DMN standard explained. A worked example by Nick...
Decision model and notation (DMN standard explained. A worked example by Nick...
 
Product based design of business processes. Applied within Financial Services
Product based design of business processes. Applied within  Financial ServicesProduct based design of business processes. Applied within  Financial Services
Product based design of business processes. Applied within Financial Services
 
Harmony: what is it, how does it work, best practices. Integration features, ...
Harmony: what is it, how does it work, best practices. Integration features, ...Harmony: what is it, how does it work, best practices. Integration features, ...
Harmony: what is it, how does it work, best practices. Integration features, ...
 
RulesSpeak: Het opstellen van bedrijfsregels in begrijpelijk Nederlands
RulesSpeak: Het opstellen van bedrijfsregels in begrijpelijk NederlandsRulesSpeak: Het opstellen van bedrijfsregels in begrijpelijk Nederlands
RulesSpeak: Het opstellen van bedrijfsregels in begrijpelijk Nederlands
 
Release description harmony matrix order entry
Release description harmony matrix order entryRelease description harmony matrix order entry
Release description harmony matrix order entry
 
Harmony = you can develop IT. This overview describes features, & shows how ...
Harmony =  you can develop IT. This overview describes features, & shows how ...Harmony =  you can develop IT. This overview describes features, & shows how ...
Harmony = you can develop IT. This overview describes features, & shows how ...
 
Harmony API developers documentation (version 2.2)
Harmony API developers documentation (version 2.2)Harmony API developers documentation (version 2.2)
Harmony API developers documentation (version 2.2)
 
Harmony new release 3.0: Relationship Kernel, Google, Webydo, Web forms, Mult...
Harmony new release 3.0: Relationship Kernel, Google, Webydo, Web forms, Mult...Harmony new release 3.0: Relationship Kernel, Google, Webydo, Web forms, Mult...
Harmony new release 3.0: Relationship Kernel, Google, Webydo, Web forms, Mult...
 
Gemeente loket WMO process aanvraag voorbeeld
Gemeente loket WMO process aanvraag voorbeeldGemeente loket WMO process aanvraag voorbeeld
Gemeente loket WMO process aanvraag voorbeeld
 
Modernize your AS400 - the future proof, low cost solution.
Modernize your AS400 - the future proof, low cost solution.Modernize your AS400 - the future proof, low cost solution.
Modernize your AS400 - the future proof, low cost solution.
 
AS400 webservices - the adapter create cloud apps in a couple of days
AS400 webservices - the adapter create cloud apps in a couple of daysAS400 webservices - the adapter create cloud apps in a couple of days
AS400 webservices - the adapter create cloud apps in a couple of days
 
Harmony release overview 1.0 - 2.0
Harmony release overview 1.0 - 2.0 Harmony release overview 1.0 - 2.0
Harmony release overview 1.0 - 2.0
 
Online sales: Select product, create quote, accept and ship (from warehouse)....
Online sales: Select product, create quote, accept and ship (from warehouse)....Online sales: Select product, create quote, accept and ship (from warehouse)....
Online sales: Select product, create quote, accept and ship (from warehouse)....
 
Tourism and hospitality: Create an online accommodation booking process
Tourism and hospitality: Create an online accommodation booking processTourism and hospitality: Create an online accommodation booking process
Tourism and hospitality: Create an online accommodation booking process
 

Último

Último (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

Lucidchart an event driven approach for generating a (workflow) applications

  • 1. Lucid chart & Harmony Generate a (workflow) application from a flowchart & Introducing event driven modeling
  • 2. Disclaimer • The scope of this presentation is limited to flowcharts. BPMN was introduced to standardise process modelling and, whilst it built on 'standard' flowcharting shapes, its palette and semantics go far beyond the range of flowcharting to really describe how proper processes actually work (ref: NickBroom - expert on BPMN)
  • 3. About Lucid chart & Harmony • LucidChart is great for diagramming: – – – – But flowcharts can be complicated and confusing Flowcharts don’t deal well with data Flowcharts should be avoided for detailed processes Flowcharts can’t be “executed” / tested • The model must be verified manually • Harmony is great for creating, worfkflow, applications: – But creating a large system for a complex process without a graphical model can be cumbersome – Top notch support for decision tables – Joining process + data – Agile / prototyped development generate • Focus on validating the process (Prototype) change check
  • 4. What is event-driven modeling? • A technique in which events depend on each other to the least extent practicable • the focus must be for each event to produce a clearly defined outcome (result); • Such an outcome can be a pre-condition for an(other) event. • Events are triggered ( “act”) when the condition is met. • Each event represents an autonomous task / work package • thus simplifying modeling … analysts/power users don’t have to worry .. • if I do this - then this must have been done or • if I do this - then I also must do this, and this, and ….
  • 5. Why event-driven? • Event-driven technique leads to “loosely coupled systems/applications” • “loosely coupled systems/applications” provide enormous flexibility • Samples of event driven processes • Customer has accepted order [terms] [external trigger] • Stock for product A is less than 10 [number threshold] • Cancelation period has passed [time threshold] • Samples of event driven applications • email address exists ? Prompt contact details • Customer age < 16? prompt parent authorization required • Customer has not reacted during cancelation period ? (ship) ordered product
  • 6. Demonstration goals • We model the process in Lucidchart – Use a standard (pre-defined) sequence – Showcase an event driven “flow”chart • Harmony uses flowchart to generate the system – We use the generated system to verify the modeled process (the sequence, aka workflow ) • We then enrich the application: decision – Replace with a decision table – Add files / data to match “real” world process – Add authorization / access • Verify the system ( (workflow / process) • Validate the system with users generate change check
  • 7. Event driven = loosely coupled system • events depend on each other to the least extent practicable • avoid a pre-defined sequence: • when step1 is done do step2, • when step2 is done do step3 • event driven processes – define processes using conditions such as • Customer accepts order [=yes] [external trigger] • product stock less than 10 [number threshold] • Cancelation period more than 3 days [time threshold] • event driven applications • email address exists ? Prompt contact details • Customer age < 16? prompt parent authorization required • Customer has not reacted during cancelation period ? (ship) ordered product
  • 8. Demonstration goals • We model the process in LucidChart – Use a standard (pre-defined) sequence – Show case an event driven “flow”chart • Harmony uses flowchart to generate the system – We use the generated system to verify the modeled process (the sequence, aka workflow ) • We then enrich the application: – Replace decision with a decision table – Add files / data – which trigger the process – Add authorization / access • Verify the system (workflow / process) generate change check
  • 9. What we’ll do • Model our process using 4 LucidChart pages: – Process decomposition • (Not our favourite ; so don’t spend too much time verifying this ) – “Standard” fLowchart • Process flow + datastores (files) + decisions – “domain” model for customer service processes – Event driven flows (process steps) • Log on to Harmony instance – Import the diagram & generate app (takes 30 -60 seconds) – Verify the process - log on to the Harmony app • Data drives the process – checking decision support outcomes – Change our application - log on to Google DOCS • Insert a Decision Table • Generate the app generate – Verify the process change check
  • 10. Bridging the GAP between analysis, design & app development LUCID CHART & HARMONY
  • 11. (1) Traditional process decomposition Tourism – book an accommodation
  • 12. (2) The traditional flowchart • Extract of the flowchart – the selection/booking process
  • 13. (3) Event driven process Customer service domain • Customer/booker requests extra (non-available) rooms • The request is processed by the customer service department
  • 14. (4) event driven analysis • After generating the application – We’ll modify the app and add a decision table which determines which visitors from foreign countries need an ID
  • 15. (4) event driven analysis • After generating the application – Add the decision table which determines which visitors need an ID
  • 17. Run the app • All [Lucidchart] processes are created in our app. – Including the sequence • Pre-defined • Event driven (depending on data values) • Run the app: https://www.liquidsequence.net/latest/ • Note on authorization • All events (process steps) are visible when logging on using “Administrator” role
  • 18. Start workflow: step 0 • The flowchart step-0 • is translated into a Harmony app step • Harmony’s built-in decision management shows next step
  • 19. Enter data: firing events • We’ve modeled the step as “standalone” – Not directly linked to other processes – Instead the step is conditioned by “data”” • Enter data – Step (event) fired
  • 20. Model vs application • The flowchart is complex to verify • Application is easy to verify – Decisions are clear – Simulate by entering any data
  • 21. Test variances • We set value to Yes • New event is fired
  • 22. Add a decision table • the generated app contains a file – A file is one-dimensional • we will replace the file by a DT – a standard 2-dimensional decision table • What do we need to do? – – – – delete the datasheet (the file) import or create the DT upload the configuration (after 30 secs the new version is ready: run the app)
  • 23. The 2-dimensional decision table For any found combination (like UK, FR) 4 outcomes are generated: brand name, website URL, id required, price multiplier For samples: http://www.liquidsequence.com/Decision-Table-samples.html
  • 24. Sample of an event/sensor driven The DMN lending application (Decistion Table implementaion) ZERO CODING Click here to view the case
  • 25. Outcomes of 3 decision tables (1/3) are input for DT # 4 Click on image to view original (LucidChart) diagram online
  • 26. We create a dialog(2/3) in order to provide input • One rule: – Ensure that dialog items are match the inputs to the decision tables
  • 27. And this is the [Harmony] result ! (2hours work (tops)) • Access the app
  • 28. Useful links • Run the demo – https://www.liquidsequence.net/demo2/ – Creating a system support the product sales process – http://www.slideshare.net/LiquidSequence/online-sales-application-selectproduct-create-quote-accept-and-ship-from-warehouse • Lucidchart – Online diagram (process model) – (same) PDF • Decision tables – samples – TableSpeak – Decision modeling Lending sample

Notas del editor

  1. DT sample added (eventdriven) Nanno 17 Jan 2014
  2. Nick Broom