Upload
joget-workflow
View
317
Download
3
Embed Size (px)
Citation preview
All Rights Reserved © Joget Inc
Joget Workflow v5
Setting up Joget Workflow
http://facebook.com/jogetworkflowhttp://twitter.com/jogetworkflow
Last Revised on May 2016Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Prerequisites
• Introduced to Joget Workflow• Good understanding on how to operate a computer as an
end user.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Content
1. System Requirements2. Installation3. Overview of User Management4. Joget Workflow End User Experience5. Joget Workflow App Generator
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 1
System Requirements
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
System Requirements
• Operating System: Windows or Linux• Free system memory: 512MB• Free disk space: 500MB
• Note: This is only good for the purpose of learning• Note: Strictly NOT for production
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
System Requirements for Production
• It varies… wildly.– More reading at Joget Workflow Deployment Best Practices http
://dev.joget.org/community/display/KBv4/Joget+Workflow+Deployment+Best+Practices
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 2
Installation
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Installation
• Installers can be downloaded from www.joget.org/download
• Instructions are available at http://dev.joget.org/community/display/KBv5/Installation
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
What’s needed?
• (RDBMS) database system such as MySQL, MSSQL, Oracle DB2…
• Web Application Server such as Apache Tomcat, Web Logic…
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Installation Bundles
• On Windows– Community Edition with Tomcat and MySQL server bundled.
• Tomcat runs at port 8080 by default.• MySQL runs at port 3307 with default credential.
– Enterprise Edition with Tomcat bundled.• On Linux
– Joget with Tomcat bundled• Tomcat runs at port 8080 by default.
Joget Inc Internal Use Only
Apache Tomcat 7 (JSP Servlet Container) MySQL (Database)
All Rights Reserved © Joget Inc
On Windows - Starting and Stopping Joget Workflow• To Start:
Start > Programs > Joget Workflow > Start Joget ServerLeave the Tomcat console window open. Closing the console window will terminate Tomcat (and Joget Server).
• To Stop:Start > Programs > Joget Workflow > Stop Joget ServerOn certain systems, you will need to manually close the Tomcat console window after stopping the Joget Server.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
On Linux - Starting and Stopping Joget Workflow
• To Start:– Start the Database server used to host database used by Joget.– Start Tomcat server accordingly.
• To Stop: – Likewise, in reverse order, stop the Tomcat server, then the
database server.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Optional - Setting up the database
• Once you have the App Server started, navigate to http://[domain]:[port]/[context path]Default values[domain] = localhost[port] = 8080[context path] = jwhttp://localhost:8080/jw
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Optional - Setting up the database
• Follow the on screen instructions to initialize your new Joget Workflow database accordingly.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Optional - Java Runtime Environment
• JRE 5 and above (JRE 7 is the most recommended) is needed to run Workflow Designer
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Interacting with Joget Workflow
• Use the shortcut in the Programs group, or go to address:http://localhost:8080/jw– Username: admin– Password: admin
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Introducing the App Center
• The landing page for Joget Workflow by default (customizable) is the App Center where *all the Joget Workflow Apps will be listed down.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Introducing the Admin Bar
• Once logged in as administrator, the Admin Bar will show up. It is conveniently placed on the right of the page all the time for easy access to all administrative features.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 3
Overview of User Management
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Accessing the User Management
• From the Admin bar, click on Users.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Overview of User Management
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Organization
Department
Sub-Department (Optional)
User
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Sample Organization Chart
First Name is the username, and password is “password”.
e.g: cat/password
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Discussion
• Can we use LDAP/AD alongside with Joget?
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 4
Joget Workflow End User Experience
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Try out the Joget Experience
• From the list of sample apps pre-installed in your Joget, try out one of the apps as an end user.– HR Expenses Claim App
• Submit as Cat• Approve as Clark• Verify as Admin
• Study the App design– Process design– Form design– Datalist design– Userview design
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 5
Joget Workflow App Generator
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Joget App Generator
• Quick and convenient way of creating a new Joget App based on ready/existing template.
• THINK! App Generator as the boilerplate for your App design.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Let’s try it out!
• Create a new App– Name it as Express Leave App
• Create a new Form– Name it as Application Form.
(id: applicationForm, table: eleave_applications)• On top right of the Form Builder
– Click on Generate App– Check all– Generate
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Try out the Joget Experience (again) on this newly created App
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Module Review
1. System Requirements2. Installation3. Overview of User Management4. Joget Workflow End User Experience5. Joget Workflow App Generator
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Recommended Further Learning
• Designing your first Process
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Stay Connected with Joget Workflow
• http://www.joget.org • http://community.joget.org • http://twitter.com/jogetworkflow • http://facebook.com/jogetworkflow • http://youtube.com/jogetworkflow • http://slideshare.net/joget
Joget Inc Internal Use Only