SlideShare a Scribd company logo
All Rights Reserved © Joget Inc
Joget Workflow v4
Designing your first Process
http://facebook.com/jogetworkflow
http://twitter.com/jogetworkflow
Last Revised on March 2015Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Prerequisites
• Installed Joget
• Understand various components of Joget
• General understanding of Joget as an end user
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Content
1. Business Process Design (BPE)
2. Designing your First Workflow with Workflow Designer
3. Running your First Automated Process
4. Process Monitoring
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 1
Business Process Design
(BPE)
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Business Process Management
• BPM is a management approach focused on aligning all
aspects of an organization with the wants and needs of
clients.
• Wants and needs = business goals
• BPM attempts to improve processes continuously.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Business Process Engineering
1. Identify a process
2. Identify start and end of the process
3. Identify process participants
4. Identify as-is process activities
5. Identify business rules
6. Identify areas for optimization: process activities and
business rules that can be:
– Improved
– Eliminated
7. Draw the improved / to-be process as flowchart
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Identify a Process
• E.g. Leave Application Process
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Start and End of The Process
• Start:
– Applicant submits leave application form
• End:
– Applicant informed with the leave application result
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Process Participants
• Leave applicant
• Leave approver
• HR department
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
• Applicant submits leave application form to HOD
• HOD checks applicant’s leave balance
• HOD approves / rejects leave application
• HOD informs applicant on the application status
• HOD submits approved leave application to HR
Department
As-Is Process Activities
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Business Rules
1. If leave balance is sufficient:
– Approver processes leave approval
Else if leave balance is insufficient:
– Reject leave application
2. If leave application is approved:
– Submits the approved leave application to HR Department
– Inform applicant on the approved leave
Else if leave application is rejected:
– Inform applicant on the rejected leave
Joget Inc Internal Use Only
To-Be Process Activities
As-Is
1. Applicant submits leave
application form to HOD
2. HOD checks applicant’s leave
balance
3. HOD informs applicant on
insufficient leave balance
4. HOD approves / rejects leave
application
5. HOD informs applicant on the
application status
6. HOD submits approved leave
application to HR Department
To-Be
1. Applicant submits leave
application form to HOD
2. System checks applicant’s
leave balance
3. System notifies applicant on
insufficient leave balance
4. HOD approves / rejects leave
application
5. System notifies applicant and
HR Department on the
application status via email
improved
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
To-Be Leave Application Process
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Now, Identify a Process, and Engineer It!
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Sample Process Statement
• Jane needs to get some stationeries. The application that
she submits will must be first approved by her immediate
superior before being sent to the stationery disbursement
department. The department will then notify Jane
accordingly.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Hands-On: Business Process Engineering
1. Process Name
2. Start and End
3. Participants
4. As-Is Activities 5. Business Rules
6. Optimize
7. To-Be Process
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 1 Review
• General understanding on how to best design a Process.
• With the finished process design, one may now
implement it in Joget Workflow.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 2
Designing your First
Workflow with Workflow
Designer
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Business Process Automation
Business Process Design
Workflow Design
Workflow
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Create Your First App
Accepted Characters:
a-z, A-Z, 0-9, _
• Design Apps -> Design New App
Naming convention:
Use Camel Case for better
legibility for App ID, Process
ID, Activity ID
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Create Your First App
• Leave Application
– Leave Approval Process
• Applicant submits
• Approver approves
• Applicant is notified of the application result
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Design your first Workflow Process
• Launch Workflow Designer
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Defining your Workflow Process
• Rename Process ID and Name
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Smart Guide*
Double click
for tips
Can only be
deployed when
there’s no error
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
The * about Smart Guide
• Advises only on possible design errors.
• Will NOT advise on flawed business logic, design
inefficiency.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Mouse-Click Interactions
• Single-click to select an element
• When an element is selected, single-click to insert the
element into workspace
• Right-click to reset the element selection
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Defining Participants
• Rename Participant ID and Name
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Insert Activities and Transitions
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Rename Activity ID and Name
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Completing the Design
• Insert the rest of the activities
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Implementing the Business Rule
• Route: Diamond-shaped node – Used to implement
business rules
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Defining the Transition Condition
• status == ‘Approved’
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Anything else…
• Handling the “otherwise”
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
If and otherwise…
• Does this resemble the typical programming if-else
condition block?
• Is this the best design?
• Why not if-else if?
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Declaring the Workflow Variable
• Variable used in the Workflow Process must be declared
in the Process’s properties.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
• Processes designed are stored in XPDL format.
XPDL
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Good to know
• Expressions in “Condition” are evaluated in Javascript.
• Workflow variable are stored as string.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Also Good to know
• Common Javascript functions are accepted.
– E.g. status == "Approved" && parseInt(balance) > 0
• Make sure of debugger tool such as Firebug to test the
expression before deploying.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Deploying your Process Design
• On the bottom left of the designer, click on “Deploy” to
push your finished design back into your Joget App.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 2 Review
• Create a new App.
• Design and deploy Process design into the App.
• Understand the naming convention.
• Define various kind of process design elements.
• Define workflow variable and condition.
• Deploying process design back to Joget.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 3
Running Your First
Automated Process
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Verify the Workflow Process
• Run through the Workflow Process to verify.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Verify the Workflow Process
• Complete the Assignment to proceed.
Activity name configured
in Workflow Designer
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Accessing the Assignments
• App Center -> Web Console > Run Apps -> Inbox
Set the status variable as
“Approved”
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Determining the flow using route
• Manipulating the Workflow using Workflow Variable
Set the status variable
as “Approved”
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Completing the subsequent assignments
• Verify the flow and complete the flow.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Exercise
• Run the process again to test out the “Rejected” case
scenario.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Good to know
• At this point of time, the App is NOT published yet
therefore end user would not be able to run it.
• “Run Process” available at the App Designer’s Processes
tab is a convenient way for administrator to verify its
design.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 3 Review
• Evaluate and verify the workflow process.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 4
Process Monitoring
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Monitoring Processes
• Allows you to monitor the status of processes, both
running and completed.
• Allows you to view an audit trail of workflow actions
• Captures process data to allow for the generation of
reports.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Monitor Running Processes
Process Instance ID Format:
#_AppId_ProcessId
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Monitor Completed Processes
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
View the Details of a Running Process
Instance
• From the list of running processes, click into any instance.
• Details on the current state of the selected process
instance will be shown.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
View the Details of a Running Process
Instance
Which activities are completed?
Which activity is active now?
Activity Instance ID Format:
#_ProcessInstanceId_ActivityId
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
View the Details of a Running Process
Instance
• There are buttons to allow actions to be taken on the process
instance.
– View Graph
• Displays the workflow diagram, where the current activities are highlighted in
yellow.
– Abort Instance
• Terminates the process instance, leaving the process data intact
– Remove Instance
• Permanently delete the process instance, process data will be removed as well
– Re-evaluate
• In cases where participant mappings are changed before the process is
completed, this action will allow pending assignments to be reassigned to the
newly mapped participants.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
View the Details of an Activity
Workflow variable value
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
View the Details of a Running Activity
Instance
• There are buttons to allow actions to be taken on the activity
instance.
– Re-evaluate
• Re-evaluate the participant mapping for the current activity instance.
– Re-evaluate assignment(s) for user
• Re-evaluate all assignments of a particular user.
– Reassign user
• Reassign one of the assignee(s) of this activity instance to another user.
– Complete
• Complete the activity instance as the current logged in user.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 4 Review
We have learnt to:
1. Monitor running and completed processes.
2. Drill down into activity details of each process that is
running or completed.
3. Debug workflow processes by examining workflow
variable value.
4. Appreciate the “Re-evaluate” feature in process
monitoring.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Module Review
1. Business Process Design (BPE)
2. Designing your First Workflow with Workflow Designer
3. Running your First Automated Process
4. Process Monitoring
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Recommended Further Learning
• Designing Forms for the activities created in your Process
Flow.
• Configure Process Tool plugin for the tool created in your
Process Flow.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Stay Connected with Joget Workflow
• www.joget.org
• community.joget.org
• twitter.com/jogetworkflow
• facebook.com/jogetworkflow
• youtube.com/jogetworkflow
• slideshare.net/joget
Joget Inc Internal Use Only

