visually modelling business processes

46
Copyright OASIS, 2004 Presenter [email protected] Chair OASIS CAM TC Presentation November 17 th XML 2004 Washington DC Visually Modelling Visually Modelling Business Processes Business Processes

Upload: timothy212

Post on 28-Nov-2014

569 views

Category:

Documents


5 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Visually Modelling Business Processes

Copyright OASIS, 2004

[email protected] OASIS CAM TC

Presentation November 17th

XML 2004 Washington DC

Visually Modelling Visually Modelling Business ProcessesBusiness Processes

Page 2: Visually Modelling Business Processes

Copyright OASIS, 2004

ebXML BPSS – mission profile Ability to create sharable industry process definitions

Neutral approach not tied to specific middleware or

transport systems

Suitable for business analyst designers

Support internationally agreed business process

definitions and methods

Provide the process details to instruct implementation

systems

Support a variety of modelling methodologies

Page 3: Visually Modelling Business Processes

Copyright OASIS, 2004

ebXML BPSS in a nutshell BPSS schema defines components used to define the

process models

Original foundation derived from UML techniques and theoretical base

Support for workflow as well as activity diagramming

Foundation around business transaction definitions and interchanges

Layered approach using a Business Service Interface (BSI) to link to deployment environments

Binary-collaboration and Multi-party exchanges

Support for context and variables linkage

Page 4: Visually Modelling Business Processes

Copyright OASIS, 2004

Agenda Part 1 – How BPSS fits into a Service Oriented Architecture

Components and Needs Overview

Part 2 – Building a BPSS – (binary collaboration) Documents / Transactions; Transport layer coupling

Applying Context; Modelling the process flow

Part 3 – Implementation Considerations Supporting versioning and tool integration

Targetting deployment engines; Sharing Models

Summary

Page 5: Visually Modelling Business Processes

Copyright OASIS, 2004

components and needs overview

Part 1 – How BPSS fits into a Part 1 – How BPSS fits into a

Service Oriented ArchitectureService Oriented Architecture

Page 6: Visually Modelling Business Processes

Copyright OASIS, 2004

Business Agreement Participant Profiles Collaboration Roles and Interaction Management Industry Domain and Business Semantics Managing Participant Context Information Exchange Process Flow and business service linkage Exception handling, signals, and state conditions Application Integration / Information Purposing

Overall Needs for Business Process

Page 7: Visually Modelling Business Processes

Copyright OASIS, 2004

BPSS key to eBusiness SOA SOA

provides technology foundation and open interchange model and specifications

BPSS formalizes this with business process control captures the business exchange details provides business agreement model for participants provides facilitation for components in the SOA XML template script sharable across an industry domain context driven enables localization of standard models

Page 8: Visually Modelling Business Processes

Copyright OASIS, 2004

ebXML Solution Architecture

Capture Process Details withParticipant Roles / Contextand Message ExchangingDefinitions

Reference – Domain Ontology and

Semantic Information

Reference - Domain Transactions +

Business Process Models

References

Business AgreementTemplates

1111

Messaging System

Drives

Messaging System

Partner A Partner B

Exchanges 2222

Enveloping + RoutingTransactions + Validation

Handles

Queue Integration Agent

Controlled by3333

Processes – state management,

linking and switching

Integration – application system interactions

Manages4444BPSS + Workflow – Models of Interaction

Service / Actions

CAM XML templates – Business Exchange Formats and Rules

CPA – Exchange Agreements

Produces

Page 9: Visually Modelling Business Processes

Copyright OASIS, 2004

ebXML SOA component options

Business agreement

Drives documentexchanges

Participant Profiles

Do

main

Sem

antics

Information Purposing

Info

rmatio

n

Exch

ang

e

Page 10: Visually Modelling Business Processes

Copyright OASIS, 2004

ebXML CPA / BPSS functions

ebXML BP identifies Business processes

including multi-party, multi-step exchanges

Roles an organization must play

Business transactions Messages being exchanged Context variables Business rules of edge

conditions Transaction handling

services Error handling

ebXML CPA provides: Service name and parameters Endpoint for invocation Role of an organization in the context

of a service Organization demographic information Failure scenarios Business process scenario and

business transaction activity step Link to partner responsibilities Transaction Messages being

exchanged Transport level QOS parameters Certificate and Encryption

configuration Business status of agreement

Page 11: Visually Modelling Business Processes

Copyright OASIS, 2004

Binary Collaboration Documents / Transactions Transport layer coupling Applying Context Modelling the process flow

Download example model from:http://visualscripts.net/#ebxml

Part 2 – Building a BPSSPart 2 – Building a BPSS

Page 12: Visually Modelling Business Processes

Copyright OASIS, 2004

What do I need to do? Application – define the business purpose Business interchanges + documents – itemize Collaborations, Content, Context – collect Document exchanges – paint activity picture Exceptions – succeed / fail / signal conditions Flow control – branching and choices Go! – agree with your partners and distribute

Page 13: Visually Modelling Business Processes

Copyright OASIS, 2004

Application – define business purpose

