14. Milestone Diagram Configuration
Upon creating a new Case Type, the system automatically creates a Milestone Diagram for the Case Type. A Milestone can have SLAs, defined as the time a Case can be in that State. If an SLA is violated, it will execute any attached Events. A Milestone can have exactly 1 Goal SLA, 1 Deadline SLA, and any Other SLAs.
When we create an Auto Loan Case Type, the system automatically creates an accompanying auto loan milestone diagram, which we can now use to build our procedure. The steps below detail how to make the layout of the basic milestone diagram.
Steps
- Open the Auto Loan milestone diagram.
- Delete the In Process and Resolved default milestones states.
- Delete both Restart Case transition. Compare your results with the following image.
- Add a new In Process milestone state to the diagram and rename it as 'Get Credit Report'.
- Change the Background Color of the milestone to Green (0EFF46).
- Add a path from the Assignment milestone to the Get Credit Report milestone and name it Get Credit Report. If needed, update the Permanent Code to GET_CREDIT_REPORT. Compare your diagram with the following image.
- Add a new In Process milestone state to the diagram and name it. ‘Fast Track Approval’. If needed, update the Permanent Code to FAST_TRACK_APPROVAL.
- Change the Background Color of the milestone to Green (0EFF46).
- Add a path from the Get Credit Report milestone to the Fast Track Approval milestone and name it Fast Track Approval. If needed, update the Permanent Code to GET_CREDIT_REPORT. Compare your diagram with the following image.
- Add the rest of the milestone states and their connecting paths:
- In Process: ‘Qualification Review’
- In Process: ‘Employment Verification’
- In Process: ‘Loan Assignment’
- Resolved: ‘Email Decision’
- Create the transitions as shown in the following image.
Move the rule CUST_TRN_getCreditScoreFn from the New state to the Get Credit Report state.
Hint: there is no drag & drop option to move a milestone. You will have to delete it and create it again in the Get Credit Report state
- Drag & drop an SLA Deadline to the Assignment milestone
- Configure the SLA with the Transition from New → Assignment
- Set the Deadline to 5 minutes.
- Drag & drop an Execute Rule Event on the Email Decision milestone
- Select CUST_ltr_send_email from the Rule dropdown list.
Set the following parameters parameters for the rule:
Subject: Loan Approval Letter
To: studentXX@eccentexcloud.com (Note: Use a valid email address)
To edit the value of a parameter, double-click on the field to open the editor.
- Your milestone diagram should look like the following.
- Save the diagram.