More Related Content

PPTX
Joget Workflow v5 Training Slides - Module 3 - Designing your first Process
PPTX
Joget Workflow v4 Training - Module 11 - SLA and Deadlines
PPTX
Joget Workflow v4 Training - Module 5 - Designing your First Form
PPTX
Joget Workflow v5 Training Slides - Module 5 - Designing your First Form
PDF
Easy joget v3 for the absolute beginner
PPTX
Joget Workflow v5 Training Slides - Module 11 - SLA and Deadlines
PPTX
Joget Workflow v4 Training - Module 12 - Version Control
PPTX
Joget Workflow v4 Training - Module 13 -Improving your Form Design and Presen...
Joget Workflow v5 Training Slides - Module 3 - Designing your first Process
Joget Workflow v4 Training - Module 11 - SLA and Deadlines
Joget Workflow v4 Training - Module 5 - Designing your First Form
Joget Workflow v5 Training Slides - Module 5 - Designing your First Form
Easy joget v3 for the absolute beginner
Joget Workflow v5 Training Slides - Module 11 - SLA and Deadlines
Joget Workflow v4 Training - Module 12 - Version Control
Joget Workflow v4 Training - Module 13 -Improving your Form Design and Presen...

What's hot (20)

PPTX
Joget Workflow v5 Training - Module 1 - Introduction to Joget Workflow
PPTX
Joget Workflow v5 Training Slides - Module 10 - Participant Mapping and Permi...
PPTX
Joget Workflow v5 Training Slides - Module 21 - Userview Key
PDF
Joget Workflow Training – Basic & Advance for v3.1 – Module 1 – Introduction
PDF
Joget Workflow Web App Development Methodology for the Citizen Developer
PPTX
Joget Workflow v5 Training Slides - Module 7 - Designing your first Datalist
PPTX
Joget Workflow v4 Training - Module 6 - Using your First Process Tool - Email
PPTX
Joget Workflow v4 Training - Module 1 - Introduction to Joget
PPTX
Joget Workflow v5 Training Slides - Module 14 - Introduction to reporting
PPTX
Joget Workflow v5 Training Slides - Module 20 - Basic System Administration
PDF
Joget Workflow Training – Basic & Advance for v3.1 – Module 7 – Creating Data...
PDF
Joget Workflow Training – Basic & Advance for v3.1 – Module 5 – Creating your...
PPTX
Joget Workflow v4 Training - Module 4 - Localizing your Joget
PDF
Joget Workflow Training – Basic & Advance for v3.1 – Module 10 – Hash Variables
PPTX
Joget Workflow v4 Training - Module 9 - Hash Variable
PPTX
Joget Workflow v5 Training Slides - Module 8 - Designing your first Userview
PPTX
Joget Workflow v5 Training Slides - Module 9 - Hash variable
PDF
Joget Workflow Training – Basic & Advance for v3.1 – Module 11 – A Revision -...
PPTX
Joget Workflow v5 Training Slides - Module 12 - Version Control
PPTX
Joget Workflow v5 Training Slides - Module 19 - Doing More With Your Process ...
Joget Workflow v5 Training - Module 1 - Introduction to Joget Workflow
Joget Workflow v5 Training Slides - Module 10 - Participant Mapping and Permi...
Joget Workflow v5 Training Slides - Module 21 - Userview Key
Joget Workflow Training – Basic & Advance for v3.1 – Module 1 – Introduction
Joget Workflow Web App Development Methodology for the Citizen Developer
Joget Workflow v5 Training Slides - Module 7 - Designing your first Datalist
Joget Workflow v4 Training - Module 6 - Using your First Process Tool - Email
Joget Workflow v4 Training - Module 1 - Introduction to Joget
Joget Workflow v5 Training Slides - Module 14 - Introduction to reporting
Joget Workflow v5 Training Slides - Module 20 - Basic System Administration
Joget Workflow Training – Basic & Advance for v3.1 – Module 7 – Creating Data...
Joget Workflow Training – Basic & Advance for v3.1 – Module 5 – Creating your...
Joget Workflow v4 Training - Module 4 - Localizing your Joget
Joget Workflow Training – Basic & Advance for v3.1 – Module 10 – Hash Variables
Joget Workflow v4 Training - Module 9 - Hash Variable
Joget Workflow v5 Training Slides - Module 8 - Designing your first Userview
Joget Workflow v5 Training Slides - Module 9 - Hash variable
Joget Workflow Training – Basic & Advance for v3.1 – Module 11 – A Revision -...
Joget Workflow v5 Training Slides - Module 12 - Version Control
Joget Workflow v5 Training Slides - Module 19 - Doing More With Your Process ...
Ad

