Chapter 20. Executing the MortgageApprovalProcess process application

Now that you have deployed the project, you can execute the project’s defined functionality. For this tutorial you input data into a mortgage application form acting as the mortgage broker. The MortgageApprovalProcess business process runs and determines whether or not the applicant has offered an acceptable down payment based on the decision rules that you defined earlier. The business process either ends the rule testing or requests that the applicant increase the down payment to proceed. If the application passes the business rule testing, the bank’s approver reviews the application and either approve or deny the loan.

Prerequisites

  • KIE Server is deployed and connected to Business Central.
  • The Mortgage_Process application has been deployed.
  • The users working on the tasks are members of the following groups and roles:

    • approver group: For the Qualify task
    • broker group: For the Correct Data and Increase Down Payment tasks
    • manager role: For the Final Approval task

Procedure

  1. Log in to Red Hat Process Automation Manager as Bill (the broker) and click MenuManageProcess Definitions.
  2. Click the three vertical dots in the Actions column and select Start to start to open the Application form and input the following values in to the form fields:

    • Down Payment: 30000
    • Years of amortization: 10
    • Name: Ivo
    • Annual Income: 60000
    • SSN: 123456789
    • Age of property: 8
    • Address of property: Brno
    • Locale: Rural
    • Property Sale Price: 50000
  3. Click Submit to start a new process instance. After starting the process instance, the Instance Details view opens.
  4. Click the Diagram tab to view the process flow within the process diagram. The state of the process is highlighted as it moves through each task.

    diagram progress
  5. Log out of Business Central and log back in as Katy.
  6. Click MenuTrackTask Inbox. This takes you to the Qualify form.
  7. Click the three vertical dots in the Actions column and select and click Claim. The Qualify task Status is now Reserved.
  8. Click the Qualify task row to open and review the task information. Click Claim and then Start at the bottom of the form.

    The application form is now active for approval or denial.

  9. To approve the application, select Is mortgage application in limit? and click Complete.
  10. In the Task Inbox, click anywhere in the Final Approval row to open the Final Approval task.
  11. In the Final Approval row, click the three vertical dots in the Actions column and click Claim.
  12. Click anywhere in the Final Approval row to open the Final Approval task. Click Start at the bottom of the form.
  13. Note that the Inlimit check box is selected to reflect that that application is ready for final approval. Click Complete.
Note

The Save and Release buttons are only used to either pause the approval process and save the instance if you are waiting on a field value, or to release the task for another user to modify.