SlideShare a Scribd company logo
1 of 8
MIWG – Semantic Interchange Validation

                    Bruce Silver
      Bruce Silver Associates/BPMessentials
                   Feb 20, 2013



                   © Bruce Silver Associates 2013
                In cooperation with itp commerce ltd.
What is the Goal?
   Model interchange
        Starting from a reference diagram (plus possibly invisible semantic info, e.g. process/@name?)...
           •   Create the diagram in tool A
           •   Export BPMN xml from tool A
           •   Import xml into tool B
        How do we define success?
           •   Tool B model is semantically equivalent?
                     E.g. hierarchical vs inline subprocess expansion
                     Conditional sequence flow vs equivalent gateway
                     AND split gateway vs multiple outgoing sequence flows
           •   Tool B model is semantically identical?
                     Preserve IDs, element/attribute values exactly?
           •   Graphical equivalence – not my main concern here
        All tools have limitations
           •   Don’t support all BPMN elements, attributes, and patterns
           •   Don’t support all character sets, e.g. Unicode
           •   Specific graphics libraries, e.g. fixed size of graphic elements
           •   ID values
           •   Default element/attribute values where unspecified in the diagram
           •   How diagram labels generate semantic values (and vice versa)
        … so to facilitate interchange, MIWG export rules must impose additional constraints beyond what
         is allowed by the spec

                                              © Bruce Silver Associates 2013
                                           In cooperation with itp commerce ltd.
The Serialization (Export) Problem
   Certain serializations are allowed or required by the spec
        … but need more than XSD and EMF to validate against the spec
           •   Metamodel and XSD don’t always agree
           •   Narrative text and tables may not agree with either one
           •   The spec is vague on some points
           •   There are also bugs
        We need to agree on the serialization rules for BPMN…
           •   Definitely allowed by the spec (consensus),
           •   Definitely not allowed by the spec (consensus), or
           •   In dispute (reasonable people may disagree, spec is vague or contradictory)
        … and agree on the additional MIWG constraints
           •   What elements and attributes are allowed in the export?
           •   Additional validation rules
        Once we agree on the rules, tools can validate against them




                                           © Bruce Silver Associates 2013
                                        In cooperation with itp commerce ltd.
Validating the Export
   Since the input is XML
    and the output is a
    report, XSLT works well
http://www.webratio.com/bpmnValidation




                                            © Bruce Silver Associates 2013
                                         In cooperation with itp commerce ltd.
A VERY simple model




 Serialization of the sequenceFlow no
      @name=‘no’ ?
        •   we probably all agree
      Child conditionExpression?
        • I think so but others may not
        • What is the proper value?
                 no
                 OK=‘no’
                 Other?




                                       © Bruce Silver Associates 2013
                                    In cooperation with itp commerce ltd.
A slight variation




 Serialization of the sequenceFlow no
      Is this allowed?
        •   In my tool, gives “style error” if default flow has a label
      @name=‘no’ ?
        •   I think so, but others might disagree
      Child conditionExpression?
        • I think not, but others might disagree
        • What is the proper value?
                  [no element]
                  no
                  OK=‘no’
                  otherwise
                  OK=‘otherwise’



                                        © Bruce Silver Associates 2013
                                     In cooperation with itp commerce ltd.
Other thorny issues
   How many participant elements in this model?
        What are their names?
        What is the name of the process?




   Can a child-level page (bpmndi:BPMNPlane/@bpmnRef points to a subprocess)
    contain flowNode of another process?
        I think a structure error, but others may disagree
   Data flow: where should data associations be allowed/disallowed?
   Many many more…

                                       © Bruce Silver Associates 2013
                                    In cooperation with itp commerce ltd.
The Import Problem
 How much of the export must be preserved exactly on import?
     Versus converted to semantic equivalent?
     What elements/attributes can be ignored?
     Upon further editing in Tool B, how much consistency with Tool A export?
     Upon re-export from Tool B, to what extent can element/attribute values be
      changed?


 This seems much harder problem
     Harder to define the rules
     Harder to validate automatically




                                 © Bruce Silver Associates 2013
                              In cooperation with itp commerce ltd.

More Related Content

Viewers also liked

Which BPMS Is Right For You?
Which BPMS Is Right For You?Which BPMS Is Right For You?
Which BPMS Is Right For You?brsilver
 
Social media marketing
Social media marketingSocial media marketing
Social media marketingNanne Migchels
 
Customer Co Creation Studiereis Stockholm
Customer Co Creation Studiereis StockholmCustomer Co Creation Studiereis Stockholm
Customer Co Creation Studiereis StockholmNanne Migchels
 
Presentation Hmathia
Presentation HmathiaPresentation Hmathia
Presentation Hmathiaguest1da379
 
