SlideShare a Scribd company logo
1 of 21
Confidential Internal
Activiti BPM Framework
Shivnarayan R. Varma
Sr. Architect, Tech COE
April 30, 2014
© 2013 Fiserv, Inc. or its affiliates.2 Confidential Internal
Table of Contents
• What is BPM?
• Why BPM?
• Key Advantages of BPM
• Overview BPMN
• Overview Activiti
• Activiti Process Engine
• Activiti API
• Activiti Spring Integration
• Embedding Activiti with Your Application
• Q & A
© 2013 Fiserv, Inc. or its affiliates.3 Confidential Internal
What is BPM?
What is Business Process Modeling?
Business Process Modeling is the activity of representing processes of an enterprise, so
that the current process may be analyzed and improved by other professionals. This
describes the order in which a series of steps need to be executed using a flow chart.
© 2013 Fiserv, Inc. or its affiliates.4 Confidential Internal
Why BPM ? Part - 1
• With its visual modeling of all workflow and logic, BPM accelerates change and enables
understanding for both IT and users far beyond what is possible by looking at mockups or lines of
code.
• Model the logic and click the run button and it’s executing.
• No detail too small, no behind the scenes piles of code.
• No code generation and then modifications, the model is the code.
• By making software development a truly collaborative experience between IT and the business,
many steps in the traditional development cycle are reduced or removed.
• Users participate directly as workflow is diagrammed, screens are laid out and business rules are
defined.
© 2013 Fiserv, Inc. or its affiliates.5 Confidential Internal
Why BPM ? Part - 2
• Real-time Information on the Performance of Processes
• Easy development – Configure new processes and applications on the fly, exactly the
way business wants. Predictable, on time and within budget
• Reduced TCO – Implement new processes and applications faster and cheaper with a
highly scalable BPM platform, leveraging existing IT investment
• No limitations – Build and change processes and applications without restrictions
imposed by existing, proprietary technologies
© 2013 Fiserv, Inc. or its affiliates.6 Confidential Internal
Relationship of BPEL to BPMN
• Business Process Execution Language (BPEL), short for Web Services Business
Process Execution Language (WS-BPEL), is an executable dialect of XML that allows
for the modeling of interactions between Web services on the cloud. Business
Process Execution Language (BPEL), short for Web Services Business Process
Execution Language (WS-BPEL), is an executable dialect of XML that allows for the
modeling of interactions between Web services on the cloud. BPEL allows for
complex orchestrations of multiple service applications through a single controller
service.
• There is no standard graphical notation for WS-BPEL. Unlike BPEL, BPMN is not
executable and so is mostly used for planning and design. BPMN, though, has a
visual component that makes it easier to understand for business people not familiar
with programming.
© 2013 Fiserv, Inc. or its affiliates.7 Confidential Internal
BPMN 2.0 Positioning
BPMN2
Model
Process
Choreography
Collaboration
ServicesWS-BPEL
Activiti
SOA
Rules
Event
BRMS
© 2013 Fiserv, Inc. or its affiliates.8 Confidential Internal
BPMN 2.0
© 2013 Fiserv, Inc. or its affiliates.9 Confidential Internal
BPMN 2.0
© 2013 Fiserv, Inc. or its affiliates.10 Confidential Internal
BPMN 2.0 Example
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:activiti="http://activiti.org/bpmn"
typeLanguage="http://www.w3.org/2001/XMLSchema"
expressionLanguage="http://www.w3.org/1999/XPath"
targetNamespace="http://www.activiti.org/bpmn2.0">
<process id="hello">
<startEvent id="start"/>
<sequenceFlow id="sf1" sourceRef="start" targetRef="helloScriptTask"/>
<scriptTask id="helloScriptTask" name="Execute script" scriptFormat="groovy">
<script>
println 'hello ' + customerId + '!'
</script>
</scriptTask>
<sequenceFlow id="sf2" sourceRef="helloScriptTask" targetRef="end"/>
<endEvent id="end"/>
</process>
</definitions>
© 2013 Fiserv, Inc. or its affiliates.11 Confidential Internal
Overview Activiti
© 2013 Fiserv, Inc. or its affiliates.12 Confidential Internal
Activiti Deployment View
© 2013 Fiserv, Inc. or its affiliates.13 Confidential Internal
Sample Demo
Developing sample Process flow using BPM
and running it…..
© 2013 Fiserv, Inc. or its affiliates.14 Confidential Internal
Activiti Process Engine
© 2013 Fiserv, Inc. or its affiliates.15 Confidential Internal
Activiti API Example for Hello
ProcessEngine engine= new ProcessEngineBuilder()
.configureFromResource(“activiti.cfg.xml”)
.buildProcessEngine();
engine.getRuntimeService().startProcessInstanceByKey(“hello”);
Task task =
engine.getTaskService().createTaskQuery().singleResult();
Engine.getTaskService().complete(task.getId());
© 2013 Fiserv, Inc. or its affiliates.16 Confidential Internal
Activiti API
Powerful and uniform query API
1. Deployments and process definitions
repositoryService.createProcessDefinitionQuery.keyLike(“%mortgage%”).l
atest();
2. Process instances and executions
runtimeService.createProcessInstanceQuery
.processDefinitionKey(“mortgage-process)”.orderByProcessInstanceId().desc();
3. History
historyService.createHistoricActivityQuery().processDefinitionId(procDefId)
.activityType(“userTask”).orderByDuration().asc();
4. Variables
runtimeService.createProcessInstanceQuery()
.variableValueGreaterThan(“amount”, 50000);
5. Tasks, jobs, users, groups, historic activities/process
instances/variables, …
© 2013 Fiserv, Inc. or its affiliates.17 Confidential Internal
Activiti Spring Integration
© 2013 Fiserv, Inc. or its affiliates.18 Confidential Internal
Activiti Integration with spring Config
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://ww
w.springframework.org/schema/beans/spring-beans.xsd">
<bean id="processEngineConfiguration"
class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration">
<property name="jdbcUrl"
value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000" />
--
--
<property name="eventListeners">
<list>
<bean class="org.activiti.engine.example.MyEventListener" />
</list>
</property>
</bean>
</beans>
© 2013 Fiserv, Inc. or its affiliates.19 Confidential Internal
Embedding Activiti with Your Application
• Embeds in
• Your database
• Your transaction
• Your domain model
• Your tests
• Your Spring configuration
1
9
Tomcat
JDK 5
…
Oracle, MySQL, PostgreSQL
Activiti Your
App
Spring
© 2013 Fiserv, Inc. or its affiliates.20 Confidential Internal
• Start a BPM workflow based event from incoming messages in queue or newly
inserted row in database or Feed file received.
• Our Message Listener / DB-Poller will listen incoming messages and creates BPM
event based on that.
• Create Web application which allows users to login and shows list of all the
workflow based task assigned to them.
• BPMN based workflow is initiated to handle this workflow task.
• Task will be assigned based various groups, users, roles, profiles defined in
database.
Real time example: Demonstrating Activiti integration
with spring in web application
2
0
© 2013 Fiserv, Inc. or its affiliates.21 Confidential Internal
Q & A
2
1
Questions?