Similar to Joget Workflow v4 Training - Module 3 - Designing your First Process (20)

PPTX
Joget Workflow v6 Training Slides - 3 - Designing your First Process
PDF
Joget Workflow Training – Basic & Advance for v3.1 – Module 8 – Participant M...
PDF
Joget Workflow Training – Basic & Advance for v3.1 – Module 9 – SLA and Deadl...
PPTX
Joget Workflow v4 Training - Module 8 - Designing your first Userview
PPTX
Joget Workflow v6 Training Slides - 8 - Designing your First Userview
PPTX
Joget Workflow v6 Training Slides - 5 - Designing your First Form
PPTX
Joget Workflow v4 Training - Module 10 - Participant Mapping and Permission C...
PPTX
Joget Workflow v5 Training Slides - Module 2 - Setting up Joget Workflow
PPTX
Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow
PPTX
Joget Workflow v6 Training Slides - 2 - Setting Up Joget Workflow
PPTX
Joget Workflow v5 Training Slides - Module 6 - Using your first Process Tool
PPTX
Joget Workflow v6 Training Slides - 1 - Introduction to Joget Workflow
PPTX
Joget Workflow v5 Training Slides - Module 13 - Improving your form design an...
PDF
Joget Workflow Training – Basic & Advance for v3.1 – Module 6 – Using the Ema...
PPTX
Joget Workflow v6 Training Slides - 10 - Participant Mapping and Permission C...
PPTX
Joget Workflow v6 Training Slides - 11 - SLA and Deadlines
PPTX
Joget Workflow v6 Training Slides - 19 - Doing More with your Process Design
PPTX
Joget Workflow v6 Training Slides - 6 - Using your First Process Tool
PPTX
Joget Workflow v4 Training - Module 15 - Introduction to Plugin Architecture
PPTX
Joget Workflow v5 Training Slides - Module 15 - Introduction to Plugin Archit...
Joget Workflow v6 Training Slides - 3 - Designing your First Process
Joget Workflow Training – Basic & Advance for v3.1 – Module 8 – Participant M...
Joget Workflow Training – Basic & Advance for v3.1 – Module 9 – SLA and Deadl...
Joget Workflow v4 Training - Module 8 - Designing your first Userview
Joget Workflow v6 Training Slides - 8 - Designing your First Userview
Joget Workflow v6 Training Slides - 5 - Designing your First Form
Joget Workflow v4 Training - Module 10 - Participant Mapping and Permission C...
Joget Workflow v5 Training Slides - Module 2 - Setting up Joget Workflow
Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow
Joget Workflow v6 Training Slides - 2 - Setting Up Joget Workflow
Joget Workflow v5 Training Slides - Module 6 - Using your first Process Tool
Joget Workflow v6 Training Slides - 1 - Introduction to Joget Workflow
Joget Workflow v5 Training Slides - Module 13 - Improving your form design an...
Joget Workflow Training – Basic & Advance for v3.1 – Module 6 – Using the Ema...
Joget Workflow v6 Training Slides - 10 - Participant Mapping and Permission C...
Joget Workflow v6 Training Slides - 11 - SLA and Deadlines
Joget Workflow v6 Training Slides - 19 - Doing More with your Process Design
Joget Workflow v6 Training Slides - 6 - Using your First Process Tool
Joget Workflow v4 Training - Module 15 - Introduction to Plugin Architecture
Joget Workflow v5 Training Slides - Module 15 - Introduction to Plugin Archit...
Ad