Workpads in middlespot
Workpads in middlespotWorkpads in middlespot
Workpads in middlespotScott Brownlee
 
The Middlespot User Interface
The Middlespot User InterfaceThe Middlespot User Interface
The Middlespot User InterfaceScott Brownlee
 
Fix the retail business model
Fix the retail business model  Fix the retail business model
Fix the retail business model Nanne Migchels
 
Strategische Intelligentie
Strategische IntelligentieStrategische Intelligentie
Strategische IntelligentieNanne Migchels
 
2013 eyon margekillers
2013 eyon margekillers2013 eyon margekillers
2013 eyon margekillersNanne Migchels
 
Presentation Kethi 2
Presentation Kethi 2Presentation Kethi 2
Presentation Kethi 2guest1da379
 
Marketing Internacional Fnac
Marketing Internacional FnacMarketing Internacional Fnac
Marketing Internacional FnacFrancisco Coelho
 

Viewers also liked (13)

Start-up marketing
Start-up marketingStart-up marketing
Start-up marketing
 
Which BPMS Is Right For You?
Which BPMS Is Right For You?Which BPMS Is Right For You?
Which BPMS Is Right For You?
 
Social media marketing
Social media marketingSocial media marketing
Social media marketing
 
Customer Co Creation Studiereis Stockholm
Customer Co Creation Studiereis StockholmCustomer Co Creation Studiereis Stockholm
Customer Co Creation Studiereis Stockholm
 
Presentation Hmathia
Presentation HmathiaPresentation Hmathia
Presentation Hmathia
 
Workpads in middlespot
Workpads in middlespotWorkpads in middlespot
Workpads in middlespot
 
The Middlespot User Interface
The Middlespot User InterfaceThe Middlespot User Interface
The Middlespot User Interface
 
Fix the retail business model
Fix the retail business model  Fix the retail business model
Fix the retail business model
 
Strategische Intelligentie
Strategische IntelligentieStrategische Intelligentie
Strategische Intelligentie
 
2013 eyon margekillers
2013 eyon margekillers2013 eyon margekillers
2013 eyon margekillers
 
Image management 2011
Image management 2011Image management 2011
Image management 2011
 
Presentation Kethi 2
Presentation Kethi 2Presentation Kethi 2
Presentation Kethi 2
 
Marketing Internacional Fnac
Marketing Internacional FnacMarketing Internacional Fnac
Marketing Internacional Fnac
 

Similar to Miwg semantic interchange validation

Approaching ATDD/BDD
Approaching ATDD/BDDApproaching ATDD/BDD
Approaching ATDD/BDDDhaval Dalal
 
Testable Requirements
Testable Requirements Testable Requirements
Testable Requirements Bharti Rupani
 
DevOps - Agile on Steroids by Tom Clement Oketch and Augustine Kisitu
DevOps - Agile on Steroids by Tom Clement Oketch and Augustine KisituDevOps - Agile on Steroids by Tom Clement Oketch and Augustine Kisitu
DevOps - Agile on Steroids by Tom Clement Oketch and Augustine KisituThoughtworks
 
How Custom is your Org? CEER at Dreamforce 2019
How Custom is your Org?  CEER at Dreamforce 2019How Custom is your Org?  CEER at Dreamforce 2019
How Custom is your Org? CEER at Dreamforce 2019Steven Herod
 
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...Scrum Bangalore
 
How to Scale and Grow your Enterprise Technical SEO Strategy
How to Scale and Grow your Enterprise Technical SEO StrategyHow to Scale and Grow your Enterprise Technical SEO Strategy
How to Scale and Grow your Enterprise Technical SEO StrategySearch Engine Journal
 
CIS14: Authentication: Who are You? You are What You Eat
CIS14: Authentication: Who are You? You are What You EatCIS14: Authentication: Who are You? You are What You Eat
CIS14: Authentication: Who are You? You are What You EatCloudIDSummit
 
CIS14: Authentication: Who are You? You are What You Eat
CIS14: Authentication: Who are You? You are What You EatCIS14: Authentication: Who are You? You are What You Eat
CIS14: Authentication: Who are You? You are What You EatCloudIDSummit
 
Bdd masterclass
Bdd masterclassBdd masterclass
Bdd masterclassMagenTys
 
Microsoft Analysis Services July 2010
Microsoft Analysis Services July 2010Microsoft Analysis Services July 2010
Microsoft Analysis Services July 2010Mark Ginnebaugh
 
Mastering BDD - Eran Kinsbruner Workshop Quest 2018
Mastering BDD - Eran Kinsbruner Workshop Quest 2018Mastering BDD - Eran Kinsbruner Workshop Quest 2018
Mastering BDD - Eran Kinsbruner Workshop Quest 2018Perfecto Mobile
 
