Top Banner
Magnolia is a registered trademark owned by Magnolia International Ltd. Version 1.1 Espen Jervidalo, Magnolia International Maciej Swiderski, Red Hat, jBPM core developer 19.09.2013 at Magnolia Conference Magnolia Workflow and JBPM 1 Friday, September 20, 13
27

Get the Maximum Out of Your Magnolia Workflow

May 08, 2015

Download

Technology

Magnolia CMS

This presentation was given at Magnolia Conference 2013 by Maciej Swiderski, Senior Software Engineer at Red Hat (http://www.redhat.com) and Espen Jervidalo, Senior Software Engineer at Magnolia International.

When discussing the integration between Magnolia and jBPM as part of Magnolia's workflow, there are several parts that might be worth to know when designing your own processes that will be included in the platform. Even if the integration comes out of the box some level of customization is possible and gives the opportunity to take advantage of the powerful workflow engine.

A joint effort of engineers from Magnolia and jBPM will allow to efficiently present currently available capabilities and provide more ideas on how it could be extended. Moreover, the workshop nature of the talk allows people to ask questions and get immediate feedback from core developers.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Get the Maximum Out of Your Magnolia Workflow

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

Page 2: Get the Maximum Out of Your Magnolia Workflow

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

Page 3: Get the Maximum Out of Your Magnolia Workflow

Magnolia is a registered trademark owned by Magnolia International Ltd.Version 1.1

jBPM

3

Friday, September 20, 13

Page 4: Get the Maximum Out of Your Magnolia Workflow

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

Page 5: Get the Maximum Out of Your Magnolia Workflow

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

Page 6: Get the Maximum Out of Your Magnolia Workflow

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

Page 7: Get the Maximum Out of Your Magnolia Workflow

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

Page 8: Get the Maximum Out of Your Magnolia Workflow

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

Page 9: Get the Maximum Out of Your Magnolia Workflow

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

Page 10: Get the Maximum Out of Your Magnolia Workflow

Magnolia is a registered trademark owned by Magnolia International Ltd.Version 1.1

Magnolia Workflow

10

Use caseUser Interaction

Friday, September 20, 13

Page 11: Get the Maximum Out of Your Magnolia Workflow

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

Page 12: Get the Maximum Out of Your Magnolia Workflow

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

Page 13: Get the Maximum Out of Your Magnolia Workflow

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

Page 14: Get the Maximum Out of Your Magnolia Workflow

Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.

The Pulse

14

Friday, September 20, 13

Page 15: Get the Maximum Out of Your Magnolia Workflow

Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.

Publication Demo

15

Friday, September 20, 13

Page 16: Get the Maximum Out of Your Magnolia Workflow

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

Page 17: Get the Maximum Out of Your Magnolia Workflow

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

Page 18: Get the Maximum Out of Your Magnolia Workflow

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

Page 19: Get the Maximum Out of Your Magnolia Workflow

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

Page 20: Get the Maximum Out of Your Magnolia Workflow

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

Page 21: Get the Maximum Out of Your Magnolia Workflow

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

Page 22: Get the Maximum Out of Your Magnolia Workflow

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

Page 23: Get the Maximum Out of Your Magnolia Workflow

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

Page 24: Get the Maximum Out of Your Magnolia Workflow

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

Page 25: Get the Maximum Out of Your Magnolia Workflow

Version 1.1 Magnolia is a registered trademark owned by Magnolia International Ltd.

Pulse revised

25

Friday, September 20, 13

Page 26: Get the Maximum Out of Your Magnolia Workflow

Magnolia is a registered trademark owned by Magnolia International Ltd.Version 1.1

Questions?

26

Friday, September 20, 13