More Related Content

What's hot

Go Faster with Lightning Process Builder
Go Faster with Lightning Process BuilderGo Faster with Lightning Process Builder
Go Faster with Lightning Process BuilderSalesforce Developers
 
Tensorflow 2.0 and Keras ODSC Jan 2019
Tensorflow 2.0 and Keras ODSC Jan 2019Tensorflow 2.0 and Keras ODSC Jan 2019
Tensorflow 2.0 and Keras ODSC Jan 2019Francesco Mosconi
 
Tensorflow 2.0 and Keras: What's new, what's shared, what's different
Tensorflow 2.0 and Keras: What's new, what's shared, what's differentTensorflow 2.0 and Keras: What's new, what's shared, what's different
Tensorflow 2.0 and Keras: What's new, what's shared, what's differentFrancesco Mosconi
 
Practical Application of API-First in microservices development
Practical Application of API-First in microservices developmentPractical Application of API-First in microservices development
Practical Application of API-First in microservices developmentChavdar Baikov
 
A lap around ASP.NET 4.5 and Visual Studio 2011 Developer Preview
A lap around ASP.NET 4.5 and Visual Studio 2011 Developer Preview A lap around ASP.NET 4.5 and Visual Studio 2011 Developer Preview
A lap around ASP.NET 4.5 and Visual Studio 2011 Developer Preview Abhijit Jana
 
