◷ Reading Time: 5 minutes
The tutorial will use the scenario of an assessment designed to check the most suitable company.
Scenario
Ryan is a Product Manager of a construction company and he wants to select the best portfolio of a company as their main supplier. The supplier assessment will perform both qualitative and quantitative evaluations and help to get the final decision.
Process Steps
The process contains a set of main steps.
Step | Used FlexRule Module/ tool |
---|---|
1. The company should have a valid Business Registration number | RPA web module |
2. Give scores according to a set of rules | Decision Table |
3. Determine eligibility | Decision Table |
Video Description
How to build from scratch:
Project Description
The project contains the following files:
General Flow
- CompleteFlow: Follow all of the steps
- SearchCompanyIdRegistrationFlow: Check the company business registration number online
Decision Table
ScoreDT: Set of rules to give scores EligibilityDT: Provide ranking according to the score
SupplierDetails: Define supplier object
The Flow Design
1. Define the supplier object as a Fact Concept. This is the final JSON object with all the details of a supplier.
- SupplierDetails.xml

2. Define rules to give scores to each valid quality
- ScoreDT.xml

3. Define rules to give eligibility rank according to the score.
- EligibilityDT.xml

4. Define the flow to check the business registration number online.
- SearchCompanyIdRegistrationFlow.xml

5. Define the complete path of the flow.
- completeFlow.xml

How to Run
1. Open the file CompleteFlow.xml

2. Click on Debug with JSON composer.

3. Load one of the given sample JSON files (samples are in the folder Sample JSONs in your project folder) or enter the data manually.

4. Click OK

5. Click Next Step to go step by step.

6. You will see the output in under Parameters window

and the notifications under Notifications window

Download the project
The project (SupplierAssessment.zip) can be downloaded using the attachment at the end of the page.