Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

30
All Rights Reserved © Joget Inc Joget Workflow v4 Setting up Joget Workflow http://facebook.com/jogetworkflow http://twitter.com/jogetworkflow Last Revised on March 2015 Joget Inc Internal Use Only

Transcript of Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

Page 1: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Joget Workflow v4

Setting up Joget Workflow

http://facebook.com/jogetworkflowhttp://twitter.com/jogetworkflow

Last Revised on March 2015Joget Inc Internal Use Only

Page 2: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Prerequisites

• Introduced to Joget

• Good understanding on how to operate a computer as an end user.

Joget Inc Internal Use Only

Page 3: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Content

1. System Requirements

2. Installation

3. Overview of User Management

4. Joget End User Experience

5. Joget App Generator

Joget Inc Internal Use Only

Page 4: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Chapter 1

System Requirements

Joget Inc Internal Use Only

Page 5: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

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

Page 6: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

System Requirements for Production

• It varies… wildly.

– More reading at Joget Workflow Deployment Best Practiceshttp://dev.joget.org/community/display/KBv4/Joget+Workflow+Deployment+Best+Practices

Joget Inc Internal Use Only

Page 7: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Chapter 2

Installation

Joget Inc Internal Use Only

Page 8: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Installation

• Installation wizard and bundle can be downloaded from www.joget.org/download

• On Windows

– Download “v4 Enterprise Edition – Setup Wizard for Windows” and follow on-screen instructions.

• On Linux

– Download “v4 Enterprise Edition – Bundle for Linux” and follow the instructions on http://dev.joget.org/community/display/KBv4/Installation+on+Linux

Joget Inc Internal Use Only

Page 9: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Java Runtime Environment

• JRE 5 and above (JRE 7 is the most recommended) is needed to run Workflow Designer

Joget Inc Internal Use Only

Page 10: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Installation – Windows Bundle

• On Windows

– Joget with Tomcat and MySQL server bundled.• Tomcat runs at port 8080 by default.

• MySQL runs at port 3307 with default credential.

• On Linux

– Joget with Tomcat• Tomcat runs at port 8080 by default.

Joget Inc Internal Use Only

Apache Tomcat 7 (JSP Servlet Container) MySQL (Database)

Page 11: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

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 Server

On certain systems, you will need to manually close the Tomcat console window after stopping the Joget Server.

Joget Inc Internal Use Only

Page 12: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

On Linux - Starting and Stopping JogetWorkflow

• 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

Page 13: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Interacting with Joget Workflow

• Administration and user interaction with Joget Workflow is done through the Workflow Management Console(WMC).

• The WMC can be accessed only after the Joget Workflow server has been started.

• Use the shortcut in the Programs group, or go to address:http://localhost:8080/jw

– Username: admin

– Password: admin

Joget Inc Internal Use Only

Page 14: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Introducing the Admin Bar

• Conveniently placed on the right of the page all the time for easy access to all administrative features.

Joget Inc Internal Use Only

Page 15: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

and the Web Console

• The web console (first developed on Joget v3) is an alternative ways of accessing what the Admin Bar can access. They are both interchangeable.

Joget Inc Internal Use Only

Page 16: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Chapter 3

Overview of User Management

Joget Inc Internal Use Only

Page 17: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Accessing the User Management

Joget Inc Internal Use Only

Page 18: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Overview of User Management

Joget Inc Internal Use Only

Page 19: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Organization

Department

Sub-Department (Optional)

User

Joget Inc Internal Use Only

Page 20: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

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

Page 21: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Discussion

• Can we use LDAP/AD alongside with Joget?

Joget Inc Internal Use Only

Page 22: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Chapter 4

Joget End User Experience

Joget Inc Internal Use Only

Page 23: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

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

Page 24: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Chapter 4

Joget App Generator

Joget Inc Internal Use Only

Page 25: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

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

Page 26: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

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: ex_leave_applications)

• On top right of the Form Builder

– Click on Generate App

– Check all

– Generate

Joget Inc Internal Use Only

Page 27: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Try out the Joget Experience (again) on this newly created App

Joget Inc Internal Use Only

Page 28: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Module Review

1. System Requirements

2. Installation

3. Overview of User Management

4. Joget End User Experience

5. Joget App Generator

Joget Inc Internal Use Only

Page 29: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

All Rights Reserved © Joget Inc

Recommended Further Learning

• Designing your first Process

Joget Inc Internal Use Only

Page 30: Joget Workflow v4 Training - Module 2 - Setting up Joget Workflow

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