Conversion Confererence - B2B Landing Pages - FutureNow & Ion Interactive
Conversion Confererence - B2B Landing Pages - FutureNow & Ion InteractiveConversion Confererence - B2B Landing Pages - FutureNow & Ion Interactive
Conversion Confererence - B2B Landing Pages - FutureNow & Ion InteractiveHoward Kaplan
 
Intercompany Bridge for Dynamics GP
Intercompany Bridge for Dynamics GPIntercompany Bridge for Dynamics GP
Intercompany Bridge for Dynamics GPAidan McCrea
 
[Confoo Montreal 2020] From Grief to Growth: The 7 Stages of Observability - ...
[Confoo Montreal 2020] From Grief to Growth: The 7 Stages of Observability - ...[Confoo Montreal 2020] From Grief to Growth: The 7 Stages of Observability - ...
[Confoo Montreal 2020] From Grief to Growth: The 7 Stages of Observability - ...Ambassador Labs
 
Birst Webinar Slides: "Build vs. Buy - Making the Right Choice for a Great Da...
Birst Webinar Slides: "Build vs. Buy - Making the Right Choice for a Great Da...Birst Webinar Slides: "Build vs. Buy - Making the Right Choice for a Great Da...
Birst Webinar Slides: "Build vs. Buy - Making the Right Choice for a Great Da...Birst
 
Modeling Requirements Narrated2
Modeling Requirements Narrated2Modeling Requirements Narrated2
Modeling Requirements Narrated2Daniel Brookshier
 

Similar to Miwg semantic interchange validation (20)

Approaching ATDD/BDD
Approaching ATDD/BDDApproaching ATDD/BDD
Approaching ATDD/BDD
 
User Story
User StoryUser Story
User Story
 
Testable requirements
Testable requirementsTestable requirements
Testable requirements
 
Testable Requirements
Testable Requirements Testable Requirements
Testable Requirements
 
DevOps - Agile on Steroids by Tom Clement Oketch and Augustine Kisitu
DevOps - Agile on Steroids by Tom Clement Oketch and Augustine KisituDevOps - Agile on Steroids by Tom Clement Oketch and Augustine Kisitu
DevOps - Agile on Steroids by Tom Clement Oketch and Augustine Kisitu
 
How Custom is your Org? CEER at Dreamforce 2019
How Custom is your Org?  CEER at Dreamforce 2019How Custom is your Org?  CEER at Dreamforce 2019
How Custom is your Org? CEER at Dreamforce 2019
 
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
Scrum Bangalore 13th meet up 13 june 2015 - behaviour driven development - vi...
 
How to Scale and Grow your Enterprise Technical SEO Strategy
How to Scale and Grow your Enterprise Technical SEO StrategyHow to Scale and Grow your Enterprise Technical SEO Strategy
How to Scale and Grow your Enterprise Technical SEO Strategy
 
CIS14: Authentication: Who are You? You are What You Eat
CIS14: Authentication: Who are You? You are What You EatCIS14: Authentication: Who are You? You are What You Eat
CIS14: Authentication: Who are You? You are What You Eat
 
CIS14: Authentication: Who are You? You are What You Eat
CIS14: Authentication: Who are You? You are What You EatCIS14: Authentication: Who are You? You are What You Eat
CIS14: Authentication: Who are You? You are What You Eat
 
Bdd masterclass
Bdd masterclassBdd masterclass
Bdd masterclass
 
Microsoft Analysis Services July 2010
Microsoft Analysis Services July 2010Microsoft Analysis Services July 2010
Microsoft Analysis Services July 2010
 
Mastering BDD - Eran Kinsbruner Workshop Quest 2018
Mastering BDD - Eran Kinsbruner Workshop Quest 2018Mastering BDD - Eran Kinsbruner Workshop Quest 2018
Mastering BDD - Eran Kinsbruner Workshop Quest 2018
 
Conversion Confererence - B2B Landing Pages - FutureNow & Ion Interactive
Conversion Confererence - B2B Landing Pages - FutureNow & Ion InteractiveConversion Confererence - B2B Landing Pages - FutureNow & Ion Interactive
Conversion Confererence - B2B Landing Pages - FutureNow & Ion Interactive
 
Intercompany Bridge for Dynamics GP
Intercompany Bridge for Dynamics GPIntercompany Bridge for Dynamics GP
Intercompany Bridge for Dynamics GP
 
Demystifying ML/AI
Demystifying ML/AIDemystifying ML/AI
Demystifying ML/AI
 
