As we have added fields to Auto Loan Business Object it is necessary to deploy our solution so our changes take effect on the Business Object Model.
- In the upper right corner click on the gear icon (1), select Application Studio (2), and then Select the DCM Training solution (3).
Navigate to Deployment Management → Advanced Deploy (2).
Advanced Deployment is a process of three (3) steps: Preview (3), Execute SQL (4) and Confirm (5)
You need to wait for every step to finish before you can move to the next step. Later we will use just Deploy, a simplified deployment task.
- Start the process by clicking the Preview button and wait until you have a message like “Build was successful. Now you can either deploy the solution or download the SQL Queries and deploy manually. Spent time: 00:04:10”.
This first step could take 3-8 mins.
- Click on the Execute SQL button to start the next step in the process. Wait until you have the message: Deployment was successful. Spent time: 00:00:10.
This step is shorter, and it could take 10 - 50 seconds.
- Click on the Confirm button to start the last step in the process. Wait until you have a message like “Confirmed. Spent time: 00:00:10”.
This last step is usually the shortest and takes about 10 seconds.
- After the successful deployment of the Auto Loan model, we would like to check the status of the model.
Go back to Setup (1), then go to Case Types (2), select the Auto Loan case type and open it.
- Select the Status Report tab (3) and expand the Auto Loan object (4) to see the details and the status after the deployment.
Here you can see how the Data Model was implemented at the database level (DB Table column) and also you can check if all the attributes of the model were deployed to the database (Status column). You can also see all the other objects (or tables) that the model has relationships with. For example, the Case Resolution Code attribute is from the TBL_STP_RESOLUTIONCODE. We will use this info later in our labs. Here you can see how the Data Model was implemented at the database level (DB Table column) and also you can check if all the attributes of the model were deployed to the database (Status column). You can also see all the other objects (or tables) that the model has relationships with. For example, the Case Resolution Code attribute is from the TBL_STP_RESOLUTIONCODE. We will use this info later in our labs.
The next step is to remove the Basic Info layer from our MDM form.
- Go to Setup (1) -> Form/Page Settings (2).
- Check all the boxes under the Hide Basic Info section (3)
- Click the green Save button (4).
If you don’t see the message “Compilation Pending…” after saving, click the gray Play button next to Save.
- We can monitor the status of the compilation process under Monitoring → Queue Monitor (1).
- There you will identify the ROOT_UTIL_COMPILECONFIG process (2) running with Status “Pending”.
To refresh the status periodically, click the Start Auto Refresh Timer button (3).
When the process is finished, the Status will change to “Processed” and if the process finishes successfully the Result Status will be “No Errors.”
Click the + button next to the Object code to see more details on the process. Here you could see the list and values of the parameters used to run the process. Also, you can see any output info from the execution of this process like Error Code and Message, if any, etc.
Now that our MDM model is successfully deployed and our changes to the MDM form are successfully compiled, we can test our new case type.
Creating an Auto Loan Case
- Go back to the Case Management area to test our new Case definition. You will find the new case created in the Create New Case widget.
- Click on the Auto Loan button to create a new case.
- Insert some dummy info in the form. This step is to check that everything is working OK.
- Try to insert a Credit Score value greater than the limit set in Step 22 (Max Value=850) to check that the constraint is working.
- If everything goes well…Congratulations! Your MDM model is working.
- In the window of the new case can you identify the following values?
- Case ID (1):
- Milestone State (2):
- Case Status (3):
- Check the content of the other Tabs: Documents, History, Tasks.
- Close the window.