#ESPC18 how to migrate to the #SharePoint Framework?
#ESPC18 how to migrate to the #SharePoint Framework?#ESPC18 how to migrate to the #SharePoint Framework?
#ESPC18 how to migrate to the #SharePoint Framework?Vincent Biret
 
Walking through Tensorflow 2.0
Walking through Tensorflow 2.0Walking through Tensorflow 2.0
Walking through Tensorflow 2.0Yan Xu
 
Are good SharePoint solutions only a myth?
Are good SharePoint solutions only a myth?Are good SharePoint solutions only a myth?
Are good SharePoint solutions only a myth?Adis Jugo
 
Team Development on Force.com with Github and Ant
Team Development on Force.com with Github and AntTeam Development on Force.com with Github and Ant
Team Development on Force.com with Github and AntSalesforce Developers
 
Smart Enterprise Application Integration with Apache Camel
Smart Enterprise Application Integration with Apache Camel Smart Enterprise Application Integration with Apache Camel
Smart Enterprise Application Integration with Apache Camel Kai Wähner
 
Oracle OpenWorld 2011 - Oracle Application Express within the Oracle SOA Suite
Oracle OpenWorld 2011 - Oracle Application Express within the Oracle SOA SuiteOracle OpenWorld 2011 - Oracle Application Express within the Oracle SOA Suite
Oracle OpenWorld 2011 - Oracle Application Express within the Oracle SOA SuiteDouwe Pieter van den Bos
 
Improving the SharePoint Development Process with Continuous Integration
Improving the SharePoint Development Process with Continuous IntegrationImproving the SharePoint Development Process with Continuous Integration
Improving the SharePoint Development Process with Continuous IntegrationSharePoint Saturday New Jersey
 
Hypermedia in API Design: Enterprise as an Early Adopter
Hypermedia in API Design: Enterprise as an Early AdopterHypermedia in API Design: Enterprise as an Early Adopter
Hypermedia in API Design: Enterprise as an Early AdopterApigee | Google Cloud
 
Lightning web components
Lightning web componentsLightning web components
Lightning web componentsAmit Singh
 
#SPSNYC 2018 Migrate your custom components to the #SharePoint Framework #SPFX
#SPSNYC 2018 Migrate your custom components to the #SharePoint Framework #SPFX#SPSNYC 2018 Migrate your custom components to the #SharePoint Framework #SPFX
#SPSNYC 2018 Migrate your custom components to the #SharePoint Framework #SPFXVincent Biret
 
NYC ACE May 28 2020
NYC ACE May 28 2020NYC ACE May 28 2020
NYC ACE May 28 2020AUGNYC
 
Lightning Developer Week - Bangalore Salesforce Developer Group
Lightning Developer Week - Bangalore Salesforce Developer GroupLightning Developer Week - Bangalore Salesforce Developer Group
Lightning Developer Week - Bangalore Salesforce Developer GroupAbhilash Kuntar
 
Simplifying Salesforce REST in Java Using Annotations
Simplifying Salesforce REST in Java Using AnnotationsSimplifying Salesforce REST in Java Using Annotations
Simplifying Salesforce REST in Java Using AnnotationsSalesforce Developers
 

What's hot (20)

3-18-11
3-18-113-18-11
3-18-11
 
Go Faster with Lightning Process Builder
Go Faster with Lightning Process BuilderGo Faster with Lightning Process Builder
Go Faster with Lightning Process Builder
 
Tensorflow 2.0 and Keras ODSC Jan 2019
Tensorflow 2.0 and Keras ODSC Jan 2019Tensorflow 2.0 and Keras ODSC Jan 2019
Tensorflow 2.0 and Keras ODSC Jan 2019
 
Tensorflow 2.0 pipeline ai
Tensorflow 2.0 pipeline aiTensorflow 2.0 pipeline ai
Tensorflow 2.0 pipeline ai
 
