Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following scenario simulates a simple leave approval business process, in which an employee fills a form and submits the leave request to the manager and the manager approves or rejects it. 


Tip

Before you begin,

  • Download the product installer from here, and run the installer.
    Insert excerpt
    Installing the Product
    Installing the Product
    nopaneltrue
  • Select the relevant WSO2 Integration Studio based on your operating system and download it from here.
    The path to this folder is referred to as <EI_TOOLING> throughout this tutorial.

    Info

    Getting an error message? See the troubleshooting tips given under Installing WSO2 Integration Studio.

Let's get started! This tutorial includes the following sections:

...

  1. Start the Business Process profile of WSO2 EI.

    Panel
    borderColor#542989
    bgColor#ffffff
    borderWidth1
    Localtabgroup
    Localtab
    titleOn MacOS/Linux/CentOS

    Open a terminal and execute the following command:

    Code Block
    wso2ei-6.46.0-business-process
    Localtab
    titleOn Windows

    Go to  Start Menu -> Programs -> WSO2 -> Enterprise Integrator 6.46.0 Business Process. This will open a terminal and start the business process profile.

  2. Log in to the BPMN-explorer at https://localhost:9445/bpmn-explorer using admin for both the username and password.
  3. Click PROCESSES in the top menu, and click the Start option of the Leave Approval Process.
  4. Initiate the process by filling the form and click Start.

    You view the following message.

  5. Log out and log in again using manager/manager credentials. 
  6. Click TASKS and then click MY TASKS. You view the Claimable Task, which was created by the process you started. 


  7. Click on the Task, select A pprove from the drop down list and click Complete Task.

    You view the Task being removed from the  MY TASKS list. 

  8. Click TASKS in the top menu, and then click COMPLETED TASKS. You view the Task you just completed being added to the COMPLETED TASKS list.

...