Open Source Process Automation Mgr. Marian Macik, Senior Software Quality Engineer February 2023 GETTING STARTED AGENDA ❏ What is jBPM? ❏ BPM Labs Intro ❏ Business automation ❏ Architecture ❏ New project in Business Central ❏ Business assets ❏ Data objects ❏ Business processes ❏ Forms ❏ Process administration ❏ Team collaboration 01 02 03 04 Execution MonitoringModeling Management Lightweight Workflow Engine WHAT IS jBPM? jBPM LABS 16 Feb Getting started with jBPM 23 Feb Building your first process automation project (homework) 6 Apr The latest business automation trends (presentation) Implementing advanced BPMN2 constructs in jBPM 20 Apr DMN decisions and testing Kogito services 4 May - 11 May Project consulting 26 May - 16 Jun Project defense FROM A MODEL TO PRODUCTION MINIMAL VANILLAARCHITECTURE http://localhost:8080/business-central http://localhost:8080/kie-server/docs SETUP - THE FIRST STEPS ❏ Download and install OpenJDK 11.0.15+10 (Oracle JDK 8 and 11 will work too if you have already installed them before) ❏ JDK 11 must be the specific version ❏ JDK 8 can be the latest ❏ Configure JAVA_HOME environment variable ❏ Download and unzip the single zip distribution ❏ Run from inside the jbpm-server directory: ./bin/standalone.sh (Unix / Linux) ./bin/standalone.bat (Windows) ❏ Log in using wbadmin/wbadmin ❏ Add users and groups ❏ Use H2/MySQL/PostgreSQL database (optional) ❏ More info in Getting Started Guide SETUP - DISABLE JAEGER WARNINGS ❏ Open /standalone/configuration/standalone.xml ❏ Change sampler-param="1.0" to sampler-param="0.0" in ❏ This will remove unnecessary messages in the server log NEW PROJECT IN BUSINESS CENTRAL ❏ Based on Maven and stored in Asset repository (GIT) ❏ Try Samples ❏ SNAPSHOT development version ❏ Add assets ❏ Data Object ❏ Business Process ❏ Form ❏ DMN Model ❏ Test Scenarios ❏ Build and Deploy DATA MODELING PROCESS MODELING ❏ BPMN2 support ❏ Focus on execution semantics ❏ Data I/Os ❏ Human tasks ❏ Decisions and calculations ❏ External calls ❏ Catching and triggering events ❏ Form generating ❏ Export to PNG, PDF, SVG, BPMN2 FORM MODELING ❏ Generate forms for ❏ Data objects (reusable) ❏ Process start form ❏ Task form ❏ Widget library able to bind different types of data (TextBox, DatePickers, Checkboxes, ListBox, Nested Forms...) PROCESS ADMINISTRATION ❏ Quick access to: ❏ Process Definitions ❏ Process Instances ❏ Tasks ❏ Execution errors ❏ Jobs ❏ Filtering PROCESS MONITORING ❏ Process reports ❏ Task reports TEAM COLLABORATION ❏ How to work on a project as a team without any complex setup of the infrastructure (git hooks, central git repository, …) 1. Split the work between the team members 2. Export project 3. Share your assets with your team 4. Import assets to your local instance TEAM COLLABORATION VIA GIT ❏ Requires only basic Git skills ❏ Pull your business assets from Business Central 1. git remote add business-central ssh://wbadmin@localhost:8001// 2. git pull business-central master 3. password wbadmin ❏ Push your business assets for example to GitHub 1. git push github master ❏ Import your business assets to another Business Central either by pushing to it or by cloning whole repository from UI BONUS: EASYACCESS TO BPMN EDITORS ❏ Red Hat Business Automation Bundle Visual Studio Code extension ❏ bpmn.new website CONFIDENTIAL Designator linkedin.com/company/red-hat youtube.com/user/RedHatVideos facebook.com/redhatinc twitter.com/RedHat THANK YOU BUSINESS PROCESS MANAGEMENT “A business process is a collection of activities that takes one or more kinds of input and creates an output that is of value to the customer. A business process has a goal and is affected by events occurring in the external world or in other processes.” Hammer, M. and Champy, J. the way a company manages and improves business processes ● approval process ● payment process ● employee onboarding ● loan/mortgage application ● Manufactoring / assembly line ● service requests ● rent car process ● vacation approval ● media publish process RETURN ON INVESTMENTS (ROI) Frequency Size and complexity Diversity (actors, systems, rules) Speed (SLAs) Time (spent on a single manual task) x Frequency (of performing a task per month) x Cost (per hour) x 12 (months) = Yearly Savings Our focus BUSINESS AUTOMATION ❏ BPM ❏ Decision Management ❏ Case Management ❏ Resource Planning ❏ Robotic Process Automation (RPA) ❏ AI, XAI, and Machine Learning See BPM in context