Tensorflow 2.0 and Keras: What's new, what's shared, what's different
Tensorflow 2.0 and Keras: What's new, what's shared, what's differentTensorflow 2.0 and Keras: What's new, what's shared, what's different
Tensorflow 2.0 and Keras: What's new, what's shared, what's different
 
Practical Application of API-First in microservices development
Practical Application of API-First in microservices developmentPractical Application of API-First in microservices development
Practical Application of API-First in microservices development
 
A lap around ASP.NET 4.5 and Visual Studio 2011 Developer Preview
A lap around ASP.NET 4.5 and Visual Studio 2011 Developer Preview A lap around ASP.NET 4.5 and Visual Studio 2011 Developer Preview
A lap around ASP.NET 4.5 and Visual Studio 2011 Developer Preview
 
#ESPC18 how to migrate to the #SharePoint Framework?
#ESPC18 how to migrate to the #SharePoint Framework?#ESPC18 how to migrate to the #SharePoint Framework?
#ESPC18 how to migrate to the #SharePoint Framework?
 
Walking through Tensorflow 2.0
Walking through Tensorflow 2.0Walking through Tensorflow 2.0
Walking through Tensorflow 2.0
 
Are good SharePoint solutions only a myth?
Are good SharePoint solutions only a myth?Are good SharePoint solutions only a myth?
Are good SharePoint solutions only a myth?
 
Team Development on Force.com with Github and Ant
Team Development on Force.com with Github and AntTeam Development on Force.com with Github and Ant
Team Development on Force.com with Github and Ant
 
Smart Enterprise Application Integration with Apache Camel
Smart Enterprise Application Integration with Apache Camel Smart Enterprise Application Integration with Apache Camel
Smart Enterprise Application Integration with Apache Camel
 
Oracle OpenWorld 2011 - Oracle Application Express within the Oracle SOA Suite
Oracle OpenWorld 2011 - Oracle Application Express within the Oracle SOA SuiteOracle OpenWorld 2011 - Oracle Application Express within the Oracle SOA Suite
Oracle OpenWorld 2011 - Oracle Application Express within the Oracle SOA Suite
 
Improving the SharePoint Development Process with Continuous Integration
Improving the SharePoint Development Process with Continuous IntegrationImproving the SharePoint Development Process with Continuous Integration
Improving the SharePoint Development Process with Continuous Integration
 
Hypermedia in API Design: Enterprise as an Early Adopter
Hypermedia in API Design: Enterprise as an Early AdopterHypermedia in API Design: Enterprise as an Early Adopter
Hypermedia in API Design: Enterprise as an Early Adopter
 
Lightning web components
Lightning web componentsLightning web components
Lightning web components
 
#SPSNYC 2018 Migrate your custom components to the #SharePoint Framework #SPFX
#SPSNYC 2018 Migrate your custom components to the #SharePoint Framework #SPFX#SPSNYC 2018 Migrate your custom components to the #SharePoint Framework #SPFX
#SPSNYC 2018 Migrate your custom components to the #SharePoint Framework #SPFX
 
NYC ACE May 28 2020
NYC ACE May 28 2020NYC ACE May 28 2020
NYC ACE May 28 2020
 
Lightning Developer Week - Bangalore Salesforce Developer Group
Lightning Developer Week - Bangalore Salesforce Developer GroupLightning Developer Week - Bangalore Salesforce Developer Group
Lightning Developer Week - Bangalore Salesforce Developer Group
 
Simplifying Salesforce REST in Java Using Annotations
Simplifying Salesforce REST in Java Using AnnotationsSimplifying Salesforce REST in Java Using Annotations
Simplifying Salesforce REST in Java Using Annotations
 

Similar to Actviti bpm framework 1.0

IBM Cloud University 2017-IDPA009-IBM BPM Upgrade and Migration Made Easy
IBM Cloud University 2017-IDPA009-IBM BPM Upgrade and Migration Made EasyIBM Cloud University 2017-IDPA009-IBM BPM Upgrade and Migration Made Easy
IBM Cloud University 2017-IDPA009-IBM BPM Upgrade and Migration Made EasyBrian Petrini
 
3158 - Cloud Infrastructure & It Optimization - Application Performance Manag...
3158 - Cloud Infrastructure & It Optimization - Application Performance Manag...3158 - Cloud Infrastructure & It Optimization - Application Performance Manag...
3158 - Cloud Infrastructure & It Optimization - Application Performance Manag...Sandeep Chellingi
 