More from Joget Workflow (16)

PPTX
Joget Workflow v6 Training Slides - 22 - Best Practices on Application Building
PPTX
Joget Workflow v6 Training Slides - 21 - Userview Key
PPTX
Joget Workflow v6 Training Slides - 20 - Basic System Administration
PPTX
Joget Workflow v6 Training Slides - 18 - Integrating with External System
PPTX
Joget Workflow v6 Training Slides - 17 - Building Plugins
PPTX
Joget Workflow v6 Training Slides - 16 - Preparing Development Environment
PPTX
Joget Workflow v6 Training Slides - 15 - Introduction to Plugin Architecture
PPTX
Joget Workflow v6 Training Slides - 14 - Introduction to Reporting
PPTX
Joget Workflow v6 Training Slides - 13 - Improving your Form Design and Prese...
PPTX
Joget Workflow v6 Training Slides - 12 - Version Control
PPTX
Joget Workflow v6 Training Slides - 9 - Hash Variable
PPTX
Joget Workflow v6 Training Slides - 7 - Designing your First Datalist
PPTX
Joget Workflow v6 Training Slides - 4 - Localizing your Joget Workflow
PPTX
Joget Workflow v5 Training Slides - Module 18 - Integrating with External System
PPTX
Joget Workflow v5 Training Slides - Module 17 - Building Plugins
PPTX
Joget Workflow v5 Training Slides - Module 16 - Preparing Development Environ...
Joget Workflow v6 Training Slides - 22 - Best Practices on Application Building
Joget Workflow v6 Training Slides - 21 - Userview Key
Joget Workflow v6 Training Slides - 20 - Basic System Administration
Joget Workflow v6 Training Slides - 18 - Integrating with External System
Joget Workflow v6 Training Slides - 17 - Building Plugins
Joget Workflow v6 Training Slides - 16 - Preparing Development Environment
Joget Workflow v6 Training Slides - 15 - Introduction to Plugin Architecture
Joget Workflow v6 Training Slides - 14 - Introduction to Reporting
Joget Workflow v6 Training Slides - 13 - Improving your Form Design and Prese...
Joget Workflow v6 Training Slides - 12 - Version Control
Joget Workflow v6 Training Slides - 9 - Hash Variable
Joget Workflow v6 Training Slides - 7 - Designing your First Datalist
Joget Workflow v6 Training Slides - 4 - Localizing your Joget Workflow
Joget Workflow v5 Training Slides - Module 18 - Integrating with External System
Joget Workflow v5 Training Slides - Module 17 - Building Plugins
Joget Workflow v5 Training Slides - Module 16 - Preparing Development Environ...

