Joget Workflow Integration Architecture
-
Upload
joget-workflow -
Category
Technology
-
view
11.077 -
download
6
description
Transcript of Joget Workflow Integration Architecture
![Page 1: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/1.jpg)
Workflow
Integration Architecture
www.joget.org
![Page 2: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/2.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/3.jpg)
3
![Page 4: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/4.jpg)
THE CODELESS WAY
Do More with Joget Workflow
4
![Page 5: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/5.jpg)
Process Analyst:Using Workflow Designer
5
![Page 6: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/6.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/7.jpg)
Process Analyst:Using Workflow Management Console
7
![Page 8: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/8.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/9.jpg)
Administrator:Using Workflow Management Console
9
![Page 10: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/10.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/11.jpg)
End-User:Using Workflow Management Console
11
![Page 12: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/12.jpg)
End-User:Using Workflow Management Console
• Run process
• Perform tasks assigned
• View task history
12
![Page 13: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/13.jpg)
End-User:Using Userview
13
![Page 14: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/14.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/15.jpg)
JUST BY SETTING CONFIGURATIONS
Do More with Joget Workflow
15
![Page 16: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/16.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/17.jpg)
Integrator:Using Plugins
17
![Page 18: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/18.jpg)
Integrator:Using Plugins
18
SOAP Plugin
MySQL Plugin Email Plugin
![Page 19: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/19.jpg)
Integrator:Configuring Plugin (Email Plugin)
19
![Page 20: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/20.jpg)
Integrator:Configuring Plugin (MySQL Plugin)
20
![Page 21: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/21.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/22.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/23.jpg)
BY CODING LESS
Do More with Joget Workflow
23
![Page 24: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/24.jpg)
Software Developer:Using APIs
• Download Developer Reference from http://sourceforge.net/projects/jogetworkflow/files/
24
![Page 25: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/25.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/26.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/27.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/28.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/29.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/30.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/31.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/32.jpg)
Map Activity to External URL
32
![Page 33: Joget Workflow Integration Architecture](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/33.jpg)
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](https://reader033.fdocuments.us/reader033/viewer/2022050702/54bb955b4a7959a8178b457e/html5/thumbnails/34.jpg)
DO MORE, CODE LESS
with Joget Workflow, you too can
34