OSA03 Pourquoi choisir IBM pour vos projets BPM ?
OSA03 Pourquoi choisir IBM pour vos projets BPM ?OSA03 Pourquoi choisir IBM pour vos projets BPM ?
OSA03 Pourquoi choisir IBM pour vos projets BPM ?Nicolas Desachy
 
Create Flawless Integrations Using ServiceNow Integration Hub and Creator Wor...
Create Flawless Integrations Using ServiceNow Integration Hub and Creator Wor...Create Flawless Integrations Using ServiceNow Integration Hub and Creator Wor...
Create Flawless Integrations Using ServiceNow Integration Hub and Creator Wor...Aelum Consulting
 
Cloud BPM Tools Comparison for Managers
Cloud BPM Tools Comparison for ManagersCloud BPM Tools Comparison for Managers
Cloud BPM Tools Comparison for ManagersFlokzu
 
Pcty 2013 cloud and open stack 052813
Pcty 2013 cloud and open stack 052813Pcty 2013 cloud and open stack 052813
Pcty 2013 cloud and open stack 052813IBM Danmark
 
OOW 2012: Integrate Cloud Applications with Oracle SOA Suite
OOW 2012: Integrate Cloud Applications with Oracle SOA SuiteOOW 2012: Integrate Cloud Applications with Oracle SOA Suite
OOW 2012: Integrate Cloud Applications with Oracle SOA SuiteRajesh Raheja
 
InterConnect 2017 HBP-2884-IBM BPM upgrade and migration made easy
InterConnect 2017 HBP-2884-IBM BPM upgrade and migration made easyInterConnect 2017 HBP-2884-IBM BPM upgrade and migration made easy
InterConnect 2017 HBP-2884-IBM BPM upgrade and migration made easyBrian Petrini
 
VSTS & Application Lifecycle Management
VSTS & Application Lifecycle ManagementVSTS & Application Lifecycle Management
VSTS & Application Lifecycle ManagementEnrico Antonacci
 
D mayo achieving architectural agility agile in gov conf apr 19 2017
D mayo achieving architectural agility agile in gov conf apr 19 2017D mayo achieving architectural agility agile in gov conf apr 19 2017
D mayo achieving architectural agility agile in gov conf apr 19 2017Dave Mayo
 
Business Process Managmenet & Intelligent BPM Suites
Business Process Managmenet & Intelligent BPM SuitesBusiness Process Managmenet & Intelligent BPM Suites
Business Process Managmenet & Intelligent BPM Suitesshyjusr
 
How to excite the travel industry with a BPM story
How to excite the travel industry with a BPM storyHow to excite the travel industry with a BPM story
How to excite the travel industry with a BPM storyEric D. Schabell
 
Ibm web sphere vs sap netweaver evaluation whitepaper
Ibm web sphere vs sap netweaver evaluation   whitepaperIbm web sphere vs sap netweaver evaluation   whitepaper
Ibm web sphere vs sap netweaver evaluation whitepaperrvegesna1
 
Minimize complexities with ServiceNow Integration Hub and Creator Workflows.pdf
Minimize complexities with ServiceNow Integration Hub and Creator Workflows.pdfMinimize complexities with ServiceNow Integration Hub and Creator Workflows.pdf
Minimize complexities with ServiceNow Integration Hub and Creator Workflows.pdfAelum Consulting
 
Sparkhound Consulting Services Overview 2020
Sparkhound Consulting Services Overview 2020Sparkhound Consulting Services Overview 2020
Sparkhound Consulting Services Overview 2020Ron Ellis
 
Placement of BPM runtime components in an SOA environment
Placement of BPM runtime components in an SOA environmentPlacement of BPM runtime components in an SOA environment
Placement of BPM runtime components in an SOA environmentKim Clark
 
Digital Time Capture Integrates with Primavera
Digital Time Capture Integrates with PrimaveraDigital Time Capture Integrates with Primavera
Digital Time Capture Integrates with PrimaveraKlopstra
 
