Validations
Within the FintechOS Studio, there are Server Scripts which execute several actions which embody a business need such as: filtering products, returning products and setting amounts or periods. On-demand automation scripts are available for being called from any object or context. Here is a list of the scripts used in this solution. Within the FintechOS Studio, there are:
| Client Script Library | Server Automation Script | Server Automation Script Library |
|---|---|---|
| ClientSideFormatValidations | FTOS_BNKAP_GetRetailApplicantData | BRDF_ANAF_Interogation |
| customControls | FTOS_BNKAP_GetPricingData | FTOS.FTOSService - 1.0.0 |
| DashboardTabs | FTOS_BNKAP_GetRetailApplicantDestination | FTOS_Content_Template_Helper |
| DxSpendingChartUtils | FTOS_BNKAP_GetRetailApplicantSSN | FTOS_MKT_CloneHelper |
| EmblaCarousel | FTOS_BNKAP_SavePricingDetails | FTOS_MKT_Validations |
| FTOS_DFP_OnfidoLocaliazation | FTOS_BP_GetCommisionDetail | |
| FTOS_MOCK_TripHelper | FTOS_BP_GetDiscountInfo | |
| GraphJsLineChartCustom | FTOS_MOCK_TravelInsurance_AIG | |
| TrendLine | FTOS_MOCK_TravelInsurance_Allianz |
This script gets the applicant's information. It is used in the journey FTOS_MOCK_Trip in Step1.
Input: var loanId
Output: array data.
This script retrieves the available pricing records based on the application ID. If the bankingProductId parameter is given, retrieves only that record. It is used in the journey FTOS_BARET_Loan in the step offerProposal.
Input: var applicationId; bankingProductId.
Output: array res.
This script gets the destination of the trip. It is used in the journeys FTOS_BARET_Loan in step offerProposal and in FTOS_BARET_Loan in the step Simulation.
Input: var loanId
Output: array data
This gets the Social Security Number.
Input: var loanId
Output: array data
This script saves the available product details into the Pricing entity and sets the loan product, currency and interest rate. It is used in the journey FTOS_BARET_Loan in the step saveProducts.
Input: var date; var applicationId; var loanId.
Output: N/A
This script gets the details about the commision.
Input: var data; var currentDate; var invariantCurrentDate; var commissionListId.
Output: var resultLine
This script returns the information about the discount for a banking product.
Input: var data; var currentDate; var invariantCurrentDate; var bankingProductId; var productDiscountId.
Output: array resultLine
This script simulates the integration with AIG. It is used in the journey FTOS_MOCK_Trip in the step TravelInsurance.
Input: var travelInsurance; var curr.
Output: array insuranceDetails
This script simulates the integration with Allianz Travel. It is used in the journey FTOS_MOCK_Trip in the step TravelInsurance.
Input: var trvlIns; var currency; var top.
Output: var insDtls