Magnolia is a registered trademark owned by Magnolia International Ltd.Version 1.1
Espen Jervidalo, Magnolia InternationalMaciej Swiderski, Red Hat, jBPM core developer 19.09.2013 at Magnolia Conference
Magnolia Workflow and JBPM
1
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Outline
jBPM
Magnolia Workflow
• Usage• The Pulse - your user
task hub
jBPM Integration
• Content Apps• your processes
Outlook
2
Friday, September 20, 13
Magnolia is a registered trademark owned by Magnolia International Ltd.Version 1.1
jBPM
3
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
What’s Business Process Management?
4
A business process is a process that describes the order in which a series of steps need to be executed, using a flow chart
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Why we need BPM?
Higher level
Visibility
Continuous improvement
Increased agility
Speed of development
Monitoring
Automation and orchestration
5
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
jBPM Business Process Management Suite
Standards based, embeddable, lightweight Java process engine, supporting native BPMN 2.0 execution
BPMN 2.0 process modeling in Eclipse (developers) and the web (business users)
Human interaction using an independent WS-HT task service
6
BPMN2 processes Pluggable human task service Business Process Simulation
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
jBPM Business Process Management Suite
Tight, powerful integration with business rules and event processing
Process collaboration, monitoring and management through the Guvnor repository and the web console
7
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Domain specific processes
Build domain specific processes by using custom activities (work items)
Extend palette with domain-specific, declarative service nodes
Define input / output parameters
Runtime binding (work item handlers)
8
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Domain specific processes
Benefits of domain specific processes
• Domain specific• Declarative• High level• Reusable
Examples
• Email• Twitter• Google Calendar• FTP, WebService, REST• YOUR SERVICES!
9
Friday, September 20, 13
Magnolia is a registered trademark owned by Magnolia International Ltd.Version 1.1
Magnolia Workflow
10
Use caseUser Interaction
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Workflow - Use case
Four eyes principle
Two users
• Editor• Publisher
Publication from author instance to public
11
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Workflow - Interaction with user
Workflow process
• service tasks• user tasks
How does the process interact with users?
• The Pulse
12
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
The Pulse
13
The Magnolia communication hub
Single entry point for user
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
The Pulse
14
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Publication Demo
15
Friday, September 20, 13
Magnolia is a registered trademark owned by Magnolia International Ltd.Version 1.1
Integration & Extension
16
Content appsExtending the workflow
• Custom processes• Custom activities
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Content App - Use workflow
Three command catalogs
• Default• Versioned• Workflow
Set the desired catalog in your actions
17
Friday, September 20, 13
Workflow
Other EnginejBPM Engine
MyModule
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Extending the workflow module
Extend the default jBPM implementation
• create a new module• own processes• custom activities
Change the engine
• your desired implementation
18
Friday, September 20, 13
Registry
WorkflowMyModule
WorkflowsWorkflow
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Register processes
Model your processes
• BPMN2 modeler
Add them to your modules classpath
Register in Magnolia by configuration
19
Friday, September 20, 13
WorkItem
WorkItemHandler
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Custom Activities
Break the workflow up into testable, reusable units
20
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Work item handlers
Access to data
• Workflow parameters• From definition in magnolia
Dependency Injection
21
Friday, September 20, 13
Registry
WorkflowMyModule
HandlersHandler
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Register your handlers
Create your handlers in your module
Register using configuration
22
Friday, September 20, 13
Magnolia is a registered trademark owned by Magnolia International Ltd.Version 1.1
Outlook - What’s in the pipelinejBPM6Pulse revisedGuvnor integration
23
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
jBPM 6
brand new tooling (web based that covers complete BPM life cycle)
state of the art BAM (Business Activity Monitoring) capabilities
CDI integration out of the box
and much more...
24
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
Pulse revised
25
Friday, September 20, 13
Magnolia is a registered trademark owned by Magnolia International Ltd.Version 1.1
Questions?
26
Friday, September 20, 13
Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.
References
Magnolia documentation
• Workflow
jBPM documentation
• User guide• Domain-specific processes• Business Rule Task
27
Friday, September 20, 13