Recently uploaded (20)

PDF
Cost to Outsource Software Development in 2025
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
medical staffing services at VALiNTRY
PPTX
L1 - Introduction to python Backend.pptx
PDF
Download FL Studio Crack Latest version 2025 ?
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
DOCX
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
17 Powerful Integrations Your Next-Gen MLM Software Needs
PPTX
Patient Appointment Booking in Odoo with online payment
PDF
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
PDF
Salesforce Agentforce AI Implementation.pdf
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Nekopoi APK 2025 free lastest update
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Complete Guide to Website Development in Malaysia for SMEs
Cost to Outsource Software Development in 2025
Digital Systems & Binary Numbers (comprehensive )
medical staffing services at VALiNTRY
L1 - Introduction to python Backend.pptx
Download FL Studio Crack Latest version 2025 ?
Why Generative AI is the Future of Content, Code & Creativity?
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
How to Choose the Right IT Partner for Your Business in Malaysia
17 Powerful Integrations Your Next-Gen MLM Software Needs
Patient Appointment Booking in Odoo with online payment
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
Salesforce Agentforce AI Implementation.pdf
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
iTop VPN Free 5.6.0.5262 Crack latest version 2025
Odoo Companies in India – Driving Business Transformation.pdf
Nekopoi APK 2025 free lastest update
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Operating system designcfffgfgggggggvggggggggg
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Complete Guide to Website Development in Malaysia for SMEs