[Confoo Montreal 2020] From Grief to Growth: The 7 Stages of Observability - ...
[Confoo Montreal 2020] From Grief to Growth: The 7 Stages of Observability - ...[Confoo Montreal 2020] From Grief to Growth: The 7 Stages of Observability - ...
[Confoo Montreal 2020] From Grief to Growth: The 7 Stages of Observability - ...
 
Birst Webinar Slides: "Build vs. Buy - Making the Right Choice for a Great Da...
Birst Webinar Slides: "Build vs. Buy - Making the Right Choice for a Great Da...Birst Webinar Slides: "Build vs. Buy - Making the Right Choice for a Great Da...
Birst Webinar Slides: "Build vs. Buy - Making the Right Choice for a Great Da...
 
DevOps Challenges and Mitigation
DevOps Challenges and MitigationDevOps Challenges and Mitigation
DevOps Challenges and Mitigation
 
Modeling Requirements Narrated2
Modeling Requirements Narrated2Modeling Requirements Narrated2
Modeling Requirements Narrated2
 

Miwg semantic interchange validation

  • 1. MIWG – Semantic Interchange Validation Bruce Silver Bruce Silver Associates/BPMessentials Feb 20, 2013 © Bruce Silver Associates 2013 In cooperation with itp commerce ltd.
  • 2. What is the Goal?  Model interchange  Starting from a reference diagram (plus possibly invisible semantic info, e.g. process/@name?)... • Create the diagram in tool A • Export BPMN xml from tool A • Import xml into tool B  How do we define success? • Tool B model is semantically equivalent?  E.g. hierarchical vs inline subprocess expansion  Conditional sequence flow vs equivalent gateway  AND split gateway vs multiple outgoing sequence flows • Tool B model is semantically identical?  Preserve IDs, element/attribute values exactly? • Graphical equivalence – not my main concern here  All tools have limitations • Don’t support all BPMN elements, attributes, and patterns • Don’t support all character sets, e.g. Unicode • Specific graphics libraries, e.g. fixed size of graphic elements • ID values • Default element/attribute values where unspecified in the diagram • How diagram labels generate semantic values (and vice versa)  … so to facilitate interchange, MIWG export rules must impose additional constraints beyond what is allowed by the spec © Bruce Silver Associates 2013 In cooperation with itp commerce ltd.
  • 3. The Serialization (Export) Problem  Certain serializations are allowed or required by the spec  … but need more than XSD and EMF to validate against the spec • Metamodel and XSD don’t always agree • Narrative text and tables may not agree with either one • The spec is vague on some points • There are also bugs  We need to agree on the serialization rules for BPMN… • Definitely allowed by the spec (consensus), • Definitely not allowed by the spec (consensus), or • In dispute (reasonable people may disagree, spec is vague or contradictory)  … and agree on the additional MIWG constraints • What elements and attributes are allowed in the export? • Additional validation rules  Once we agree on the rules, tools can validate against them © Bruce Silver Associates 2013 In cooperation with itp commerce ltd.
  • 4. Validating the Export  Since the input is XML and the output is a report, XSLT works well http://www.webratio.com/bpmnValidation © Bruce Silver Associates 2013 In cooperation with itp commerce ltd.
  • 5. A VERY simple model  Serialization of the sequenceFlow no  @name=‘no’ ? • we probably all agree  Child conditionExpression? • I think so but others may not • What is the proper value?  no  OK=‘no’  Other? © Bruce Silver Associates 2013 In cooperation with itp commerce ltd.
  • 6. A slight variation  Serialization of the sequenceFlow no  Is this allowed? • In my tool, gives “style error” if default flow has a label  @name=‘no’ ? • I think so, but others might disagree  Child conditionExpression? • I think not, but others might disagree • What is the proper value?  [no element]  no  OK=‘no’  otherwise  OK=‘otherwise’ © Bruce Silver Associates 2013 In cooperation with itp commerce ltd.
  • 7. Other thorny issues  How many participant elements in this model?  What are their names?  What is the name of the process?  Can a child-level page (bpmndi:BPMNPlane/@bpmnRef points to a subprocess) contain flowNode of another process?  I think a structure error, but others may disagree  Data flow: where should data associations be allowed/disallowed?  Many many more… © Bruce Silver Associates 2013 In cooperation with itp commerce ltd.
  • 8. The Import Problem  How much of the export must be preserved exactly on import?  Versus converted to semantic equivalent?  What elements/attributes can be ignored?  Upon further editing in Tool B, how much consistency with Tool A export?  Upon re-export from Tool B, to what extent can element/attribute values be changed?  This seems much harder problem  Harder to define the rules  Harder to validate automatically © Bruce Silver Associates 2013 In cooperation with itp commerce ltd.