joget workflow integration architecture

34
Workflow Integration Architecture www.joget.org

Upload: joget-workflow

Post on 18-Jan-2015

11.075 views

Category:

Technology


6 download

DESCRIPTION

A high level introduction to Joget Workflow architecture: - To whom each Joget Workflow component is targeted at? - How we can achieve 2-way integration with external systems?

TRANSCRIPT

Page 2: Joget Workflow Integration Architecture

Overview

• A high level introduction to Joget Workflow architecture:

– To whom each Joget Workflow component is targeted at?

– How we can achieve 2-way integration with external systems?

– Most importantly, how to do more and code less

2

Page 3: Joget Workflow Integration Architecture

3

Page 4: Joget Workflow Integration Architecture

THE CODELESS WAY

Do More with Joget Workflow

4

Page 5: Joget Workflow Integration Architecture

Process Analyst:Using Workflow Designer

5

Page 6: Joget Workflow Integration Architecture

Process Analyst:Using Workflow Designer• Workflow Designer is a web-based (Java Web Start)

process designer to design XPDL-compliant process diagram using intuitive interface.

• Examples of process components that can be drawn using Workflow Designer are:– Participant– Activity– Route (logical comparison)– Transition– Tool (integration to external system)

• Business process design can be deployed / updated into Workflow Engine from Workflow Designer.

6

Page 7: Joget Workflow Integration Architecture

Process Analyst:Using Workflow Management Console

7

Page 8: Joget Workflow Integration Architecture

Process Analyst:Using Workflow Management Console

• The participants and activities designed in Workflow Designer are notations to illustrate a process design. They must be further configured in Workflow Management Console, to map:– Human participant to user(s), user group(s),

organization chart entit(ies), or workflow variable.

– Activity to data form or system tool (plugin).

• A process package can be imported to / exported from Workflow Management Console to ease collaboration and deployment.

8

Page 9: Joget Workflow Integration Architecture

Administrator:Using Workflow Management Console

9

Page 10: Joget Workflow Integration Architecture

Administrator:Using Workflow Management Console

• Monitor running & completed processes

• Generate service level report

• Setup users, groups and organization chart

• Manage system setup, plugins, form variables and messages (internationalization)

10

Page 11: Joget Workflow Integration Architecture

End-User:Using Workflow Management Console

11

Page 12: Joget Workflow Integration Architecture

End-User:Using Workflow Management Console

• Run process

• Perform tasks assigned

• View task history

12

Page 13: Joget Workflow Integration Architecture

End-User:Using Userview

13

Page 14: Joget Workflow Integration Architecture

End-User:Using Userview

• Userview is a customizable web application front-end that allows users to:

– Submit form data

– View submitted data

– View activities requiring his/her attention

– View aggregated report of all records submitted for an activity

– Search submitted data

14

Page 15: Joget Workflow Integration Architecture

JUST BY SETTING CONFIGURATIONS

Do More with Joget Workflow

15

Page 16: Joget Workflow Integration Architecture

Plugin Oriented Architecture

• Enhance and extend Joget Workflow functionalities

• Integrate to external systems

• Reuse 1 plugin in multiple business processes

• Free to use any plugin contributed into the open source world

• Free to develop new plugins

16

Page 17: Joget Workflow Integration Architecture

Integrator:Using Plugins

17

Page 18: Joget Workflow Integration Architecture

Integrator:Using Plugins

18

SOAP Plugin

MySQL Plugin Email Plugin

Page 19: Joget Workflow Integration Architecture

Integrator:Configuring Plugin (Email Plugin)

19

Page 20: Joget Workflow Integration Architecture

Integrator:Configuring Plugin (MySQL Plugin)

20

Page 21: Joget Workflow Integration Architecture

Integrator:Plugins for System Integration

21

• Database integration– Database Plugin– MySQL Plugin– Enterprise MySQL Plugin

• Active Directory / LDAP integration– LDAP Plugin

• SOAP / REST integration– JSON Plugin– SOAP Plugin– XML Plugin

• Custom programming– BeanShell Plugin (Java syntax)

Page 22: Joget Workflow Integration Architecture

Software Developer:Developing Plugins

• As Joget Workflow is aimed to be a generic workflow management system, specific requirements for integration to external system can be catered by developing a plugin:

– Write a Java class file that conforms to an interface

– Package the class file as OSGi JAR

– Upload the plugin package using Workflow Management Console

22

Page 23: Joget Workflow Integration Architecture

BY CODING LESS

Do More with Joget Workflow

23

Page 24: Joget Workflow Integration Architecture

Software Developer:Using APIs

• Download Developer Reference from http://sourceforge.net/projects/jogetworkflow/files/

24

Page 25: Joget Workflow Integration Architecture

Software Developer:Build Domain Specific Solution

• Assuming you are developing a HR system

• Coded in any platform you prefer

• Using Joget Workflow to automate the workflow

• Easily integrate into Joget Workflow from HR application system using JSON and JavaScript

• And the processes (e.g. leave approval, claim approval, appraisal process) can be flexibly and easily modified anytime

25

Page 26: Joget Workflow Integration Architecture

Software Developer:Using Ajax JavaScript API

• Embed Task Inbox and Process List into external web application (such as portlet, SharePoint web part, intranet application)

• User authentication (login, logout) from external application

• Complete an assignment / activity from external application

26

Page 27: Joget Workflow Integration Architecture

Software Developer:Using HTTP JSON API• If you have an external application built, and would like

to use Joget Workflow to automate the workflow within this application, you can call the HTTP JSON APIs to integrate into Joget Workflow from external system.

• For example, upon submission of a Leave Application Form from Leave Module – an external application, developer can insert a HTTP JSON call to start a designated process in Joget Workflow.

• Output, if any, will be returned from the JSON API in JSON format.

27

Page 28: Joget Workflow Integration Architecture

Examples of API Use Case

1. Display Joget Workflow task inbox in other web applications, such as portal (SharePoint, Liferay) and content management system (Joomla!, WordPress, Alfresco).

28

Page 29: Joget Workflow Integration Architecture

Examples of API Use Case

2. Start a process in Joget Workflow, from external system.

29

PHP

MySQL

1. Data saved into external database

2. Start evaluation and approval process in Joget Workflow

JSON API

Page 30: Joget Workflow Integration Architecture

Examples of API Use Case

3. Complete a workflow activity from external system, and pass a workflow variable value.

30

A .NET library Complete a workflow activity in

Joget Workflow, and inform JogetWorkflow of the status, by setting a workflow variable value

JavaScript API

Page 31: Joget Workflow Integration Architecture

Examples of API Use Case

4. Single-sign-on from external application.

31

Web Application SSO into Joget Workflow from

external web application, even when both applications are using different user base

JavaScript API

Page 32: Joget Workflow Integration Architecture

Map Activity to External URL

32

Page 33: Joget Workflow Integration Architecture

Infinite Possibilities

33

MySQL SQL Server Oracle

Workflow Engine for Process Automation

Java EE .NET PHP

DMS HR Suite ERP CMSGrant

ApprovalE-

PaymentHospitalMngt

Various process-driven solutions

Varying platforms, integrate using JSON & JavaScript API

Persistence layer built on Hibernate, to achieve database compatibility with a number of DBMS

Page 34: Joget Workflow Integration Architecture

DO MORE, CODE LESS

with Joget Workflow, you too can

34