Joget Workflow v4 Training - Module 3 - Designing your First Process

  • 1. All Rights Reserved © Joget Inc Joget Workflow v4 Designing your first Process http://facebook.com/jogetworkflow http://twitter.com/jogetworkflow Last Revised on March 2015Joget Inc Internal Use Only
  • 2. All Rights Reserved © Joget Inc Prerequisites • Installed Joget • Understand various components of Joget • General understanding of Joget as an end user Joget Inc Internal Use Only
  • 3. All Rights Reserved © Joget Inc Content 1. Business Process Design (BPE) 2. Designing your First Workflow with Workflow Designer 3. Running your First Automated Process 4. Process Monitoring Joget Inc Internal Use Only
  • 4. All Rights Reserved © Joget Inc Chapter 1 Business Process Design (BPE) Joget Inc Internal Use Only
  • 5. All Rights Reserved © Joget Inc Business Process Management • BPM is a management approach focused on aligning all aspects of an organization with the wants and needs of clients. • Wants and needs = business goals • BPM attempts to improve processes continuously. Joget Inc Internal Use Only
  • 6. All Rights Reserved © Joget Inc Business Process Engineering 1. Identify a process 2. Identify start and end of the process 3. Identify process participants 4. Identify as-is process activities 5. Identify business rules 6. Identify areas for optimization: process activities and business rules that can be: – Improved – Eliminated 7. Draw the improved / to-be process as flowchart Joget Inc Internal Use Only
  • 7. All Rights Reserved © Joget Inc Identify a Process • E.g. Leave Application Process Joget Inc Internal Use Only
  • 8. All Rights Reserved © Joget Inc Start and End of The Process • Start: – Applicant submits leave application form • End: – Applicant informed with the leave application result Joget Inc Internal Use Only
  • 9. All Rights Reserved © Joget Inc Process Participants • Leave applicant • Leave approver • HR department Joget Inc Internal Use Only
  • 10. All Rights Reserved © Joget Inc • Applicant submits leave application form to HOD • HOD checks applicant’s leave balance • HOD approves / rejects leave application • HOD informs applicant on the application status • HOD submits approved leave application to HR Department As-Is Process Activities Joget Inc Internal Use Only
  • 11. All Rights Reserved © Joget Inc Business Rules 1. If leave balance is sufficient: – Approver processes leave approval Else if leave balance is insufficient: – Reject leave application 2. If leave application is approved: – Submits the approved leave application to HR Department – Inform applicant on the approved leave Else if leave application is rejected: – Inform applicant on the rejected leave Joget Inc Internal Use Only
  • 12. To-Be Process Activities As-Is 1. Applicant submits leave application form to HOD 2. HOD checks applicant’s leave balance 3. HOD informs applicant on insufficient leave balance 4. HOD approves / rejects leave application 5. HOD informs applicant on the application status 6. HOD submits approved leave application to HR Department To-Be 1. Applicant submits leave application form to HOD 2. System checks applicant’s leave balance 3. System notifies applicant on insufficient leave balance 4. HOD approves / rejects leave application 5. System notifies applicant and HR Department on the application status via email improved Joget Inc Internal Use Only
  • 13. All Rights Reserved © Joget Inc To-Be Leave Application Process Joget Inc Internal Use Only
  • 14. All Rights Reserved © Joget Inc Now, Identify a Process, and Engineer It! Joget Inc Internal Use Only
  • 15. All Rights Reserved © Joget Inc Sample Process Statement • Jane needs to get some stationeries. The application that she submits will must be first approved by her immediate superior before being sent to the stationery disbursement department. The department will then notify Jane accordingly. Joget Inc Internal Use Only
  • 16. All Rights Reserved © Joget Inc Hands-On: Business Process Engineering 1. Process Name 2. Start and End 3. Participants 4. As-Is Activities 5. Business Rules 6. Optimize 7. To-Be Process Joget Inc Internal Use Only
  • 17. All Rights Reserved © Joget Inc Chapter 1 Review • General understanding on how to best design a Process. • With the finished process design, one may now implement it in Joget Workflow. Joget Inc Internal Use Only
  • 18. All Rights Reserved © Joget Inc Chapter 2 Designing your First Workflow with Workflow Designer Joget Inc Internal Use Only
  • 19. All Rights Reserved © Joget Inc Business Process Automation Business Process Design Workflow Design Workflow Joget Inc Internal Use Only
  • 20. All Rights Reserved © Joget Inc Joget Inc Internal Use Only
  • 21. All Rights Reserved © Joget Inc Joget Inc Internal Use Only
  • 22. All Rights Reserved © Joget Inc Create Your First App Accepted Characters: a-z, A-Z, 0-9, _ • Design Apps -> Design New App Naming convention: Use Camel Case for better legibility for App ID, Process ID, Activity ID Joget Inc Internal Use Only
  • 23. All Rights Reserved © Joget Inc Create Your First App • Leave Application – Leave Approval Process • Applicant submits • Approver approves • Applicant is notified of the application result Joget Inc Internal Use Only
  • 24. All Rights Reserved © Joget Inc Design your first Workflow Process • Launch Workflow Designer Joget Inc Internal Use Only
  • 25. All Rights Reserved © Joget Inc Defining your Workflow Process • Rename Process ID and Name Joget Inc Internal Use Only
  • 26. All Rights Reserved © Joget Inc Smart Guide* Double click for tips Can only be deployed when there’s no error Joget Inc Internal Use Only
  • 27. All Rights Reserved © Joget Inc The * about Smart Guide • Advises only on possible design errors. • Will NOT advise on flawed business logic, design inefficiency. Joget Inc Internal Use Only
  • 28. All Rights Reserved © Joget Inc Mouse-Click Interactions • Single-click to select an element • When an element is selected, single-click to insert the element into workspace • Right-click to reset the element selection Joget Inc Internal Use Only
  • 29. All Rights Reserved © Joget Inc Defining Participants • Rename Participant ID and Name Joget Inc Internal Use Only
  • 30. All Rights Reserved © Joget Inc Insert Activities and Transitions Joget Inc Internal Use Only
  • 31. All Rights Reserved © Joget Inc Rename Activity ID and Name Joget Inc Internal Use Only
  • 32. All Rights Reserved © Joget Inc Completing the Design • Insert the rest of the activities Joget Inc Internal Use Only
  • 33. All Rights Reserved © Joget Inc Implementing the Business Rule • Route: Diamond-shaped node – Used to implement business rules Joget Inc Internal Use Only
  • 34. All Rights Reserved © Joget Inc Defining the Transition Condition • status == ‘Approved’ Joget Inc Internal Use Only
  • 35. All Rights Reserved © Joget Inc Anything else… • Handling the “otherwise” Joget Inc Internal Use Only
  • 36. All Rights Reserved © Joget Inc If and otherwise… • Does this resemble the typical programming if-else condition block? • Is this the best design? • Why not if-else if? Joget Inc Internal Use Only
  • 37. All Rights Reserved © Joget Inc Declaring the Workflow Variable • Variable used in the Workflow Process must be declared in the Process’s properties. Joget Inc Internal Use Only
  • 38. All Rights Reserved © Joget Inc • Processes designed are stored in XPDL format. XPDL Joget Inc Internal Use Only
  • 39. All Rights Reserved © Joget Inc Good to know • Expressions in “Condition” are evaluated in Javascript. • Workflow variable are stored as string. Joget Inc Internal Use Only
  • 40. All Rights Reserved © Joget Inc Also Good to know • Common Javascript functions are accepted. – E.g. status == "Approved" && parseInt(balance) > 0 • Make sure of debugger tool such as Firebug to test the expression before deploying. Joget Inc Internal Use Only
  • 41. All Rights Reserved © Joget Inc Deploying your Process Design • On the bottom left of the designer, click on “Deploy” to push your finished design back into your Joget App. Joget Inc Internal Use Only
  • 42. All Rights Reserved © Joget Inc Chapter 2 Review • Create a new App. • Design and deploy Process design into the App. • Understand the naming convention. • Define various kind of process design elements. • Define workflow variable and condition. • Deploying process design back to Joget. Joget Inc Internal Use Only
  • 43. All Rights Reserved © Joget Inc Chapter 3 Running Your First Automated Process Joget Inc Internal Use Only
  • 44. All Rights Reserved © Joget Inc Verify the Workflow Process • Run through the Workflow Process to verify. Joget Inc Internal Use Only
  • 45. All Rights Reserved © Joget Inc Verify the Workflow Process • Complete the Assignment to proceed. Activity name configured in Workflow Designer Joget Inc Internal Use Only
  • 46. All Rights Reserved © Joget Inc Accessing the Assignments • App Center -> Web Console > Run Apps -> Inbox Set the status variable as “Approved” Joget Inc Internal Use Only
  • 47. All Rights Reserved © Joget Inc Determining the flow using route • Manipulating the Workflow using Workflow Variable Set the status variable as “Approved” Joget Inc Internal Use Only
  • 48. All Rights Reserved © Joget Inc Completing the subsequent assignments • Verify the flow and complete the flow. Joget Inc Internal Use Only
  • 49. All Rights Reserved © Joget Inc Exercise • Run the process again to test out the “Rejected” case scenario. Joget Inc Internal Use Only
  • 50. All Rights Reserved © Joget Inc Good to know • At this point of time, the App is NOT published yet therefore end user would not be able to run it. • “Run Process” available at the App Designer’s Processes tab is a convenient way for administrator to verify its design. Joget Inc Internal Use Only
  • 51. All Rights Reserved © Joget Inc Chapter 3 Review • Evaluate and verify the workflow process. Joget Inc Internal Use Only
  • 52. All Rights Reserved © Joget Inc Chapter 4 Process Monitoring Joget Inc Internal Use Only
  • 53. All Rights Reserved © Joget Inc Monitoring Processes • Allows you to monitor the status of processes, both running and completed. • Allows you to view an audit trail of workflow actions • Captures process data to allow for the generation of reports. Joget Inc Internal Use Only
  • 54. All Rights Reserved © Joget Inc Monitor Running Processes Process Instance ID Format: #_AppId_ProcessId Joget Inc Internal Use Only
  • 55. All Rights Reserved © Joget Inc Monitor Completed Processes Joget Inc Internal Use Only
  • 56. All Rights Reserved © Joget Inc View the Details of a Running Process Instance • From the list of running processes, click into any instance. • Details on the current state of the selected process instance will be shown. Joget Inc Internal Use Only
  • 57. All Rights Reserved © Joget Inc View the Details of a Running Process Instance Which activities are completed? Which activity is active now? Activity Instance ID Format: #_ProcessInstanceId_ActivityId Joget Inc Internal Use Only
  • 58. All Rights Reserved © Joget Inc View the Details of a Running Process Instance • There are buttons to allow actions to be taken on the process instance. – View Graph • Displays the workflow diagram, where the current activities are highlighted in yellow. – Abort Instance • Terminates the process instance, leaving the process data intact – Remove Instance • Permanently delete the process instance, process data will be removed as well – Re-evaluate • In cases where participant mappings are changed before the process is completed, this action will allow pending assignments to be reassigned to the newly mapped participants. Joget Inc Internal Use Only
  • 59. All Rights Reserved © Joget Inc View the Details of an Activity Workflow variable value Joget Inc Internal Use Only
  • 60. All Rights Reserved © Joget Inc View the Details of a Running Activity Instance • There are buttons to allow actions to be taken on the activity instance. – Re-evaluate • Re-evaluate the participant mapping for the current activity instance. – Re-evaluate assignment(s) for user • Re-evaluate all assignments of a particular user. – Reassign user • Reassign one of the assignee(s) of this activity instance to another user. – Complete • Complete the activity instance as the current logged in user. Joget Inc Internal Use Only
  • 61. All Rights Reserved © Joget Inc Chapter 4 Review We have learnt to: 1. Monitor running and completed processes. 2. Drill down into activity details of each process that is running or completed. 3. Debug workflow processes by examining workflow variable value. 4. Appreciate the “Re-evaluate” feature in process monitoring. Joget Inc Internal Use Only
  • 62. All Rights Reserved © Joget Inc Module Review 1. Business Process Design (BPE) 2. Designing your First Workflow with Workflow Designer 3. Running your First Automated Process 4. Process Monitoring Joget Inc Internal Use Only
  • 63. All Rights Reserved © Joget Inc Recommended Further Learning • Designing Forms for the activities created in your Process Flow. • Configure Process Tool plugin for the tool created in your Process Flow. Joget Inc Internal Use Only
  • 64. All Rights Reserved © Joget Inc Stay Connected with Joget Workflow • www.joget.org • community.joget.org • twitter.com/jogetworkflow • facebook.com/jogetworkflow • youtube.com/jogetworkflow • slideshare.net/joget Joget Inc Internal Use Only