Oracle OpenWorld 2009 AIA Best Practices
Oracle OpenWorld 2009 AIA Best PracticesOracle OpenWorld 2009 AIA Best Practices
Oracle OpenWorld 2009 AIA Best PracticesRajesh Raheja
 

Similar to Actviti bpm framework 1.0 (20)

IBM Cloud University 2017-IDPA009-IBM BPM Upgrade and Migration Made Easy
IBM Cloud University 2017-IDPA009-IBM BPM Upgrade and Migration Made EasyIBM Cloud University 2017-IDPA009-IBM BPM Upgrade and Migration Made Easy
IBM Cloud University 2017-IDPA009-IBM BPM Upgrade and Migration Made Easy
 
3158 - Cloud Infrastructure & It Optimization - Application Performance Manag...
3158 - Cloud Infrastructure & It Optimization - Application Performance Manag...3158 - Cloud Infrastructure & It Optimization - Application Performance Manag...
3158 - Cloud Infrastructure & It Optimization - Application Performance Manag...
 
OSA03 Pourquoi choisir IBM pour vos projets BPM ?
OSA03 Pourquoi choisir IBM pour vos projets BPM ?OSA03 Pourquoi choisir IBM pour vos projets BPM ?
OSA03 Pourquoi choisir IBM pour vos projets BPM ?
 
Create Flawless Integrations Using ServiceNow Integration Hub and Creator Wor...
Create Flawless Integrations Using ServiceNow Integration Hub and Creator Wor...Create Flawless Integrations Using ServiceNow Integration Hub and Creator Wor...
Create Flawless Integrations Using ServiceNow Integration Hub and Creator Wor...
 
IBM BPM & ODM
IBM BPM & ODMIBM BPM & ODM
IBM BPM & ODM
 
Cloud BPM Tools Comparison for Managers
Cloud BPM Tools Comparison for ManagersCloud BPM Tools Comparison for Managers
Cloud BPM Tools Comparison for Managers
 
Pcty 2013 cloud and open stack 052813
Pcty 2013 cloud and open stack 052813Pcty 2013 cloud and open stack 052813
Pcty 2013 cloud and open stack 052813
 
OOW 2012: Integrate Cloud Applications with Oracle SOA Suite
OOW 2012: Integrate Cloud Applications with Oracle SOA SuiteOOW 2012: Integrate Cloud Applications with Oracle SOA Suite
OOW 2012: Integrate Cloud Applications with Oracle SOA Suite
 
InterConnect 2017 HBP-2884-IBM BPM upgrade and migration made easy
InterConnect 2017 HBP-2884-IBM BPM upgrade and migration made easyInterConnect 2017 HBP-2884-IBM BPM upgrade and migration made easy
InterConnect 2017 HBP-2884-IBM BPM upgrade and migration made easy
 
VSTS & Application Lifecycle Management
VSTS & Application Lifecycle ManagementVSTS & Application Lifecycle Management
VSTS & Application Lifecycle Management
 
D mayo achieving architectural agility agile in gov conf apr 19 2017
D mayo achieving architectural agility agile in gov conf apr 19 2017D mayo achieving architectural agility agile in gov conf apr 19 2017
D mayo achieving architectural agility agile in gov conf apr 19 2017
 
Business Process Managmenet & Intelligent BPM Suites
Business Process Managmenet & Intelligent BPM SuitesBusiness Process Managmenet & Intelligent BPM Suites
Business Process Managmenet & Intelligent BPM Suites
 
How to excite the travel industry with a BPM story
How to excite the travel industry with a BPM storyHow to excite the travel industry with a BPM story
How to excite the travel industry with a BPM story
 
Ibm web sphere vs sap netweaver evaluation whitepaper
Ibm web sphere vs sap netweaver evaluation   whitepaperIbm web sphere vs sap netweaver evaluation   whitepaper
Ibm web sphere vs sap netweaver evaluation whitepaper
 
Minimize complexities with ServiceNow Integration Hub and Creator Workflows.pdf
Minimize complexities with ServiceNow Integration Hub and Creator Workflows.pdfMinimize complexities with ServiceNow Integration Hub and Creator Workflows.pdf
Minimize complexities with ServiceNow Integration Hub and Creator Workflows.pdf
 