Business analysis – scope, goals, participants Domain experts and users provide use cases Information flows Security needs Application integration needs Success criteria Deployment community – eGov, Industry, Financial.. Technology needs

Page 14: Visually Modelling Business Processes

Copyright OASIS, 2004

Business Transactions and Documents

Determine the exchanges involved in your business process

Label those transactions accordingly Link to a specification for the detail of the actual

document formats involved Determine success and failure criteria and how

these get notified Note any context parameters that might apply

from those business interchange details Select the transport profile model to use for each

exchange

Page 15: Visually Modelling Business Processes

Copyright OASIS, 2004

Building the BPSS model

SupplySupplyChainChain

SupplySupplyChainChain

GrantsGrantsApplicationApplication

GrantsGrantsApplicationApplication

Page 16: Visually Modelling Business Processes

Copyright OASIS, 2004

Action ch e ckBu ye rsC re d it

To Role b u ye r

Bu

yin

g A

ge

nt

Cre

dit

B

ure

au

S ucce ss R e sp o n d C re d itS ta tu s

condition

O K

Fa ilure cre d itS ta tu sUn kn o wn

condition in va lid

Pro

du

ce

r

Action R e q u e stPr ice Q u o te

To Role tra d in g se rv ice

Action R e q u e stPr ice Q u o te

To Role b u ye rM

ark

etp

lace

S ucce ss re sp o n d Price Q u o te s

condition

O K

Fa ilure n o Se lle rsR e sp o n d e d

condition in va lid

S ucce ss re sp o n d Price Q u o te

condition

O K

Action D ra wD o wn C re d it

To Role tra d in g se rv ice

Se

lle

r C

re

dit

S

erv

ice

Action Acce p tPr ice Q u o te

To Role tra d in g se rv ice

Action ig n o re Pr ice Q u o te

To Role tra d in g se rv ice

Action R e p le n ish C re d it

To Role tra d in g se rv ice

Se

lle

r C

re

dit

S

erv

ice

Win

nin

g P

ro

du

ce

rL

osin

g

Pro

du

ce

rs

Multiparty Model with BPSS V2

AutomotiveAutomotiveSupplychainSupplychainAutomotiveAutomotiveSupplychainSupplychain

FinancialFinancialMarketplaceMarketplace

FinancialFinancialMarketplaceMarketplace

Page 17: Visually Modelling Business Processes

Copyright OASIS, 2004

Step by Step Tutorial

This summarizes the actions in the live demonstration

Page 18: Visually Modelling Business Processes

Copyright OASIS, 2004

Build interchange details Create headers for each of your transaction exchanges

Page 19: Visually Modelling Business Processes

Copyright OASIS, 2004

Enter the document formats needed Create document definitions and select type of

identification Specify location of document rules, and rules type

Page 20: Visually Modelling Business Processes

Copyright OASIS, 2004

Add document links to transactions In Transactions area add initiating and responded documents

Initiate

Tran

saction

Pro

vide

Resp

on

ses

Page 21: Visually Modelling Business Processes

Copyright OASIS, 2004

Configure Fail / Succeed conditions BPSS provides set of default conditions that marry to

transport layer (ebMS) responses and outcomes

Page 22: Visually Modelling Business Processes

Copyright OASIS, 2004

Choose / Configure Signal conditions You can add a set of signals to your BPSS, these can be

used to indicated pending process steps and intermediate events

Page 23: Visually Modelling Business Processes

Copyright OASIS, 2004

Setup Business Exchange Profiles Convenient profiles – pre-configured with typical interchange

characteristics, and linked to the failure / success outcomes

Page 24: Visually Modelling Business Processes

Copyright OASIS, 2004

Summary – configuring Transactions Select behaviours from profiles, conditions and transport

needs

Co

nfig

ure E

xchan

ge D

etails

Page 25: Visually Modelling Business Processes

Copyright OASIS, 2004

Summary – covered so far

Application – define the business purpose

Business interchanges + documents – itemize

Collaborations, Content, Context – collect

Document exchanges – paint activity picture

Exceptions – succeed / fail / signal conditions

Flow control – branching and choices

Go! – agree with your partners and distribute

Page 26: Visually Modelling Business Processes

Copyright OASIS, 2004

How do we provide standard industry domain processes, but then be able to apply local criteria to those?

Collaborations, Content, ContextCollaborations, Content, Context

Page 27: Visually Modelling Business Processes

Copyright OASIS, 2004

Context is the pervasive driver to effective engineering Drives dynamic process configuring and control Ensures accurate information capture, packaging and

delivery Key to correct relationships between partners in a

collaboration

Lack of context control mechanisms is the most prominent reason why legacy e-Business systems are difficult and complex to extend and support

Date: circa 15681 : the parts of a discourse that surround a word or passage and can throw light on its meaning2 : the interrelated conditions in which something exists or occurs

Date: circa 15681 : the parts of a discourse that surround a word or passage and can throw light on its meaning2 : the interrelated conditions in which something exists or occurs

Understanding about Context

Page 28: Visually Modelling Business Processes

Copyright OASIS, 2004

Generating a Context Instance Add parameter value rules and document value rules

