Build a Workflow

This documentation is for frevvo v10.0. Not for you? Earlier documentation is available too.

Build a Workflow

This guide takes you through step by step instructions to create a Leave Approval Workflow. This tutorial uses the form you created in the Build a Form tutorial.

We strongly recommend that you jump directly to the Workflow Tutorial if you are already comfortable using the Workflow Designer. The Workflow Tutorial teaches you important workflow design patterns and increases your skills using the many workflow designer features.

A common example of a workflow is a Leave Approval workflow, where an employee requests vacation and the manager must either approve it, reject it or send it back to the employee for corrections. Typically, the process is paper or email-based. The employee fills out a paper form and hands it to the manager for a signature. The form is then faxed or delivered to HR where it is saved in a folder or scanned into the HR or document management system.

Using frevvo, you can automate this workflow so that it is completely electronic and paperless. Further, you can integrate the workflow with Google Apps, a document management system, your database or custom business system so that the leave approvals are stored online.

The steps for the Leave Approval workflow are as shown in the figure:

  1. The employee goes to a web page that embeds the workflow. frevvo makes this very easy to do.

  2. The form is configured so that the employee only sees the relevant portion of the form, i.e. the employee does not see the Manager Approval section or the HR Review section. The employee information and manager ID are automatically populated by frevvo.

  3. The employee fills in the form, digitally signs it and clicks a Submit Request button.

  4. frevvo puts the leave approval request on the specific manager's task list, [optionally] notifies the Manager by email and displays a confirmation message to the employee.

  5. The manager logs in and visits a web page that displays an electronic task list. All pending leave approval requests will be displayed in the task list.

  6. The manager clicks to perform an approval. The Manager-specific portions of the form are now visible. The data entered by the employee is automatically populated for the manager to review.

  7. If the manager requires corrections, the form can be sent back to the employee to make changes.

  8. Once approved, the manager digitally signs the form and clicks Submit Request.

  9. In the final step, the workflow is sent to the HR department to update records and/or make comments.

frevvo In-house Only

If you are using frevvo In-house software installed locally on your own machine, then the 1st step is to login as the admin user and create your 1st tenant. Follow the steps below:

  1. Login as admin@d and type in the default password: admin.  

  2. Click Manage Tenants. 

  3. Click the

    icon to create a new tenant 

  4. Do not check the "Are you creating a tenant for Confluence" checkbox. Leave the Max Concurrent Users and the Security Manager Class blank.

  5. Fill in the rest of the fields for your tenant.  Click Submit.

frevvo In-house and Online

The next steps are for both frevvo In-house and Online tenant users:

  1. Login as the tenant admin user. An example of the tenant admin user id is: admin@mycompany. 

  2. Each tenant has its own admin user that has permission to perform management functions for the tenant such as creating new users and roles. For frevvo In-house software users it is important to note the distinction between the frevvo admin user and the tenant admin user. Next we need to create a few users and roles in this tenant that we'll use in our Leave Approval workflow.

Setup users and roles

This is a one-time setup that will have to be performed by an administrator.

We will need to create three roles for the Leave Approval workflow:

  1. Click Manage Roles. Notice that the role frevvo.designer already exist by default and cannot be deleted. 

  2. Click the 

    icon to create a new role. Add the role name "Employee" and click Submit.

  3. Repeat step 2 to add the "Manager" and "HR" roles.

  4. Click the Back to Manage Tenant link. 

  5. Click Manage Users. Notice that the user admin already exists by default and cannot be deleted. 

  6. Click the

    icon each time to create a new user. 

  7. Add the user named "jerry" and assign jerry the role Manager. Remember to click submit for each one. 

  8. Add the user named "tom".  Assign the Employee role to user tom. Since jerry is tom's manager, select jerry from the dropdown list in the Reports to field.

     

  9. Add the user sue and assign sue the role of HR.

  10. Add the user named "designer" and assign the special role of frevvo.designer

  11. Logoff as the tenant admin.

  12. You now have your tenant setup and ready to create and test a simple Leave Approval workflow.

Creating the Leave Approval Workflow

  1. Logon to your frevvo tenant as the designer user i.e.designer@mycompany. Replace mycompany with the name of your frevvo tenant.

  2. On the My Project homepage, click the project name My Company HR that you created in the Build a Form tutorial. You can also select 

     Open from the
    Action Menu. 

  3. You will see the Forms and Workflows homepage.

  4. Click the

    Add icon and select

    Create a New Workflow.

  5. Name the workflow Leave Approval Workflow and give it a meaningful description. Click NEXT.

  6. Now the Workflow Design Wizard will guide you through creating and assigning steps.

    1. Rename Step 1 "Employee" and change the Step Type to Use Existing Form: Leave Approval. This will use your existing Leave Approval form to start the workflow.

    2. Click 

       Add and rename Step 2 "Manager". Leave the default Step Type of Approval Step. Change Assignment Type to "To a User". You can select any user in your tenant.

    3. Click 

       Add and rename Step 3 "HR". Leave the default Step Type of Approval Step. Change Assignment Type to "To Role(s)" and select HR.

    4. Click FINISH. Here is what your workflow should look like:

Workflow

Customize the User's Experience

Next we'll customize the buttons and messages the users will see as they interact with the workflow. First, click Workflow in the Guided Designer header to return to the Workflow Outline.