Sparkhound Consulting Services Overview 2020
Sparkhound Consulting Services Overview 2020Sparkhound Consulting Services Overview 2020
Sparkhound Consulting Services Overview 2020
 
Placement of BPM runtime components in an SOA environment
Placement of BPM runtime components in an SOA environmentPlacement of BPM runtime components in an SOA environment
Placement of BPM runtime components in an SOA environment
 
4. Allison
4. Allison4. Allison
4. Allison
 
Digital Time Capture Integrates with Primavera
Digital Time Capture Integrates with PrimaveraDigital Time Capture Integrates with Primavera
Digital Time Capture Integrates with Primavera
 
Oracle OpenWorld 2009 AIA Best Practices
Oracle OpenWorld 2009 AIA Best PracticesOracle OpenWorld 2009 AIA Best Practices
Oracle OpenWorld 2009 AIA Best Practices
 

Recently uploaded

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
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 TerraformAndrey Devyatkin
 
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 organizationRadu Cotescu
 
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 productivityPrincipled Technologies
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
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...Martijn de Jong
 
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.pdfhans926745
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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...Miguel Araújo
 
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)wesley chun
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 

Recently uploaded (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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
 
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
 
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
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
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...
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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...
 
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)
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

Actviti bpm framework 1.0

  • 1. Confidential Internal Activiti BPM Framework Shivnarayan R. Varma Sr. Architect, Tech COE April 30, 2014
  • 2. © 2013 Fiserv, Inc. or its affiliates.2 Confidential Internal Table of Contents • What is BPM? • Why BPM? • Key Advantages of BPM • Overview BPMN • Overview Activiti • Activiti Process Engine • Activiti API • Activiti Spring Integration • Embedding Activiti with Your Application • Q & A
  • 3. © 2013 Fiserv, Inc. or its affiliates.3 Confidential Internal What is BPM? What is Business Process Modeling? Business Process Modeling is the activity of representing processes of an enterprise, so that the current process may be analyzed and improved by other professionals. This describes the order in which a series of steps need to be executed using a flow chart.
  • 4. © 2013 Fiserv, Inc. or its affiliates.4 Confidential Internal Why BPM ? Part - 1 • With its visual modeling of all workflow and logic, BPM accelerates change and enables understanding for both IT and users far beyond what is possible by looking at mockups or lines of code. • Model the logic and click the run button and it’s executing. • No detail too small, no behind the scenes piles of code. • No code generation and then modifications, the model is the code. • By making software development a truly collaborative experience between IT and the business, many steps in the traditional development cycle are reduced or removed. • Users participate directly as workflow is diagrammed, screens are laid out and business rules are defined.
  • 5. © 2013 Fiserv, Inc. or its affiliates.5 Confidential Internal Why BPM ? Part - 2 • Real-time Information on the Performance of Processes • Easy development – Configure new processes and applications on the fly, exactly the way business wants. Predictable, on time and within budget • Reduced TCO – Implement new processes and applications faster and cheaper with a highly scalable BPM platform, leveraging existing IT investment • No limitations – Build and change processes and applications without restrictions imposed by existing, proprietary technologies
  • 6. © 2013 Fiserv, Inc. or its affiliates.6 Confidential Internal Relationship of BPEL to BPMN • Business Process Execution Language (BPEL), short for Web Services Business Process Execution Language (WS-BPEL), is an executable dialect of XML that allows for the modeling of interactions between Web services on the cloud. Business Process Execution Language (BPEL), short for Web Services Business Process Execution Language (WS-BPEL), is an executable dialect of XML that allows for the modeling of interactions between Web services on the cloud. BPEL allows for complex orchestrations of multiple service applications through a single controller service. • There is no standard graphical notation for WS-BPEL. Unlike BPEL, BPMN is not executable and so is mostly used for planning and design. BPMN, though, has a visual component that makes it easier to understand for business people not familiar with programming.
  • 7. © 2013 Fiserv, Inc. or its affiliates.7 Confidential Internal BPMN 2.0 Positioning BPMN2 Model Process Choreography Collaboration ServicesWS-BPEL Activiti SOA Rules Event BRMS
  • 8. © 2013 Fiserv, Inc. or its affiliates.8 Confidential Internal BPMN 2.0
  • 9. © 2013 Fiserv, Inc. or its affiliates.9 Confidential Internal BPMN 2.0
  • 10. © 2013 Fiserv, Inc. or its affiliates.10 Confidential Internal BPMN 2.0 Example <?xml version="1.0" encoding="UTF-8"?> <definitions id="definitions" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/bpmn2.0"> <process id="hello"> <startEvent id="start"/> <sequenceFlow id="sf1" sourceRef="start" targetRef="helloScriptTask"/> <scriptTask id="helloScriptTask" name="Execute script" scriptFormat="groovy"> <script> println 'hello ' + customerId + '!' </script> </scriptTask> <sequenceFlow id="sf2" sourceRef="helloScriptTask" targetRef="end"/> <endEvent id="end"/> </process> </definitions>
  • 11. © 2013 Fiserv, Inc. or its affiliates.11 Confidential Internal Overview Activiti
  • 12. © 2013 Fiserv, Inc. or its affiliates.12 Confidential Internal Activiti Deployment View
  • 13. © 2013 Fiserv, Inc. or its affiliates.13 Confidential Internal Sample Demo Developing sample Process flow using BPM and running it…..
  • 14. © 2013 Fiserv, Inc. or its affiliates.14 Confidential Internal Activiti Process Engine
  • 15. © 2013 Fiserv, Inc. or its affiliates.15 Confidential Internal Activiti API Example for Hello ProcessEngine engine= new ProcessEngineBuilder() .configureFromResource(“activiti.cfg.xml”) .buildProcessEngine(); engine.getRuntimeService().startProcessInstanceByKey(“hello”); Task task = engine.getTaskService().createTaskQuery().singleResult(); Engine.getTaskService().complete(task.getId());
  • 16. © 2013 Fiserv, Inc. or its affiliates.16 Confidential Internal Activiti API Powerful and uniform query API 1. Deployments and process definitions repositoryService.createProcessDefinitionQuery.keyLike(“%mortgage%”).l atest(); 2. Process instances and executions runtimeService.createProcessInstanceQuery .processDefinitionKey(“mortgage-process)”.orderByProcessInstanceId().desc(); 3. History historyService.createHistoricActivityQuery().processDefinitionId(procDefId) .activityType(“userTask”).orderByDuration().asc(); 4. Variables runtimeService.createProcessInstanceQuery() .variableValueGreaterThan(“amount”, 50000); 5. Tasks, jobs, users, groups, historic activities/process instances/variables, …
  • 17. © 2013 Fiserv, Inc. or its affiliates.17 Confidential Internal Activiti Spring Integration
  • 18. © 2013 Fiserv, Inc. or its affiliates.18 Confidential Internal Activiti Integration with spring Config <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://ww w.springframework.org/schema/beans/spring-beans.xsd"> <bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration"> <property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000" /> -- -- <property name="eventListeners"> <list> <bean class="org.activiti.engine.example.MyEventListener" /> </list> </property> </bean> </beans>
  • 19. © 2013 Fiserv, Inc. or its affiliates.19 Confidential Internal Embedding Activiti with Your Application • Embeds in • Your database • Your transaction • Your domain model • Your tests • Your Spring configuration 1 9 Tomcat JDK 5 … Oracle, MySQL, PostgreSQL Activiti Your App Spring
  • 20. © 2013 Fiserv, Inc. or its affiliates.20 Confidential Internal • Start a BPM workflow based event from incoming messages in queue or newly inserted row in database or Feed file received. • Our Message Listener / DB-Poller will listen incoming messages and creates BPM event based on that. • Create Web application which allows users to login and shows list of all the workflow based task assigned to them. • BPMN based workflow is initiated to handle this workflow task. • Task will be assigned based various groups, users, roles, profiles defined in database. Real time example: Demonstrating Activiti integration with spring in web application 2 0
  • 21. © 2013 Fiserv, Inc. or its affiliates.21 Confidential Internal Q & A 2 1 Questions?

Editor's Notes

  1. IT and users collaborate directly onScreen designProcess flowBusiness rulesReduces handoffs and errors Speeds development and innovative thinking
  2. BRMS : Business rules management system
  3. BRMS : Business rules management system