Check a document and change a BPSS Parameter value

Create a rule and set a value

Configure ContextInstance header

Page 29: Visually Modelling Business Processes

Copyright OASIS, 2004

Context Summary Context variables and values defined as needed Business Partners review and Agree to its terms

and outcomes Registry can provide storage for the artifacts

involved – business process script, XML context instance, CPA instance, CAM template – in a catalogue entry that therefore defines a reusable complete industry process package that can be context driven.

Page 30: Visually Modelling Business Processes

Copyright OASIS, 2004

Worked example – completing the BPSS template

Modelling the Process FlowModelling the Process Flow

Page 31: Visually Modelling Business Processes

Copyright OASIS, 2004

Summary of steps required So far we have defined the:

Transactions Documents Success / Fail criteria Transport exchange profiles Context parameters

Now we have to complete the picture by building the actual activity flow

Page 32: Visually Modelling Business Processes

Copyright OASIS, 2004

Start the Action Processes Add Start block and beginning Transaction action

Assign Transaction

Assign Roles to participants

Configure BPSS header

Page 33: Visually Modelling Business Processes

Copyright OASIS, 2004

Next add responding action details Responding block consists of success / fail actions

Select associated responding document

GroupPossible Responses

Configure outcomes and flow control

Transport layer returnsettings

Page 34: Visually Modelling Business Processes

Copyright OASIS, 2004

Decide next action details Request continues based on what responder does

Next action

Fork on outcome and pick next action (conditions gated by external “beginsWhen” events within Transaction definition)

ProcessCompletes

Page 35: Visually Modelling Business Processes

Copyright OASIS, 2004

The Complete Business Process from the model – VisualScript generates actual XML instructions

Page 36: Visually Modelling Business Processes

Copyright OASIS, 2004

Sharing ModelsSupporting Versioning and Tool integrationTargetting deployment engines

Download example model from:http://visualscripts.net/#ebxml

Part 3 – Part 3 –

Implementation ConsiderationsImplementation Considerations

Page 37: Visually Modelling Business Processes

Copyright OASIS, 2004

Sharing Models The BPSS models can be

shared in a variety of ways –

Save As : JPG, GIF, BMP, PNG, etc graphic

Generated to XML Published to web via a web

folder system Saved in Registry Can create library of pre-

built components for a community or industry

Page 38: Visually Modelling Business Processes

Copyright OASIS, 2004

Supporting Versioning and Tools The XML syntax used to generate the

BPSS model should be stored externally from the model itself

“include” instructions then retrieve the syntax when the model is generated

Then replacing the XML syntax files and regenerating the model automatically creates latest syntax, or a modified tool specific syntax

Page 39: Visually Modelling Business Processes

Copyright OASIS, 2004

Targetting Deployment Engines Whenever BPSS functional behaviour can be

simulated by equivalent syntax used by a deployment engine – that syntax can potentially be output from the BPSS model

The BPSS model and approach is neutral to the middleware layer

If the middleware layer is using ebMS transport this emulation is likely to be especially straightforward

Some limited integration to WSDL based steps also is available in BPSS V2

Page 40: Visually Modelling Business Processes

Copyright OASIS, 2004

Summary – covered so far

Business interchanges + documents – itemize

Collaborations, Content, Context – collect

Document exchanges – paint activity picture

Application – define the business purpose

Exceptions – success / fail conditions

Flow control – branching and choices

Go! – agree with your partners and distribute

Page 41: Visually Modelling Business Processes

Copyright OASIS, 2004

Resources and Planning

SummarySummary

Page 42: Visually Modelling Business Processes

Copyright OASIS, 2004

Providing Agile Information Systems

Ability to automatically configure business processing using neutral XML based scripting.

Lesson learned - three needs are paramount: the ability to design transactions and processes

consistently, the ability to document their usage in a clear way

and then the ability to instruct software that can apply rules

and test information context to dynamically manage those business processing exchanges

Page 43: Visually Modelling Business Processes

Copyright OASIS, 2004

Next Steps Work in progress:

Formal Publication of OASIS Specification V2 Library of BPSS templates by industry Integration with OASIS Registry semantics Integration with execution engines and ebMS Development of BPSS models involving

WSDL based exchanges and services

Page 44: Visually Modelling Business Processes

Copyright OASIS, 2004

Get involved in OASIS ebXML-BP

Download the specs from www.oasis-open.org

Encourage your industry group to adopt BPSS templates for their standards

Specify BPSS-compliance from providers

Page 45: Visually Modelling Business Processes

Copyright OASIS, 2004

Some Available Components / Resources VisualScript editor for BPSS templates

http://www.visualscript.com jBPM JBOSS middleware

http://www.jBPM.org

Hermes open source ebMS transport http://www.freebXML.org

ebXML-dev developers (http://ebxml.org)

ebXMLforum News and Articles http://www.ebxmlforum.org

Page 46: Visually Modelling Business Processes

Copyright OASIS, 2004

www.freebXML.org

www.ebxml.org

www.oasis-open.org

www.ebxmlbook.com/interop

www.ebxmlbook.com/benefits

Resources: