Versions Compared

Key

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

...

Note

Note: usertask3 is the id of the "revise amount" task. At the declaration of the exclusive gateway, flow3 is defined as the default. This makes "review application" the default task that will be executed after the condition.

<exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway" default="flow3"></exclusiveGateway>

Running the sample

  1. Follow the steps in Deploying BPMN Samples to deploy the sample using the WSO2 BPS management console. 
  2. Log in to the BPMN Explorer using the client/client credentials.
  3. Select the PROCESSES tab to view the task in the task list.
  4. Click the Start button next to the LoanApprovalProcess sample. 
  5. Fill in the required details (i.e., income and loan amount) and click Start.
  6. If the loan amount is less than 50,000, select the MY TASKS tab. You will see the that another task has appeared on the list. 
    If the loan amount is more than 50,000, logout and login to the bpmn-explorer using the manager/manager credentials and select the MY TASKS tab. You will see the that another task has appeared on the list. 
  7. Click on the task and you will see the following screen where you (the manager) can either accept/reject it. Click on Complete Task to finish.