Welcome to Administering SAS Anti-Money Laundering in SAS Viya. I'm Anna Bickford, a Technical Training Consultant in SAS Education. I teach and develop course materials for the Fraud and Security Intelligence solutions.
In this course, you learn the basic tools to administer SAS Anti-Money Laundering. You create customer segments, generate and organize transaction monitoring and watchlist alerts, manage workflows and reports and oversee data objects and security. Let's get started!
In this course you take on different roles in the compliance department of Orion Star bank, such as system administrator, database administrator, and scenario administrator. You'll be responsible for managing data in the user interface and for overseeing alert management to meet specific organizational goals while serving in these roles.
Our course environment has two tenants amlo and amla. Each tenant has its own instance of the software with separate databases. The amlo tenant provides a final implementation that enables end users to triage transaction monitoring, and watch list monitoring alerts, create and manage cases, and file regulatory reports. This tenant also shows administrators what they'll be responsible for managing. The amla tenant provides the course environment in which you practice performing administrator tasks, such as creating scenarios, generating both transaction monitoring and watch lists monitoring alerts, running the segmentation jobs and configuring the regulatory report that's used by the end user.
As you go through the course, you have different opportunities to learn and practice.
In software demonstrations, you see me using and explaining solution features. But we want you to get hands-on experience as much as possible, because that's the best way to learn! So, as you go through the course, you have many chances to practice on your own.
One way for you to practice is during activities. Examples of an activity is a Read about it, where you're prompted to discover additional information about a particular topic and answer a follow up question to test your understanding of important concepts.
And lastly, practices are more involved opportunities that give you hands-on exposure to the software. The practices are very similar to my demonstrations, which is why you're encouraged to just watch as I demo. All practices include step-by-step solutions that you can check at any time.
In this lesson, you see an overview of the SAS Anti-Money Laundering solution. You are introduced to the course environment and review important course terminology.
SAS Anti-Money Laundering is designed to detect potentially suspicious activity in order to help institutions comply with Anti-Money Laundering (AML), Countering the Financing of Terrorism (CFT) and sanctions monitoring regulations.
SAS Anti-Money Laundering enables analysts and investigators to perform all the necessary steps to investigate and document suspicious activity from a single point of entry. In addition, this solution can compare watchlist data with your customer data to detect potential matches.
SAS Anti-Money Laundering enables you to triage and manage both transaction monitoring and watchlist monitoring alerts, to create and manage cases, and to create and file regulatory reports.
This solution is built on SAS Visual Investigator with added domain-specific, customizable functionality and is accessed by the end user via a desktop computer.
As part of the domain-specific functionality, SAS Anti-Money Laundering comes with predefined entities, workflows, and groups to support all steps of the transaction monitoring and watchlist monitoring investigations and documentation process. It is important to note that your administrator is responsible for customizing these items to meet the needs of your organization. We look at one configuration example throughout this course.
Let's review the terminology that we use throughout the course. Every data object and SAS Anti-Money Laundering is called an entity. Examples of entities include a customer, an account, a household, and a case. External entities are indexed and used within the SAS Anti-Money Laundering interface. However, the actual data cannot be edited in SAS Anti-Money Laundering.
An example of an external entity is an account. External entities are stored in the aiuserdata schema.
Internal entities are created and managed in SAS Anti-Money Laundering. An example of an internal entity is a case. Internal entities are stored in the fdhdata schema. Internal and external entities can have child entities.
Child entities are discrete pieces of information associated with an entity, often representing one repeatable component of the data. For example, a financial institution can have multiple branches. The branch is a child entity of the financial institution.
Relationships connect to entities and can be one-to-one, one-to-many, many-to-many, or many to one. For example, an account can have many transactions, so we would create a one-to-many relationship between these two entities. You can see the relationships between entities on a network diagram.
Traversals offer a flexible way for you to describe a path through existing relationships between entities to return objects of a specific type. You can use traversals to specify multiple paths through the data. For example, a company might be related directly to a customer, or it might be related to a bank account that is in turn related to a customer. A relationship must exist for the traversal to work.
An alert, oversimplified, is an event that is unusual and requires further attention from an analyst. In SAS Anti-Money Laundering, the concept of an alert is a little more complicated. An alert consists of scenario-fired events and alerting events, and I'll discuss what these are in more detail a little later. For now, all you need to know is that we'll discuss two types of alerts in this course, transaction monitoring and watch list monitoring.
Transaction monitoring alerts are created when customer behavior indicates potential money laundering or terrorist financing, and watch list alerts are generated if a potential match is detected between one of the financial institutions customers and data provided from consolidated watch list vendors. These alerts indicate potential sanctions targets.
An inquiry is a request for information and can be created at any time during the review cycle. A case is a collection of alerts, entities, or both, that are investigated together. Cases also enable users to choose which suspicious activity to include in the regulatory report filings. A regulatory report is any report filed with the country's financial intelligence unit, or FIU. Examples of regulatory reports include the US suspicious activity report (or SAR), filed with FinCEN; Canada's suspicious transaction report (or STR), filed with FinTRAC; and Australia's suspicious matter reports (or SMRs), filed with us track. An e-file is an electronic submission of one or more regulatory reports to a country's Financial Intelligence Unit.
Now let's look at a high level overview of how SAS Anti-Money Laundering fits seamlessly into organizations.
The organization provides data from the source system as a database, flat files, or SAS datasets and loads the data to a staging area in a predefined format. Generally, the staging tables are truncated and reloaded every time new data is available for processing.
The extract, transform and load, or ETL, process takes data from the staging area and loads it into the core database. The ETL process is critical because SAS Anti-Money Laundering relies on the core database that is produced during this process. Data is available in the core view schema as views to data in core. This view shows only the current version of the record. In addition, there is an ETL process that contains the code modules to read in and process data from consolidated watch list vendors. The watchlist data, in addition to all of the tables specific to supporting the watch list management feature of scanning against customers, individuals, and transactions, is stored in the amlwatchlist schema.
The amlprep schema uses data from the core, core view and amlwatchlist schemas, and contains tables of all the elements required to run scenarios. Scenarios are programs that contain the logic to help financial institutions detect and report suspicious activity and sanctions targets to be in compliance with AML laws and regulations.
The svi_vsd_service schema contains attributes related to flows and scenarios. The svi_alerts schema contains scenario fired events, alerting events, and alerts generated by jobs. These jobs use the amlprep and svi_vsd_service schemas to generate alerts.
Users can refer one or many alerts to cases, which populate regulatory reports if suspicious activity is identified. Cases, regulatory reports, and other internal data is stored in fdhdata.
In addition you can access management reports within the solution and you can create other reports using SAS Visual Analytics. These reports are populated from a variety of schemas. It's important to mention that not all the databases used in SAS Anti-Money Laundering are shown in this diagram. This is a high level overview of the data flow. We'll discuss more details of the schemas involved throughout this lesson.
In this demo, I show you the course environment.
I'm presented with the Home page of the end-user interface, or Investigate and Search. I quickly want to go through the tabs on the menu bar to show you that there's nothing in this environment.
Notice that there are no alerts, cases, inquiries, regulatory reports, or e-files.
Next, I'll switch to the administrator interface.
Now let's briefly look at the tabs of the administrator interface. I'll discuss these in more detail throughout the course.
I discuss these tabs in more detail throughout the course.
In this demo, I show you the course environment.
I'll double-click the browser shortcut on the desktop to access SAS Anti-Money Laundering.
On the favorites bar, notice the four tenants. We'll be using only the first two for this course, AMLO and AMLA. Remember, the AMLO tenant provides an example of a final implementation and enables the administrators to see what they'll be responsible for managing. The AMLA tenant provides the course environment in which you practice performing administrator tasks.
I'll click the amla tenant, and then select SAS Visual Investigator.
I'll sign in as the administrator, who has a user name of viadmin and a password of Student1.
In the Assumable Groups message, I'll click Yes.
I'm presented with the Home page of the end-user interface, or Investigate and Search. I quickly want to go through the tabs on the menu bar to show you that there's nothing in this environment.
Notice that there are no alerts, cases, inquiries, regulatory reports, or e-files.
Next, I'll switch to the administrator interface. On the application bar, I click the Show list of applications icon. I right-click Manage Investigate and Search, which is the administrator interface, and select Open link in a new tab. This enables me to easily switch between the two interfaces.
Now let's briefly look at the tabs of the administrator interface. I'll discuss these in more detail throughout the course.
The Data Objects tab enables administrators to configure entities, as well as elements, resolved entities, and reference data. Administrators also use the Data Objects tab to configure how objects that are returned as part of a search appear to the end users.
The Relationships tab enables administrators to configure relationships between entities as well as transactions and traversals.
The Pages tab enables administrators to design page templates and print templates for entities using default controls and layouts.
The Workflows tab enables administrators to create and manage workflows in the system. Workflows are used to manage business processes and consist of a series of tasks that directly proceed to the next task in the sequence as each is completed.
The Alerts tab enables administrators to create, test, and run flows, as well as define the organizational structure for the alerts. This is also where you manage customer segments.
The Permissions tab enables administrators to manage users, groups, and capabilities.
The Properties tab enables administrators to configure and customize certain aspects of SAS Anti-Money Laundering, including data stores.
The Import tab enables administrators to import data from a file or to connect to a database in order to add entities, rather than creating them manually in the system.
Lastly, the Jobs tab enables administrators to monitor the progress of jobs, such as re-indexing entities. I discuss these tabs in more detail throughout the course.
In this lesson, you are presented with an overview of the auto segmentation feature. You also learn about the jobs that you must run in order to create and manage customer segments.
Segmentation is the process of grouping customers that have similar characteristics and transactional behaviors. Each grouping is known as a segment. These segments can then be used in creating and optimizing scenarios (which are the programs that contain the logic to help financial institutions detect and report suspicious activity and sanctions targets to be in compliance with AML laws and regulations).
The auto segmentation feature in SAS Anti-Money Laundering implements a process to create and manage customer segments. It uses a combination of business provided rules (fixed rules that separate customers into different segments based on prior business knowledge) that create high level general segments and an unsupervised clustering based algorithm that creates additional groupings within these segments.
One purpose of segmentation is to detect and highlight outliers. In addition, if your organization has a very large amount of data, customer segmentation can be used as a proactive step to help break up the alert generation process.
This auto segmentation feature involves three jobs: the segment generation job, the segment assignment job, and the segment reassignment job. These jobs are executed from the SAS job execution web application. All the jobs produce a report in PDF format. The report contains information pertaining to the data that was used as well as the intermediate and final results during job execution. These reports can be found in the SAS drive folder location at SAS Content, Products, SAS Anti-Money Laundering, AnalyticsStores, Job Reports.
Let's look at the segmentation jobs in more detail. The segment generation job, fcf_aml_segmentation, is the primary program in the auto segmentation feature. Before you execute this job, you must include predefined segment definitions as input. Predefined segments are user defined segments in the form of fixed business rules that are designed to create the first level of customer segments.
The segment generation job then generates sub-segments or groups for each of these predefined segments using an unsupervised clustering based algorithm. If predefined segments are required, you must ensure that the definition file is specified.
Predefined segments are specified in an input file that is placed in a SAS Drive folder location accessible within the SAS Anti-Money Laundering solution. The file name and location can then be specified via input parameters to the generation job. When predefined segments are not required, a definition file does not need to be specified. However, the input parameter value for the definition file name should be set to blank.
Next, we execute the fcf_aml_segmentation job. This program analyzes all the active customers within each predefined segment to create segment groups. The data for this job is extracted from the svi_alerts and core schemas and then is enriched. The enriched data is then used to create segments.
Once the segments have been defined, the data is assigned to a segment. If there is not enough behavioral information to segment the data, It's stored in an "unclassified" segment.
The generated segments are saved in the party_segment table, inside the KC schema, where it in the segment data are available to SAS Anti-Money Laundering. A party can have multiple segments stored in this table. However, only the most current segment, or segment with change current indicator equals Y is active. It's important to note that the fcf_aml_segmentation.sas job must be run at least once before running any other job because it generates artifacts that are dependencies for the remaining jobs.
The segment assignment job, fcf_aml_seg_assign_unassigned, is used when more customers have been added to the core schema. It executes a process that is similar to the primary job, except that the data is filtered on new and unclassified customers. The segment definitions from the primary job are used to assign the data. Lastly the fcf_aml_seg_reassignment job is similar, except that it is used to reassess customer behavior and reassigned customers to another segment, if necessary.
The first step in the segment-generation process is extracting data from the source tables. This is done by the provided macro fcf_aml_seg_01_extract_data.sas, called by the fcf_aml_segmentation job. A list of the notable macros in this job can be found in the amlcoresrv directory.
Here are the tables which are extracted and enriched:
Schema: core
FSC_PARTY_DIML: List of all active customers in the system. Only entries with change_current_ind = 'Y' are extracted.
FSC_ACCOUNT_DIM: For joins
FSC_PARTY_ACCOUNT_BRIDGE: For joins
FSC_CASH_FLOW_FACT: Transactional data associated with active customers
FSC_TRANSACTION_TYPE_DIM: For enrichment
FSC_TRANSACTION_STATUS_DIM: For enrichment
Schema: svi_alerts
TDC_ALERT: Active alerts associated with customers
TDC_ALERT_ACTION: Prior alert history associated with customers
Match the job with the correct description.
Notice that I'm currently in the end-user interface, and I'm on the customer details page for Jim Cook. Under customer segment, there's no segment information populated. In this demo, I'm going to show the user-defined segments, the segmentation jobs, and the corresponding parameters that must be specified to populate this information.
Remember that before you execute the primary segmentation job, fcf_aml_segmentation, you must include the predefined segment definitions file as input. This file includes the user-defined segments in the form of fixed business rules that are designed to create the first level of customer segments. The segment generation job then generates various sub-segments for each of these predefined segments.
The predefined segments are specified via an input file that is placed in a SAS Drive folder location accessible within the SAS Anti-Money Laundering solution.
Notice this file specifies three predefined segments: politically exposed individuals, other individuals, and then an unspecified group. It's important to mention that only attributes contained in the fsc_party_dim table can be used to define the predefined segments. When the segment generation job is run, it parses the definition file into a conditional statement block to be used in the data preparation step. For example, if party_type_desc equals INDIVIDUAL and net_worth_amount is greater than or equal to 100,000, then the segment is set to ind_p. Else, if party_type desc = 'INDIVIDUAL' then the segement is set to ind_o. Else, the segment is set to org. The parsed conditional block as well as other related artifacts are persisted by the segment generation job as files in SAS Drive with the job ID associated with this execution of the generation job.
Now let's take a look at the parameters of this job. I can see parameter information in SAS Job Execution.
I also want to point out the young_threshold parameter. When there is insufficient behavioral information for a given customer, that customer cannot be assigned a segment from a segment group that is generated using behavioral features. Such customers are assigned to a special segment titled Unclassifiable Segment.
The criteria for being assigned to the unclassifiable segment is specified via the parameter young_threshold. This parameter determines the minimum number of transactions that the customer needs to have to be eligible for a segment assignment. The default value is 10, but I set the value to 1 based on our data. An unclassifiable segment is defined for each predefined segment. For example, based on the sample predefined segment definitions, the job creates three unclassifiable segments, one for each of the three predefined segments (ind_p_unclassifiable, ind_o_unclassifiable and org_unclassifiable).
Notice that I'm currently in the end- user interface, and I'm on the customer details page for Jim Cook. Under customer segment, there's no segment information populated. In this demo, I'm going to show the user-defined segments, the segmentation jobs, and the corresponding parameters that must be specified to populate this information.
Remember that before you execute the primary segmentation job, fcf_aml_segmentation, you must include the predefined segment definitions file as input. This file includes the user-defined segments in the form of fixed business rules that are designed to create the first level of customer segments. The segment generation job then generates various sub-segments for each of these predefined segments.
The predefined segments are specified via an input file that is placed in a SAS Drive folder location accessible within the SAS Anti-Money Laundering solution. To access SAS Drive, I click the Show list of applications icon, and right-click Share and Collaborate and Open link in new tab.
For our course environment, the sample predefined segment file is placed under SAS Content, Products, SAS Anti-Money Laundering, Analytic Stores, and then Templates. This is the location that we must specify in the parameter of this main segmentation job, which I'll show next. To view this predefined segment file, I right-click and select Download. I'll open this with Notepad and click OK. I'm going to add some spacing and formatting so this file is easier to read.
Notice this file specifies three predefined segments: politically exposed individuals, other individuals, and then an unspecified group. It's important to mention that only attributes contained in the fsc_party_dim table can be used to define the predefined segments. When the segment generation job is run, it parses the definition file into a conditional statement block to be used in the data preparation step. For example, if party_type_desc equals INDIVIDUAL and net_worth_amount is greater than or equal to 100,000, then the segment is set to ind_p. Else if, party_type desc = 'INDIVIDUAL' then the segement is set to ind_o. Else, the segment is set to org. The parsed conditional block as well as other related artifacts are persisted by the segment generation job as files in SAS Drive with the job ID associated with this execution of the generation job.
Now let's take a look at the parameters of this job. I can see parameter information in SAS Job Execution. I open a new browser tab, and on the favorites bar, I click amla and then select SAS Job Execution. In SAS Job Execution, I navigate to Products, SAS Anti-Money Laundering, and then Jobs. I right-click the main segmentation job, fcf_aml_segmentation, and select Properties. Within the Properties window, I click Parameters. Notice the values of the hard_seg_definition_file and hard_seg_definition_file_path parameters. These correspond to the name of the file, hard_seg_definition.inc, and the location of the file, Products, SAS Anti-Money Laundering, AnalyticStores Templates.
I also want to point out the young_threshold parameter. When there is insufficient behavioral information for a given customer, that customer cannot be assigned a segment from a segment group that is generated using behavioral features. Such customers are assigned to a special segment titled Unclassifiable Segment.
The criteria for being assigned to the unclassifiable segment is specified via the parameter young_threshold. This parameter determines the minimum number of transactions that the customer needs to have to be eligible for a segment assignment. The default value is 10, but I set the value to 1 based on our data. An unclassifiable segment is defined for each predefined segment. For example, based on the sample predefined segment definitions, the job creates three unclassifiable segments, one for each of the three predefined segments (ind_p_unclassifiable, ind_o_unclassifiable and org_unclassifiable).
Now that we have the predefined segments defined, and we know how to access the segmentation jobs and their parameters, let's run these segmentation jobs. Notice that I'm already in SAS Job Execution, and I'm in the jobs folder.
Now let's navigate back to the user interface to see if the customer segment information is populated.
In addition, I want to point out that the fcf_aml_seg_assign_unassigned job should be run daily because the number of customer transactions can increase daily. Remember that this job executes a process that is similar to the primary job, except that the data is filtered on new and unclassified customers.
Also, the fcf_aml_seg_reassignment job, which is the job that reassess customer behavior and reassigns customers to another segment, if necessary, should be run each month.
Lastly, remember that all the jobs produce a report in PDF format. The report contains information pertaining to the data that was used as well as the intermediate and final results during job execution. These reports can be found in the SAS Drive folder location. Let's take a look.
Now that we have the pre-defined segments defined, and we know how to access the segmentation jobs and their parameters, lets run these segmentation jobs. Notice that I'm already in SAS Job Execution and I'm in the jobs folder. I first double-click the fcf_aml_segmentation job. On the toolbar, I click Submit. This main segmentation job should be run on a yearly basis.
Now let's navigate back to the user interface to see if the customer segment information is populated. I click the tab for the end user interface, and then refresh the screen to update the customer details page for Jim Cook. Notice that now, the customer segment information specifies Lower association with foreign countries | High number of special flags. The fcf_aml_segmentation job was successful.
Segment groups are created by the segment generation job and contain one or more segments for each pre-defined segment (including the unclassifiable segment), a unique code for each segment, and a description for each segment. I can view the segment groups by switching to the administration interface, clicking the Alerts menu item, and then clicking Segments. It's important to note that only the most recently generated segment definition can be active in the system.
In addition, I want to point out that the fcf_aml_seg_assign_unassigned job should be run daily because the number of customer transactions can increase daily. Remember that this job executes a process that is similar to the primary job, except that the data is filtered on new and unclassified customers. Also, the fcf_aml_seg_reassignment job, which is the job that reassess customer behavior and reassigns customers to another segment, if necessary, should be run each month.
Lastly, remember that all the jobs produce a report in PDF format. The report contains information pertaining to the data that was used as well as the intermediate and final results during job execution. These reports can be found in the SAS Drive folder location. Let's take a look. In SAS Drive, I'll navigate to /SAS Content/Products/SAS Anti-Money Laundering/AnalyticStores/Job Reports. Notice that there's only one GENERATION report listed because I only ran the segment generation job, fcf_aml_segmentation. I right-click and select Download. I click the PDF Download to open the job report. Notice that there are no active alerts because we haven't run the AGP. Alerts are a "nice to have", not a requirement for customer segmentation. You only need the appropriate data in CORE populated in order to generate customer segments.
In this lesson, you are presented with an overview of the optional watch list monitoring feature of SAS Anti-Money Laundering. You also learn about the jobs that you must run in order to use this feature.
SAS Anti-Money Laundering enables institutions to meet regulations that concern sanctions monitoring. This is accomplished by providing code modules to read in and process data from consolidated watch list vendors. It's important to note that SAS Anti-Money Laundering does not provide the third party watch list data itself. The solution provides the tools to read and process the watch list data only. More specifically, SAS Anti-Money Laundering provides the ETL, or extract transform and load, code for the World-Check, Dow Jones, Accuity, and 314(a) watch lists.
After the watch list data is stored in the solution, it is then compared against customer data in the financial system to detect customers, individuals, or organizations with potential sanctions targets. SAS Anti-Money Laundering uses technology from SAS Data Quality to build match codes for both the watch list data and client data. Match codes are encoded representations of input character variables that are used to match data in a non exact way. Each match code encapsulates certain information about the input value or values from which it is derived. If two input strings generate the same match code, then those two strings are intended to represent the same entity, assuming that the match sensitivity level applied during match code creating is the same upon processing.
Match sensitivity levels describe how tightly or loosely matching rules should be applied to the input value. The sensitivity refers to how much of the generated match code is used for comparison purposes. A high sensitivity is a tight match, and low sensitivity is a loose, or fuzzier, match. Lower sensitivity levels produce more matches, but the false positive match rates increase as well. The default match sensitivity level is 85. At this level, the entire match code is used for comparison purposes and results in generating a small volume of false matches.
Your organization will need to tune and adjust the sensitivity level based on your organization's needs and comfort level. For example, a name match definition knows which given names might have nicknames that are associated with them and what those nicknames are. In this example, both Robert Smith and Bob Smith equate to the same match code and thus, to the same person, because Bob is a very common nickname for Robert. In addition, an address match definition knows when a street identifier, such as drive or avenue, can be safely ignored for matching purposes.
It's important to note that the functions that build match codes, such as the DQMATCH function, require a reference to SAS Quality Knowledge Base (QKB). The Contact Info Quality Knowledge Base (QKB) is a repository that contains a series of natural language grammar, regular expression, phonetic, vocabulary, and lookup tables. The QKB for contact info is highly customizable. Users can add additional information to look up tables; adjust categories and likelihoods of the potential meanings of words; add and modify data patterns; adjust phonetic settings and noise word removal; modify in-memory transformations; and much more.
It's important to note that only users trained in DataFlux technologies or a Professional Services Delivery consultant should perform any customizations because any mistake in the customization process can render the QKB inoperable. In addition, if your site is implementing SAS Anti-Money Laundering 8.3, then SAS Quality Knowledge Base is installed as part of the product. If your site is upgrading to the SAS Anti-Money Laundering Watch List Management feature, you must configure the QKB.
If two input strings, such as two customer names, generate the same match code, then those two strings are intended to represent the same entity.
Correct.
A single match code represents an input value reduced to an elemental form after all pertinent data-type-specific transformations have been applied. If two input strings generate the same match code, then those two strings are intended to represent the same entity, assuming that the match sensitivity level applied during match code creating is the same upon processing.
Incorrect.
The correct answer is a. A single match code represents an input value reduced to an elemental form after all pertinent data-type-specific transformations have been applied. If two input strings generate the same match code, then those two strings are intended to represent the same entity, assuming that the match sensitivity level applied during match code creating is the same upon processing.
The watch list monitoring process consists of three jobs. The fcf_aml_load_watchlist job, the fcf_aml_set_core_matchcodes job, and the fcf_aml_prep_matchcode job.
First, you run the fcf_aml_load_watchlist job. This job reads in watch lists data from the chosen third-party vendor and performs processing on the data before storing it in the amlwatchlist schema. This job also produces match codes for the watch list data.
Next, you run the fcf_aml_set_core_matchcodes job, which generates the match codes for the client data. These are stored in the core schema.
Lastly, you run the fcf_aml_prep_matchcode job, which compares the watch list match codes and the client match codes. After the comparison is complete, any matches are stored in the amlprep schema.
Two out-of-the box scenario flows have already been created to produce alerts on the watch list prep data generated by the fcf_aml_prep_matchcode job. We discussed scenario flows and these database schemas in a lot more detail later in this course.
The first step of the watchlist monitoring process is to read in the watch list data by executing the fcf_aml_load_watchlist job. This job is the execution entry point for the watch list ETL code, which is implemented as a series of SAS macros. The fcf_aml_load_watchlist job orchestrates all ETL steps and ensures that the required parameters and their associated settings are available to all the invoked macros.
There are four main ETL processes or steps. Extract: First, the ETL code reads the watch list data files from your chosen third-party vendor and produces SAS datasets that are used as inputs by the transformation step.
TRANSFORM: Second, the code performs the necessary data transformations, including the building of data to generate match codes and calculates the match codes for use with fuzzy matching and scenarios. This step standardizes and restructures data records and values from the input watch list to conform to the SAS Anti-Money Laundering watch list table structures before loading the data into the amlwatchlist schema.
The SAS Anti-Money laundering watch list tables are designed to accommodate data from World-Check, Dow Jones, and Acuity, which consolidate information from many public list providers. It's important to note that the Financial Crimes Enforcement Network (FinCEN) 3.14(a) list is supported also, but it's not sourced from a data consolidator. The data model can be extended to handle additional data available and other data sources. It's important to note that the first time that a watch list is loaded, the values from the fcf_set_mc_settings_default.sas macro are used for the match definition and sensitivity.
Because match code generation must be consistent across all data that is screened and the data it is screened against, the match code definitions and settings are saved in the fsc_watch_list.fsc_wl_etl_info table. For all subsequent loads of the watch list, the match definition and sensitivity are read from this table. In other words, initially the sensitivity values are read from the fcf_set_mc_settings_default.sas macro, but all subsequent uses of the sensitivity levels are read from the table.
LOAD: Third, the ETL code loads the transformed watch list data to the tables in the amlwatchlist schema and logically deletes any previous versions. Then, optionally, the ETL code logically deletes records for watch lists that provide a delete or remove action or a file of records to be removed from the watch lists. The remove step is an optional step that "removes" records from the watch lists. Some watch lists provide an indicator or a separate file that lists the records that should be removed from the watch list sanctions. These records are not physically removed but are closed out. Note, the remove step is not supported by Accuity.
The ETL code consists of macros that can be used for any watch list. These macros perform common tasks such as generating match codes and loading the database. The following macros are used in the World-Check, Dow Jones, and Accuity ETL processing. It is recommended that you use these macros when adding new lists to the watch list database. Note: These are uncompiled macros, and they are located in the /opt/sas/spre/home/SASFoundation/ucmacros/amlcoresrv directory.
fcf_get_mc_settings_default.sas - Sets the default match code definitions and sensitivity values. This is used for the first watch list load only. After the initial load of any watch list, the match code definitions and sensitivity values are read from the fsc_wl_etl_info table in the amlwatchlist schema.
fcf_get_mc_settings_etl.sas - Reads the match code definitions and sensitivity values used in the last ETL run from the fsc_wl_etl_info table in the amlwatchlist schema.
fcf_wl_generate_name_mc.sas - Generates a match code for the full name of an individual using the values defined by macro variables for the QKB definition and sensitivity. The macro also generates a match code for an organization or bank using the values defined by the macro variables specific to organizations for the QKB definition and sensitivity.
fcf_wl_generate_address_mc.sas - Generates a match code for the components of an address using the values defined by the macro variables for the QKB definition and sensitivity.
fcf_wl_generate_birthplace_mc.sas - Generates a match code for the components of a birthplace using the values defined by the macro variables for the QKB definition and sensitivity.
fcf_get_wl_etl_info.sas - Reads the last row of the fsc_wl_etl_info data table in the amlwatchlist schema to read the last key value for each of the watch list tables into the macro variables that can be used to generate new keys in the next database load.
fcf_wl_load_entity.sas - Reads the entity numbers extracted in the current watch list ETL process and determines which entities are new and which have been processed before. If an entity has been processed before and changes were made to the data in the fsc_wl_entity table in the amlwatchlist schema, then the row for that table gets an end date, and current_ind is set to 'N'. All new records are appended with current_ind set to 'Y' and the end date set to 31Dec9999.
fcf_wl_load_entity_name.sas - Reads the entity numbers extracted in the current watch list ETL process and determines which entities are new and which have been processed before. If an entity name has been processed before and changes were made to the data in the fsc_wl_entity_name table in the amlwatchlist schema, then the row for that table gets an end date, and current_ind is set to 'N'. All new records are appended with current_ind set to 'Y' and the end date set to 31Dec9999.
fcf_wl_load_address.sas - Reads the entity addresses extracted in the current watch list ETL process and determines which entities are new and which have been processed before. If an entity has been processed before and changes were made to the data in the fsc_watch_list_address table, then the row for that table gets an end date, and current_ind is set to 'N'. All new records are appended with current_ind set to 'Y' and the end date set to 31Dec9999.
fcf_wl_load_table_with_type2.sas - Loads a watch list table with Type 2 changes into the database. The input table contains information extracted in the current watch list ETL process and determines which records are new and which have been processed before. If a record has been processed before and changes were made to the data in a table, then the record for that table gets an end date, and current_ind is set to 'N'. All new records are appended with current_ind set to 'Y' and the end date set to 31Dec9999.
fcf_wl_load_table_without_type2 - Reads the records extracted in the current watch list ETL process and deletes the corresponding records in the input table. The new records extracted from the input are appended to the table.
fcf_wl_delete_recs_with_type2.sas - Soft deletes elements from a watch list table with Type 2 changes from the database. The input table contains the information extracted and the unique watch list entity key for the records to be deleted. If the key is found in the table, then the record for that table gets an end date, and current_ind is set to 'N'.
fcf_wl_delete_recs_without_type2.sas - Reads the delete table and deletes the corresponding records in the table defined by the table name. This macro is used for tables that are not used for matching but are used for investigation. Type 2 changes are not maintained when this macro is used.
Next, you run the fcf_aml_set_core_matchcodes job. This job contains a macro, %fcf_set_core_matchcodes, that generates the match codes for the customer data. Specifically, this macro sets the party_dim, external_party_dim, and address_dim match code columns in the core schema. Note that the fcf_aml_core_matchcodes job must be run after the initial watch list load. This is because the fcf_aml_set_core_matchcodes job reads the amlwatchlist.fsc_wl_etl_info table to acquire the sensitivity levels for the match codes, which is populated only after the fcf_aml_load_watchlist job is executed.
After the watch list tables are populated, the match codes are generated for the watch list data and the match codes are generated for the core.fsc_party_dim,
core.fsc_ext_party_account_dim, and core.fsc_address_dim tables. A process is then required to compare watch list data with core customer data to identify matches. This is accomplished by the fcf_aml_prep_matchcode job. Note that in order to perform match code comparison, all core table match code columns must be populated. Matches are stored in the wl_externalparty_matches or wl_party_matches table in the amlprep schema.
Match the following watch list jobs to their function:
Correct.
The fcf_aml_load_watchlist job reads in watch list data from the chosen third-party vendor and performs processing on the data before storing it into the amlwatchlist schema. This job also produces match codes for the watch list data. The fcf_aml_set_core_matchcodes job generates the match codes for the client data. These are stored in the core schema. Lastly, the fcf_aml_prep_matchcode job compares the watch list match codes and the client match codes. After the comparison is complete, the output is stored in the amlprep schema.
Incorrect.
The correct answers from top to bottom are b, a, c. The fcf_aml_load_watchlist job reads in watch list data from the chosen third-party vendor and performs processing on the data before storing it into the amlwatchlist schema. This job also produces match codes for the watch list data. The fcf_aml_set_core_matchcodes job generates the match codes for the client data. These are stored in the core schema. Lastly, the fcf_aml_prep_matchcode job compares the watch list match codes and the client match codes. After the comparison is complete, the output is stored in the amlprep schema.
The order in which you run the watch list jobs does not matter.
Correct.
The order in which you run the watch list jobs matters. First, you run the fcf_aml_load_watchlist job. Next, you run the fcf_aml_set_core_matchcodes job. This job must be run after the initial watch list load. This is because the fcf_aml_set_core_matchcodes job reads the amlwatchlist.fsc_wl_etl_info table to aquire the senstivity levels for the match codes, which is populated only when the fcf_aml_load_watchlist job is executed. Lastly, you run the fcf_aml_prep_matchcode job.
Incorrect.
The correct answer is b. The order in which you run the watch list jobs matters. First, you run the fcf_aml_load_watchlist job. Next, you run the fcf_aml_set_core_matchcodes job. This job must be run after the initial watch list load. This is because the fcf_aml_set_core_matchcodes job reads the amlwatchlist.fsc_wl_etl_info table to aquire the senstivity levels for the match codes, which is populated only when the fcf_aml_load_watchlist job is executed. Lastly, you run the fcf_aml_prep_matchcode job.
Remember that the watch list monitoring process consists of three jobs. In this demo, I show you how to run these jobs and the information that's populated as a result.
I first want to show that the watchlist data is not populated.
Remember that SAS Anti-Money Laundering does not provide the third-party watch list data itself. It provides the tools to read and process the watch list data only. I already loaded the World Check data into the appropriate directory.
Now, in SAS Job Execution, I'll run the first watchlist job, fcf_aml_load_watchlist, to read in this World Check data and to perform processing on the data before storing it in the amlwatchlist schema.
Notice that now it contains data. The watchlist data from World Check is now accessible to SAS Anti-Money Laundering.
Next, I'll run the fcf_aml_set_core_matchcodes job, which generates the match codes for the client data. These matchcodes are stored in the core schema, specifically in the party_dim, external party, and address_dim tables.
SELECT * FROM core.fsc_party_dim
WHERE entity_name_individual_mc IS NOT NULL;
Remember that the watch list monitoring process consists of three jobs. In this demo, I show you how to run these jobs and the information that's populated as a result.
I first want to show that the watchlist data is not populated. To see this, I'll navigate to pgAdmin4 by clicking the start menu and clicking pgAdmin 4 v6. I enter Student1 for the master password, and click OK. I expand Servers, and under the amla tenant, which is tenant2, I expand Schemas, and then amlwatchlist. Under Tables, I'll right-click this first table, fsc_wl_address, View/Edit data, and then All Rows. Notice that there are no records in this table.
Remember that SAS Anti-Money Laundering does not provide the third-party watch list data itself. It provides the tools to read and process the watch list data only. I already loaded the World Check data into the appropriate directory. Now, in SAS Job Execution, I'll run the first watchlist job, fcf_aml_load_watchlist, to read in this World Check data and to perform processing on the data before storing it in the amlwatchlist schema. To do this, I double-click the job, and in the right pane, I click Submit. Now that the job ran, let's recheck fsc_wl_address. Notice that now it contains data. The watchlist data from World Check is now accessible to SAS Anti-Money Laundering.
Next, I'll run the fcf_aml_set_core_matchcodes job, which generates the match codes for the client data. These matchcodes are stored in the core schema, specifically in the party_dim, external party, and address_dim tables. I'll run this job in SAS Job Execution as well. Now that this second job ran successfully, let's verify matchcodes in the database. Under the core schema, I right click fsc_party_dim, and select View/Edit Data, All Rows. When I scroll all the way to the right, I see the entity_name_individual_mc and entity_name_organization_mc columns. It looks like these columns are empty, but we do have a few matchcodes that are generated. I'm going to run a quick query to make those visible. I right-click fsc_party_dim, select Query Tool, and in the editor, I enter
SELECT * FROM core.fsc_party_dim
WHERE entity_name_individual_mc IS NOT NULL;
Next, I click execute. I now see a few matchcodes that were generated for entity name.
Lastly, I navigate back to SAS Job Execution to run the last watchlist job, the fcf_aml_prep_matchcode job. This job compares the watch list match codes and the client match codes. After the comparison is complete, any matches are then stored in the amlprep schema. Because this job is finished running, let's verify these matches in the amlprep schema.
In pgAdmin, I expand amlprep, and then Tables. I right-click wl_party_matches and select View/Edit Data, All Rows. Notice that there are a few matches. The alert generation process uses this table to generate watchlist alerts. I show this alert generation process later in this course.
Here are some best practices and considerations to keep in mind. It's important to note that many watch lists are updated on a weekly basis and sometimes daily. If watch list data is downloaded and updated each night, you must determine whether the match code generation process can keep up with the scheduled updates. Watch list match codes should be recreated and screening done each time: Sensitivity settings are changed. Watch lists are updated. This includes any changes to the columns of the dataset (i.e. column order column type etc.) The load macro must be adjusted to accommodate this change, and it's the responsibility of the customer to keep track of this. Customer data is updated (delta only). In addition, do not set the sensitivity level lower than 85 for address.
In this lesson, you learn important concepts about scenarios. This includes how scenarios are created, processed, and executed. You also learn how to create alerts.
Financial institutions must comply with anti-money laundering or AML and sanctions regulations. To help financial institutions implement these regulations, SAS Anti-Money Laundering offers predefined scenarios, or rules. These scenarios contain the logic to help financial institutions detect and report suspicious activity and sanctions targets to be in compliance with AML laws and regulations. The scenarios that come out of the box can be used as guidelines, and custom scenarios can be created to meet your organization's specific needs.
In SAS Anti-Money Laundering, the scenarios are run as part of a flow. A flow is the top-level container that consists of scenarios, the data sources to be evaluated by the scenarios for the behavior of interest, and optionally, scorecards which enable you to perform final processing using the events that are generated by the scenarios in the flow.
SAS Anti-Money Laundering comes with 16 AML flow categories out of the box. Let's review these flow categories.
The ATM flow category contains scenarios that detects suspicious ATM transactions, such as excessive monitoring of account balance. Note that money launderers orchestrate resources that have little contact. This limited communication can lead to them over monitoring funds within shared accounts. Alerts should be generated to detect excessive monitoring of account balances.
The cash flow category contains scenarios that detect atypical cash behaviors and aid the currency transaction reporting, or CTR, process, such as the cash accumulation scenario. This scenario monitors for accumulating large amounts of cash using small deposits over a relatively long period of time.
The correspondent banking flow category contains scenarios that detect suspicious activity in correspondent banking such as multiple internal remitters sending payments to one external beneficiary. Note that correspondent banking is defined as a bank that holds deposits owned by other banks to provide payment and other services in a foreign currency. A correspondent bank handles international wire transfers on behalf of other financial institutions.
The high-risk products flow category contains scenarios that detect illicit funds that are concealed using high-risk products. Examples of high-risk products include prepaid debit cards, casinos and online gambling, travel agencies and so on. Scenarios in this flow detect whether the customer's percentage of high-risk funds exceeds a particular threshold. Note that money launderers attempt to conceal illicit funds using high-risk products and services that conceal their identity and that are difficult to trace through the financial system.
The insurance flow category contains scenarios that look for third party payment of insurance policy premiums. Note that insurance products can be used to convert funds or hide the source of funds. The loans flow category contains scenarios that identify unusual loan activity, such as premature termination, early loan against an insurance product, or unusually large loan amounts.
The matched transactions flow category contains scenarios that detect money laundering activity that might not initially invite scrutiny, such as an account that has many transactions in similar amounts over an extended period. The movement of funds flow category contains scenarios that detect suspicious activity regarding the movement of the funds, such as movement of funds between high-risk jurisdictions that might be used to launder money or fund terrorism.
The registration flow category detects activity that is not based on transaction behavior, such as abnormalities in tax identification, phone number, or beneficiary information. The structuring flow category contains scenarios that detect attempts to hide the intent of a transaction by dividing it into a series of transactions, potentially using different branches and channels. The unusual behavior flow category contains scenarios that detect behavior beyond individual transactions, such as unusual aggregate volumes.
The daily watch list flow category contains scenarios that address the need to watch for high-risk entities, such as scrutinizing transactions that involve known terrorists, states known to Harbor terrorism, and nonconforming territories. An example in this category is the High-Risk Countries scenario. This scenario examines transactions involving countries by checking a list of high-risk country codes. If a transaction is found, then that customer's total amount of high-risk country transactions is calculated for the time period. If the total amount exceeds the threshold, then a match is found. The weekly watchlist flow category is like the daily watchlist category in the sense that it contains scenarios that address the need to watch for high-risk entities, such as scrutinizing transactions that involve known terrorists, states known to harbor terrorism, and nonconforming territories. However, instead of the scenarios in the category being run daily, these scenarios are run weekly. We'll talk about what a weekly frequency means a little later.
An example of a scenario in this category is the Watchlist Flagged PEPs Unmarked in Party Dimension. This scenario addresses customers who are on a watch list due to being a politically exposed person, or a PEP, but who are not flagged as such in the party dimension table.
Similar is the weekly external watchlist flow category. An example of a scenario in this category is External Party on 314(a) List. This scenario is triggered if the external party is on FinCEN's 314(a) watchlist. Note that FinCEN's regulations under Section 314(a) enable federal, state, local, and foreign (European Union) law enforcement agencies, through FinCEN, to reach out to more than 34,000 points of contact at more than 14,000 financial institutions to locate accounts and transactions of persons that might be involved in terrorism or money laundering.
The wires flow category contains scenarios that scrutinize wire activity because money launderers frequently use wires to transfer funds, such as if a customer exceeds a given number of foreign wire transfers. Note that the velocity, lack of transparency, ease of execution, and international use make wire transfers one of the preferred vehicles of money laundering. The dormant accounts flow category contains scenarios that detect activity in accounts that are otherwise presumed dormant. Note that many money launderers open accounts with the intent of building a history of legitimate transactions and then allow time to pass before any illicit activity.
You can run flows at different frequencies. For example, you can run them monthly, weekly, or daily. It's important to note that some flow categories run at multiple frequencies. Let's take a closer look at each of these frequencies.
The frequency at which a flow is run describes the level of aggregation of the scenarios that make up the flow. For example, monthly flows contain scenarios that run at the beginning of the month and aggregate all the transactions for the previous month. Weekly flows contains scenarios that aggregate a week's worth of activity, and daily flows contain scenarios that aggregate a number of days worth of activity, which is indicated by the value of look_back_days.
Let's look at some of the scenarios that come out of the box with SAS Anti-Money Laundering. The first is the ATM Usage in Multiple State scenario, which is part of the daily ATM flow. This scenario is designed to generate a scenario-fired event if an account has four or more ATM transactions in two or more states. Most people wouldn't use an ATM in North Carolina and South Carolina, so this would be potentially suspicious behavior. Let's look at an example. The scenario will analyze three rows of data.
Let's look at what happens when the first row is analyzed The scenario checks for the specified conditions: ATM transactions are greater than or equal to four and the number of states is greater than or equal to two. Because these conditions are not met, a scenario-fired event is not generated. Now, let's look at what happens when the second row is analyzed The scenario checks for the specified conditions: ATM transactions are greater than or equal to four and the number of states is greater than or equal to two. Because these conditions are met, a scenario fired event is generated. The scenario will continue to analyze the rest of the rows.
Another scenario in the ATM flow is Excessive ATM Withdrawal Denials. This scenario is designed to generate a scenario-fired event if an ATM withdrawal was denied today (at least once), and the number of ATM withdrawal denials is three or more within the last 14 days. Let's looks at how the scenario analyzes three rows of data. The scenario checks for the specified conditions: An ATM withdrawal denial on the current day, and three or more ATM withdrawal denials within the last 14 days. Because these conditions are not met, a scenario-fired event is not generated.
Now, let's look at what happens when the second row is analyzed. The scenario checks for the specified conditions: An ATM withdrawal denial on the current day, and three or more ATM withdrawal denials within the last 14 days. Because these conditions are met, a scenario-fired event is generated. The scenario continues to analyze the rest of the rows in this way. It is important to note that there are five scenarios in this flow. We only use two for this example.
After the flow is executed, the system includes all the scenario-fired events generated by all the scenarios in the flow, by entity, in an alerting event. After all the flows in the system are executed, the system sends all the alerting events to the SAS Visual Investigator Alerts service, where one alert is created per entity. Let's review this process.
Alerts can be created by the alert generation process, or AGP. The AGP executes flows.
Flows consists of one or more scenarios that contain the logic that discovers behaviors of interest. This behavior of interest is detected at the entity level (for example, a customer). When the AGP runs, the system processes all the logic contained in the scenarios and the flow. When a behavior of interest is detected in the data, the system generates a scenario-fired event.
A scenario-fired event contains the relevant information that's associated with the corresponding data, such as the entity type, entity ID, and an assigned score. Then the system includes all the scenario-fired events, by entity, in an alerting event.
Alerting events are then routed to the Visual Investigator Alerts service, where one alert is created per entity. We just saw how alerting events can be generated by executing flows within Scenario Administrator, but it's important to mention that alerts can be generated by other methods. For example, alerting events can be generated by third-party alerting system and ingested in the solution using an alert API. In addition, you can manually create an alert in the end-user interface. No matter what the method of creation is, the Alerts Service ultimately creates one alert per entity.
When a behavior of interest is detected in the data, what is the order of the events that are created?
Correct.
When a behavior of interest is detected in the data, the system generates a scenario-fired event. Then, the system includes all of the scenario-fired events, by entity, in an alerting event. Alerting events are then routed to the alerts service, where one alert is created per entity.
Incorrect.
The correct answer is b. When a behavior of interest is detected in the data, the system generates a scenario-fired event. Then, the system includes all of the scenario-fired events, by entity, in an alerting event. Alerting events are then routed to the alerts service, where one alert is created per entity.
SAS Anti-Money Laundering comes with predefined flows and scenarios to help financial institutions comply with AML regulations. In this demo, I review a couple scenarios defined in the TM Daily ATM flow. Notice that I'm already signed in to the administrator interface as viadmin.
SAS Anti-Money Laundering comes with predefined flows and scenarios to help financial institutions comply with AML regulations. In this demo, I review a couple scenarios defined in the TM Daily ATM flow. Notice that I'm already signed in to the administrator interface as viadmin.
Before you run the alert generation process, or AGP, you must complete a few prerequisite steps.
First, the extract, transform, and load, or ETL, process loads customer source data into the core database.
If your organization is using the watch list monitoring feature, then you must run the three watch list jobs. These jobs read in and process data from consolidated watch list vendors. After the watch list data is stored in the solution, it is then compared against customer data in the financial system to detect customers, individuals, or organizations with potential sanctions targets. If you don't run these jobs, the watch list scenarios will not have the information needed to flag sanction targets.
You also must have flows with an active version for the AGP to run.
Now, the Alert Generation Process, or AGP, itself consists of a series of jobs, macros, and flows that analyze customers and transactions, detect suspicious activities, and make results available to the SAS Anti-Money Laundering user interface. Let's take a look at each of these components.
You schedule the AGP with a daily, weekly, or monthly job. These jobs can be viewed and modified from the SAS Job Execution application and can be executed and scheduled through the SAS Environment Manager application.
For each of the SAS jobs, there is a corresponding SAS macro that calls the prep macro. This prep macro accomplishes two main steps. First, this macro seeds the aml_rundate table in the amlprep schema with the desired run date, runasofdatevalue.
Then, it creates the required prep data sets that are needed for the scenarios to analyze. A prep data set is a flat table that contains all the elements needed to run the scenario code. Prep data sets bring all relevant data together for the scenario code to analyze.
After those first two steps are completed, the macro executes the published scenario flows for the appropriate time interval. Note that the uncompiled macros are installed in the SASROOT/umacros/amlcoresrv directory
For example, the fcf_aml_prep_vi_daily job contains a fcf_aml_prep_vi_daily macro. The fcf_aml_prep_vi_daily macro calls the fcf_aml_prep_daily.sas macro which seeds the aml_rundate table with the desired AGP run date and creates the required prep data sets that are needed for the daily scenarios to analyze.
Then, the macro executes the published daily scenario flows. It is important to note that If the AGP encounters a flow that has not been published, the AGP skips that flow and resumes with the next published flow. If the jobs run successfully, then the aml_rundate table is updated with the new runasofdate value by using the macro %fcf_asofdttm.
Let's take a deeper look at the amlprep.aml_rundate table and how it's used during the AGP. Remember, the aml_rundate table must be seeded with the next values for the runasofdate value before the AGP can be run. This is achieved by running the %fcf_asofdttm() macro for each of the run frequencies (DAILY, WEEKLY, and MONTHLY), which is contained in the fcf_aml_prep_vi_daily, fcf_aml_prep_vi_weekly, and fcf_aml_prep_vi_monthly macro programs, respectively.
The aml_rundate table itself has only three columns, create_date, last_run_date and job_name.
%fcf_asofdttm can have the following input parameters. Action, run_asofdttm, last_asofdttm, and job_name. The % fcf_asofdttm macro queries and updates the columns of the aml_rundate table according to these input parameters.
Let's start with the required parameters.
Action can either be NEW, GET (which is the default), or RESET. This is a required parameter that determines the action that the macro performs. For example, RESET deletes existing records for the specified frequency.
Job_name can either be DAILY, WEEKLY, or MONTHLY. This is a required parameter that is the name of the AGP job that is currently running. The out-of-the-box values are DAILY, WEEKLY, or MONTHLY. If other jobs are created for a site, the job name should be specified here.
When executed, this macro also sets the following global macro variables, fcf_last_asofdttm and fcf_run_asofdttm.
Fcf_last_asofdttm is set to the supplied value of last_asofdttm. If no value for last_asofdttm is provided, then fcf_last_asofdttm is set to the maximum value of the last_run_date column for the supplied job name from the amlprep.aml_rundate table.
Fcf_run_asofdttm is set to the supplied value of run_asofdttm. If no value for run_asofdttm is provided, then fcf_run_asofdttm is set to the current timestamp.
It's important to note that the format of the asofdttm variables passed to and set by the macro are integers representing SAS datetimes. SAS datetimes are values representing the number of seconds between January 1, 1960, and an hour/minute/second within a specified date.
The alert generation process, or AGP, consists of jobs, macros, and flows. In this demo, I review each of these components. I'll first look at the jobs. To do this, I must be in SAS Job Execution.
The alert generation process, or AGP, consists of jobs, macros, and flows. In this demo, I review each of these components. I'll first look at the jobs. To do this, I must be in SAS Job Execution.
I'll open a new tab, click amla on the favorites bar, and this time, I'll select SAS Job Execution.
In the left panel under SAS Content, expand Products, SAS Anti-Money Laundering, jobs. I double-click the fcf_aml_prep_vi_daily job to view it.
Notice that this job calls the percentfcf_aml_prep_daily macro that populates the agp run date and creates the prep data sets. After the macro call, notice the daily scenario flows that are executed when this job is run.
Next, I'll view the macros. These can be viewed only on the Linux side, so I'll use WinSCP. I click the Start menu and then click WinSCP. The session is already configured, so I'll click Login.
In the right pane, which is showing the Linux side, I navigate to the macros. First, I change the drop down to the opt directory. Then, I navigate to sas, spre, home, SASFoundation, ucmacros, amlcoresrv. To view the macro, I double-click fcf_aml_prep_daily.sas.
Now, I want to publish and execute the daily, monthly, and weekly flows. I must be back in the administrator interface to do this.
After I'm in the administrator interface, I navigate to the Alerts tab. On the toolbar, I click Flows.
All but three are already published, so I'll continue to publish the rest of the flows. To do this, I double-click the first flow, TM Weekly Dormant Accounts. Then, on the toolbar, I click the Manage versions icon, and then click New Version. Then I click Save. I'll perform these steps for the TM Weekly External Watchlist flow and TM Weekly Watchlist flow as well. Next, I'll close out of these flows, so they get checked in and therefore, will be run by the agp.
Because all the flows are published, I'm going to sign in to SAS Environment Manager to execute the jobs that run these flows. On a new tab, I click amla on the favorites bar and select SAS Environment Manager.
In the far-left pane, I click Jobs and flows and then click the Scheduling tab.
I right-click the daily, monthly, and weekly jobs, and select Execute.
I view the progress in SAS Environment Manager on the Monitoring tab. I could also switch to the administrator interface and view the progress on the Jobs tab.
Now that the jobs ran successfully, I'll confirm that alerts were created. To do this, I'll switch to the end-user interface, and on the menu bar, I click Alerts. In the Transaction Monitoring strategy, I see that 8686 alerts were created.
When creating a new scenario, you first need to create a new flow and fill in the required information, including the name of the flow, which domain this flow is a part of, and the data sources that the scenarios in this flow will use to analyze and generate alerting events.
Domains are the top-level containers for organizing alerts. After the flow is created, you're able to add scenarios. There are three types of scenarios that you can add to a flow: record-level, aggregation, or DATA step. Let's take a look at each of these.
Record-level scenarios surveil data by individual transactions for all records in the data. Aggregation scenarios surveil data at an aggregated level, by one or more columns in the data. DATA step scenarios enable you to have more flexibility than is offered by the user interface and is dependent on SAS DATA step code. You must specify an actionable entity and a scenario-fired entity when you configure each of these scenario types.
An actionable entity specifies the entity for which you want to gather suspicious activity, and then review via an alert. This entity correlates to a person that you can investigate. An example of an actionable entity is a bank customer.
A scenario-fired entity specifies the entity that you want to surveil for suspicious activity. Depending on the scenario type, you can surveil this entity via individual records (record-level scenario) or via records that are grouped by entity type (aggregation scenario). An example of a scenario-fired entity is a bank account. You can assign the same entities to the actionable entity and the scenario-fired entity fields. This means that you want to surveil the same entity that you are investigating. More commonly, you are likely to assign different entities to the fields.
In these cases, there is a relationship between the actionable entity and the scenario-fired entity. This is typically a one (actionable entity) to many (scenario-fired entity) relationship. An example of this is if a bank wants to surveil data by account (scenario-fired entity), but wants to investigate alerts by customer (actionable entity). One customer typically has multiple accounts.
Now let's dive deeper into each scenario type, starting with a record-level scenario.
A record-level scenario surveils data by individual transactions for all records in the data. You would use a record-level scenario to detect two or more parties that have the same phone number in two or more states.
You would use an aggregation scenario to detect cumulative cash deposits or withdrawals on a given day that are above the CTR limit.
When using an aggregation scenario, there are multiple properties that need to be configured for the aggregation. Lookback unit is the time interval at which to aggregate data (for example day, week, or month) Lookback is the number of time intervals behind the end date time to aggregate. Offset is the number of times to apply the look back value to determine the datetime at which to start aggregation. And rolling aggregation aggregates data on a rolling basis at a selected interval.
Remember, a lookback aggregates data for the number of lookback units defined. In this example, we are aggregating by day for seven days. The aggregation starts at the last day of the data and includes the previous six days.
If you apply an offset, the aggregation starts prior to the last day by the number of lookback units. This enables you to compare aggregations.
By using a Rolling Aggregation, you can aggregate data on an ongoing basis. There is a scenario fired event every time the total exceeds the rule threshold value.
Applying an offset to a Rolling Aggregation moves the last day in the aggregation back by the number of lookback units.
If you require more flexibility than what is offered by the interface, then you can use DATA step code for your scenario.
You would use a DATA step scenario to detect a deposit made the same day as an ATM withdrawal in another state.
Before you run a flow, you can test individual scenarios or the entire flow to assess their effectiveness. In some situations, you have the option to specify a run-as-of date value. When you run a test. The run-as-of date value is the end date that is used to define the data to apply to this scenario. This means that records with a date that exists after the assigned run-as-of date are not included in this scenario test. Unless noted otherwise, by default, the run-as-of date is set to the end date (that is, the latest date) in the assigned data.
Following the completion of a flow test, the Test Results tab appears. The test results include the values that are assigned for certain items if the flow is run. This includes how many alerts are generated and how many entities are assigned a score. The flow test results also include the corresponding scenario test results, by actionable entity.
The following examples show how specifying a run-as-of date value, together with a lookback and offset values, can affect data aggregation. The data is for the entire month of January, so the end date of the data is January 31st. The assigned look back unit value is day. In the first example, the run-as-of date is January 31st and the lookback is 5 days. There is no offset value. This means that data aggregation starts on January 31st and continues back 4 days to January 27th.
In the next example, the run-as-of date is January 25th. The lookback is 3 days and the offset is 1. This means that data aggregation is offset from January 25th by one lookback period (3 days). Therefore, data aggregation starts on January 22nd and continues back 2 days to January 20th.
In the last example, the run-as-of date is January 15th and the lookback is 7 days. There is no offset value. This means that data aggregation starts on January 15th and continues back 6 days. However, the data start date is encountered prior to the lookback value of 7 days. Therefore, data aggregation starts on January 15th and continues back 5 days to January 10th.
In this demo, I'll create a flow and a scenario and show how to test the scenario within this custom flow. Let's get started.
Notice that I'm signed in to the administrator interface as viadmin.
In this demo, I'll create a flow and a scenario and show how to test the scenario within this custom flow. Let's get started.
Notice that I'm signed in to the administrator interface as viadmin.
I navigate to the Alerts page to create the new flow. On the toolbar, I click Flows and then New Flow.
I must fill out the properties of the flow before I can add scenarios to it.
For the name, I enter TM Daily Cash Credits, and I select Transaction Monitoring Domain for the domain. For solution, I select AML Transaction Monitoring. Under Data Sources, I click Add, and then I select TM Prep -- Transactions. I click Apply.
Now that the flow is created, I can add a scenario. I click New on the toolbar and select Aggregation scenario.
In the Name field, I enter Cash Credits.
Notice that the Actionable and Scenario-fired entities default to Account. I change these to customer. Then, I click Add.
Under Details, I select Decision table and I select the box for Use rolling aggregation. From the Date and time drop-down list, I select Transaction Datetime. For Lookback unit, I leave Day.
Next, I'll create two aggregations to use in the rule. I click the Aggregations tab and click New to add a new column. I click Edit name and rename the column cash_cr_dom, for cash credits domestic. In the Column to aggregate menu, I select currency_amount. In the Metric menu, I select Sum.
Then I click Add Conditions. For Include rows that match, I select primary_medium_desc in the left section, and I select CASH in the right section. I click the Add condition icon again. For Include rows that match, I select transaction_cdi_code in the left section, and I select C in the right section. I click the Add condition icon one last time.
For Include rows that match, I select txn_country_code in the left section, and I select US in the right section.
This aggregation is aggregating by the currency_amount column, only where the primary medium is cash, the transaction_cdi_code is C for credit, and the txn_country_code is US. I'll create a very similar aggregation for international cash credits.
I click the Duplicate icon and rename this column to cash_cr_int. For cash credits international. The only other piece I'll change is the txn_country_code operator. I'll switch this from equal to US to not equal to US because this column is aggregating the international accounts.
Next, I click the Rules tab to create a rule. For cash_cr_dom, I select greater than for the condition and enter 10000.00 in the Value field. Then I click OK. I enter 100 for Score. I enter, in quotation marks, "Cash Credits" in the Message field. Next, from the Queue menu, I select Domestic_Alert_Queue. We'll talk about what queues are a little later in this course, but basically, queues are a way to organize alerts. I created the Domestic Alert Queue Previously.
For this rule, if the value of cash_cr_dom (or the cash credit amount for domestic accounts) is greater than 10,000, then the resulting alert will be sent to the Domestic_Alert_Queue. The scenario-fired event will have a score of 100 and have Cash Credits as the message.
Because the second rule is very similar, I'll click the Duplicate icon. I remove the value for cash_cr_dom. For cash_cr_int, I select greater than for the condition, and enter 10000.00 in the Value field. Then I click OK. For Value, I select cash_cr_int and click OK. From the Queue menu, this time I select International_Alert_Queue. Again, this is a custom queue that I created.
This rule states that if the value of cash_cr_int (or the cash credit amount for international accounts) is greater than 10,000, then the resulting alert will be sent to the International_Alert_Queue. The scenario-fired event will have a score of 100 and have Cash Credits as the message.
I click Save on the toolbar.
Lastly, I'll test this flow to assess it's effectiveness. On the toolbar, I click Test scenario. In the Test Scenario window, I could select an optional run-as-of date, but I'll leave the default. Then, I click Test. I see that this scenario, if run, would result in three customer hits. If necessary, after reviewing these test results, I could fine-tune the configuration and then run additional tests until I achieve the desired results.
Let's look at another scenario example that uses segmentation. Consider that a bank typically has customer accounts and commercial accounts. A $50,000 wire transfer for a commercial account might be a typical transaction, but that transaction amount for a consumer account might be considered suspicious. If these accounts are assigned to different segments (such as Consumer and Commercial), each segment can be assigned appropriate threshold values that are used to detect suspicious transactions.
Specifically, we'd use four segments (Commercial-Large, Commercial-Small, Consumer-Large, and Consumer-Small) and two parameters (MaxTrans and CumulativeTrans) to create this scenario. The Default Segment always exists in a segment group. The scenario is designed to fire an event when either the maximum transaction amount value or the cumulative transaction amount value is exceeded. The threshold values that fire an event vary according to the banking customer type, which corresponds to the defined segments. In SAS Anti-Money Laundering you define the segments that exist in your data and then create the parameters that you want to use in this scenario. These parameters have threshold values that are assigned by segment.
In the scenario rule, instead of literal values, the parameter IDs are assigned as values. This instructs the solution to use the parameters when the scenario is processed. Because these are segmented parameters for each record that is processed, SAS Anti-Money Laundering applies the threshold value that corresponds to the segment which the record belongs. This means that an event fires for each record that meets any of the following criteria.
For example, within the Commercial-Large segment, an event fires if the maximum transaction amount is greater than or equal to 500,000 or the cumulative transaction amount is greater than or equal to 2,000,000. As this example illustrates, using segmentation in scenarios enables you to efficiently define and maintain rule criteria. Without using segmented parameters, this rule criteria would require the use of five scenarios or one scenario with five distinct rules.
Let's take a look at the TM Daily Wires (Segmented) scenario. I created this scenario previously. This scenario is not available out of the box.
Let's take a look at the TM Daily Wires (Segmented) scenario. I created this scenario previously. This scenario does not come out of the box.
I double-click the scenario to open it. According to the description, I see that this scenario monitors wire transfers per day, applying segment specific parameters. To see the details of this scenario, under the TM Prep -- Transactions table, I click the Foreign wire activity (Segmented) aggregation scenario.
According to the actionable entity and the scenario-fired entity, I see that this scenario surveils customers grouped by party number and then also generates alerts at the customer level as well.
Clicking on the parameters tab, I see that Customize the parameters by segment is selected. I see that parameters are specified for the default segment and the ind_o segment.
| Field | Value |
|---|---|
| Name | Cash Credits |
| Actionable entity | Customer |
| Scenario-fired entity | Customer |
| Rule Format | Decision table |
| Use rolling aggregation | Yes |
| Date and time key | Transaction Datetime |
| Lookback unit | Day |
| Field | Value |
|---|---|
| Name | cash_cr_dom |
| Column to aggregate | currency_amount |
| Metric | sum |
| If | |
|---|---|
| cash_cr_dom | > 10000.00 |
| Score | 100 |
| Message | "Cash Credits" |
| Queue | Domestic Alert Queue |
| If | |
|---|---|
| cash_cr_int | > 10000.00 |
| Score | 100 |
| Message | "Cash Credits" |
| Queue | International Alert Queue |
In this lesson, you are presented with an overview of the alert scoring feature of SAS Anti-Money Laundering. You learn potential barriers and best practices for using this feature.
The alert scoring feature provides you with a means to assign a priority score to active alerts. This enables you to better align team resources to improve your business efficiency by calculating which entity alerts represent the most risk to your institution. The alert priority scoring process is accomplished by two jobs: the fcf_aml_alert_enrich job and the fcf_aml_alert_scoring job.
It's important to note that these jobs should be run after the alert service is done processing alert aggregation at the entity level.
Let's first discuss the fcf_aml_alert_enrich job. The first part of this job is data extraction. The input parameters of this job define what is extracted depending on whether the input parameter's value matches the value in the data.
There are default values for the fcf_aml_alert_enrich job input parameters. The two parameters that I'd like to point out are lookback_window and txn_pull_window. The lookback_window parameter defines the number of past transactions to be stored for feature enrichment calculation, and the txn_pull_window parameter defines the number of days for past transactions (per entity) to be included. Note that you can also filter alerts on the domain type (tm_domain) and choose the entity level for the statistical calculation of behavior (either at the Customer or Account level).
The fcf_aml_alert_enrich job retrieves both active and dispositioned alerts from the svi_alerts.tdc_alert (active alerts) and svi_alerts.tdc_alert_action (historical alerts) tables, as well as related transactional and entity-level information from the core tables.
View the Read About It titled "Extracting Data for Alert Enrichment" to learn more about the extraction conditions and the alert processing for the active and historical alerts.
After the data is extracted, the feature enrichment process begins.
Why do we enrich our features before plugging them into our alert scoring model? The simplest explanation is that our model will only be as good as the quality of data and features that it reads as input. In other words, by enhancing the separability of the classes, our machine learning model is more likely to perform well and produce meaningful answers.
SAS Anti-Money Laundering provides a set of predefined macros that perform various feature calculations and provide maximum flexibility for users to pass custom parameters to create several variations of a feature.
Some enrichment macros are used to calculate scenario-related features, such as the sum of cash deposits in the last N days. Other macros are used to calculate behavioral features, such as the max, min, and average of transaction count for the past N days, for a given account type and channel name.
The output of the fcf_aml_alert_enrich job is two enriched data sets. One data set contains the enriched active alerts (ACTIVE_ENRICH_ENTITY) and the other data set contains the enriched historical alerts (HIST_ENRICH_ENTITY). These data sets are available for the alert scoring job, as well as for users to use for model development.
The fcf_aml_alert_scoring job scores the active alerts present in ACTIVE_ENRICH_ENTITY by training a model using the HIST_ENRICH_ENTITY data set.
The fcf_aml_alert_scoring job can be configured to use either the out-of-the-box model or a user-developed model. For the purposes of this course, we will review the out-of-the-box model. Please view the Read About It titled "Scoring Process for the OOTB Model" to learn more about the overall scoring process for the out-of-the-box model.
When the model finishes scoring, the results are appended to alerts in a field named enrichment_json_doc. You can also view details about the model in the tdc_enrichment_field table.
To comply with regulatory requirements, all the model score history is stored persistently in the database.
To view the alert priority scores in SAS Anti-Money Laundering, you must add the field via the Alerts grid through the strategy. You do not need to re-index for the scores to appear.
There are other features included with the Alert Scoring Model feature. Several transaction monitoring queues have been created for handling alerts routed based on their priority scores. In addition, PDF printed job reports are created and saved when the two jobs are executed.
Finally, there is a model performance job (fcf_aml_model_report) made available out of the box. It can be used to monitor the current model performance and adjust the priority score risk cutoff with changing entity behavior to calibrate model scores that contain the most productive alerts. Be aware that the performance job requires a minimum number of dispositioned alerts to execute.
The overall scoring process for the OOTB model is as follows:
The out-of-the-box model scores new alerts between 0 and 999, considering the historical productive versus the non-productive previously dispositioned alerts. The purpose of the score alignment is to linearly distribute the alerts scores between 0 and 999. This makes the priority alerts uniform and conforming between different batches. The score alignment process reduces the variability of the scores between batch runs while preserving the rank order among the scored alerts.
The alert priority scoring jobs must be run before running the alert generation process.
Correct.
The alert priority jobs should be run after the alert service is done processing alert aggregation at the entity level.
Incorrect.
The correct answer is b. The alert priority jobs should be run after the alert service is done processing alert aggregation at the entity level.
Be aware that there are upfront barriers and costs related to using this feature:
The Alert Priority Model job must be executed on a machine with SAS Visual Data Mining and Machine Learning.
The feature needs quality historical alert data to provide best results.
There is an upfront cost to developing and deploying your own models or customizing the OOTB model provided.
There is an upfront barrier to entry of machine learning knowledge.
There are also some additional best practices to keep in mind.:
The priority score does not replace the alert score.
Consider the physical memory limit when you are deciding how many past transactions per customer to include for behavior feature calculation.
Make sure to not change any model configuration parameters if you use the default model for scoring.
Once default features are modified, the product team will have limited knowledge and thus cannot support it.
In this lesson, you learn how alerts are organized in the user interface. In addition, you learn how to make decisions, or disposition, alerts.
The AGP creates alerting events. Alerting events are then routed to the Visual Investigator Alerts service, where one alert is created per entity.
The alert service determines how alerts are presented to users by organizing the alerts into domains, strategies, and queues.
Domains are the top-level containers for alerts. If you have the need to generate alerts for different business units, then you can create separate domains.
For example, you could have a domain for alerts that are investigated by the Anti-Money Laundering Department and another domain for alerts that are investigated by the Fraud Department. This prevents users who investigate the same entities from accessing alerts that are not related to their work. Creating multiple domains enables the same entity to be investigated across multiple business units. It also provides a way to isolate the investigations. It is important to note that only one alert per entity per domain can be generated.
SAS Anti-Money Laundering comes predefined with a Transaction Monitoring domain and a Watchlist Monitoring domain.
Within a domain, a strategy is used to organize related alerts and to assign alerts to specific groups of users.
For example, we could have one strategy that investigators can access and another strategy that only managers can access. In this case, we could send high-risk alerts, employee alerts, or time-sensitive alerts to the managers' strategy. It's important to note that you must be a member of the cs_aml_tm_group in order to see alerts in the transaction monitoring strategies.
By default, the Transaction Monitoring domain contains a Transaction Monitoring strategy and the Watchlist Monitoring domain contains a Watchlist Monitoring strategy.
Queues are used to group alerts by type of activity.
For example, in the manager strategy, you could create separate queues for high-risk alerts and employee alerts.
By default, the Transaction Monitoring strategy contains an Inquiry queue, a SAR90 queue, a High-score alerts queue, a Medium-score alerts queue, and a Low-score alerts queue.
The Watchlist Monitoring strategy contains a Watchlist inquiry queue, a Watchlist exact match queue, a Watchlist fuzzy-match alerts queue and a Watchlist (manually created alerts) queue.
Alerts are routed to queues based on settings applied in the scenario or by using the routing rules defined for the queue.
SAS Anti-Money Laundering comes with some domains, strategies, and queues already defined. Let's review the properties of these. Notice that I'm in the administrator interface, signed in as viadmin.
SAS Anti-Money Laundering comes with some domains, strategies, and queues already defined. Let's review the properties of these. Notice that I'm in the administrator interface, signed in as viadmin.
To access these organizational structures for alerts, I click the Alerts page on the menu bar and select Domains from the toolbar. Remember, domains can be set up for multiple lines of businesses. Notice that there is a Customer Risk Ranking domain, a Transaction Monitoring domain, and a Watchlist Monitoring domain, each with its own set of strategies and queues defined. I double-click the Transaction Monitoring domain to view its properties.
The ID for this domain is tm_domain. Under Scoring, you can set how the score is calculated. In this domain, the score for an alert is computed from the scores from the unique alerting activity in all the alerting events. This means that if the same scenario fires multiple times, only one instance will be displayed on the Alert Activity tab and be aggregated into the alerting event. This score aggregation policy can be changed after a domain is created. The new policy affects all alerting events that are received after the change is made. Scores for existing alerting events are not recalculated. Under the Details section, I see that alert assignment is enabled. This enables alerts to be assigned to this domain and means that this domain can be selected for routing alerts in flows.
Also, I see the disposition reasons that are defined. Investigators can select and assign these dispositions to the alerts in that domain. In addition, disposition reasons can be used for alert analysis. You can click Manage Disposition Reasons to add or delete these reasons.
I'll go back to the Alerts page to view the strategies and queues. Notice that under the Transaction Monitoring domain, there's a Transaction Monitoring strategy and five queues: the Inquiry queue, the SAR90 queue, the High-Score alerts queue, the Medium-Score alerts queue, and the Low-Score alerts queue. These are predefined by default.
Within the High-Score alerts queue, I see that there are eight dispositions assigned. Dispositions control what happens when a decision is made on an alert. For example, from this queue, an investigator can close the alert. We discuss dispositions more in the next video.
In addition, I see that in the Watchlist Monitoring domain, there's a Watchlist Monitoring strategy with four watchlist specific queues.
Dispositions are added to queues and control what happens when a decision is made on an alert.
Let's review The Transaction Monitoring and Watchlist Monitoring dispositions, starting with the Transaction Monitoring dispositions.
Close alert -- Depending on how the disposition is defined, closes the alert immediately or in a number of days specified by your administrator. The alert is removed from the list and marked as closed. The end user is prompted for a note and a reason.
Create case -- Enables you to add an alert to a case. You can either create a new case from the alert or add the alert to an existing case.
Suppress and reactivate later -- Reactivates the alert after the period of time indicated by the user when the alert is dispositioned.
Create inquiry -- Enables you to create an inquiry for a case. You can either create a new inquiry for the alert or add the alert to an existing inquiry.
Move out of SAR90 queue -- Moves the alert from the SAR90 queue to the Medium-score alerts queue. It is important to note that, as part of the Case workflow, this disposition is applied automatically when a SAR90 follow-up case is activated. It is enabled for the SAR90 queue, but this disposition should not be used by investigators or analysts.
SAR90: Close alert -- Closes the alert in the SAR90 queue immediately. It is important to note that this disposition is used by the Case workflow automatically when a SAR90 follow-up case is closed before it was activated (for example, when a correction report was filed). This disposition is enabled for the SAR90 queue and should not be used by investigators or analysts.
Suppress alert -- Enables you to suppress an alert. An alert can be suppressed for a period of time or until there is new activity or a score change. The alert is removed from the list and marked as suppressed.
Move to SAR90 queue -- Moves the alert to the SAR90 queue. It's important to note that as part of the Report workflow, this disposition is applied automatically when a SAR90 follow-up case is created. When an entity is added to a SAR90 follow-up case, all alerts that are associated with the entity are moved to the SAR90 queue, where the alerts stay until a follow-up case gets activated for review. This disposition is enabled for the Transaction Monitoring Medium-score alerts and the High-score alerts queues but should not be used by investigators or analysts.
Move to low-score queue -- Moves the alert to the Low-score alerts queue.
It's important to note that by default, in the Transaction Monitoring strategy, generated alerts are routed to the high-score queue, the low-score queue, or the medium-score queue based on the score of the alert. The alert-based routing rule is configured by the solution administrator. If you have an alert that has been routed to a high-score queue or to a medium-score queue, you can select the alert and choose the Move to low-score queue to disposition the alert and move it to the new queue.
Move to medium-score queue -- Moves the alert to the Medium-score alerts queue.
Move to high-score queue -- Moves the alert to the High-score alerts queue.
Suppress and move to SAR90 queue -- Suppresses the alert and moves it to the SAR90 queue. This disposition then reactivates the alert if the score increases or until the status is manually changed.
By default, the Watchlist Monitoring queues are assigned the Close alert, the Create case, the Suppress and reactivate later, the Create inquiry, and the Suppress alert dispositions.
It's important to note that you can change these default dispositions in the administration interface.
Each disposition is assigned a productivity rating: unproductive, productive, or indeterminate.
Unproductive means that the alert does not represent suspicious activity. It is a false positive. An example of a disposition that's unproductive is Close alert.
Productive means that the alert revealed suspicious activity. An example of a disposition that's productive is Create case.
Indeterminate means that more information or activity is needed to make a decision about whether the alert is suspicious.
Indeterminate dispositions are Suppress and reactivate later, Suppress alert, and Create inquiry.
SAS Anti-Money Laundering comes with some strategies and queues already defined, but if these don't meet the needs of your organization, you can create custom strategies and queues. I'll show you how to create a couple new strategies and queues to manage Domestic and International alerts. Notice that I'm in the administrator interface, signed in as viadmin.
SAS Anti-Money Laundering comes with some strategies and queues already defined, but if these don't meet the needs of your organization, you can create custom strategies and queues. I'll show you how to create a couple new strategies and queues to manage Domestic and International alerts. Notice that I'm in the administrator interface, signed in as viadmin.
To access strategies and queues, I click the Alerts page on the menu bar and select Domains from the toolbar.
Next, I click New and select Strategy. In the ID and Name fields, I enter Domestic_Alert_Strategy_Demo. I select Transaction Monitoring for the domain. Under Alert Recipients, I select Domestic Users from the Group drop-down list.
It is important to note that the Domestic Users group is not a group that comes out of the box with the solution. I created this custom group previously.
In the Low and High Threshold fields, I enter 100 and 200 respectively and then I save the strategy.
Now I'll create a queue within the Domestic_Alert_Strategy_Demo. To do this, I click the Associated Queues tab and click the New Queue icon to create a new queue. For the ID and Name fields, I enter Domestic_Alert_Queue_Demo.
Next, I'll add dispositions to this queue. Under Dispositions, I click the Select Dispositions icon. I press the Ctrl key and select the Close alert, Create case, Suppress and reactivate later, and Create inquiry dispositions, and then click the Add icon to move the dispositions over to the Selected items pane. Then I click OK. I save the queue.
Now I want to create a strategy and queue for international customers. I navigate back to the Alerts page. Again, on the Domains page, I click New, and then Strategy. This time, I enter International_Alert_Strategy_Demo for the ID and Name fields. I leave Transaction Monitoring for the domain. I select International Users, which is another custom group, from the Group drop-down list. I enter 100 as the Low threshold value and 200 as the High threshold value, and then I save the strategy.
To create a queue within this strategy, I click the Associated Queues tab. Then I click New Queue to create a new queue, entering International_Alert_Queue_Demo in the Name and ID fields.
Next, I'll add dispositions to this queue. Under Dispositions, I click the Select Dispositions icon. I press the Ctrl key and select the Close alert, Create case, Suppress and reactivate later, and Create inquiry dispositions, and then click the Add icon to move the dispositions over to the Selected items pane. Then I click OK. Lastly, I save the queue.
| Strategy ID and Name | Domestic_Alert_Strategy_P_P |
| Domain | Transaction Monitoring |
| Alert Recipient Group | Domestic Users |
| Low threshold | 100 |
| High threshold | 200 |
| Queue ID and Name | Domestic_Alert_Queue_P_P |
| Strategy ID and Name | International_Alert_Strategy_P |
| Domain | Transaction Monitoring |
| Alert Recipient Group | International Users |
| Low threshold | 100 |
| High threshold | 200 |
| Queue ID and Name | International_Alert_Queue_P |
In this lesson, you review the specific tasks of the predefined inquiry, case, and report workflows. You also learn how to modify these predefined workflows to meet the needs of your organization.
In SAS Anti-Money Laundering, workflows are used to manage the investigation and reporting process. Workflows consist of tasks assigned to users or groups and automatically move to the next task after the current task is complete. It is important to note that workflows can be created only for internal entities, and they cannot be created for child entities.
SAS Anti-Money Laundering comes with a few predefined workflows out of the box, including an inquiry workflow, a case workflow, and a report workflow. We discuss these in more detail later in this lesson.
Workflows consist of five types of elements: events, gateways, notifications, services, and tasks. Workflow templates are built by adding these elements to the workflow editor. Let's discuss each of these elements in more detail.
There are two types of events: a start element and an end element. A start element must be the first element in the workflow. It is automatically added to the editor when a new workflow template is created. (This means that it is not listed under the available elements in the toolbar.) You can have only one start element in each workflow. The end element is the last element in the workflow. When the workflow reaches the end element, the workflow terminates. Each workflow must have a start element and an end element.
Gateways enable the workflow to split. There are two types of gateways: parallel and exclusive. Parallel gateways enable the flow to take multiple paths and run concurrently, whereas exclusive gateways direct the process to only one path.
The notification element can send an email to specified users or groups. The subject and body of the message can be configured, and either can contain a workflow variable. Entity links can also be inserted into the message text. When the workflow proceeds through the email notification element, the email is sent.
Services provide a way to manipulate the workflow process behind the scenes, without any user completing a task. Two types of services can be included in workflow templates. REST services enable communication with external systems or other SAS Visual Investigator components using a URL. The URL is called, and the workflow is updated using this element. REST services can update workflow variables but not entity fields. Write services, in contrast, enable both workflow variables and entity fields to be updated. They are similar to user tasks in this regard but require no action to be taken by a user. They can be used to auto-update entities.
There are two types of tasks: user and script. User tasks require direct action from a user in order to advance the process through the flow. Tasks can be specifically restricted by user type. For example, you might create an Approve Investigation task that is to be completed only by those with Manager status. Script tasks enable advanced scripting options to be used in the workflow. They can modify workflow variables and entities. You must be comfortable with JavaScript in order to use a script task.
Lastly, sequence flow elements link workflow elements together. If a sequence flow is coming from an Exclusive Gateway node (remember, that's the element that directs the workflow process to only one path), then a condition property should be set so that the gateway can determine which path the workflow should take.
The path that a workflow takes is controlled by workflow variables. For example, an exclusive gateway uses the value of the variable to determine which path to take in the workflow. The two types of workflow variables are entity defined and user defined.
Entity-defined variables are based on internal entity fields and take their initial values from those fields.
User-defined variables are created in the workflow and are global variables available to the entire workflow.
Remember, an inquiry is a request to internal or external parties for information.
Inquires can be linked to alerts or cases, or even to customers, associates, third parties, and manual parties.
An inquiry has a predefined workflow. The inquiry workflow enables you to manage the tasks associated with requests for information or research to support an investigation. This workflow includes one script task and two user tasks, which are all represented by blue boxes.
Remember, script tasks enable advanced scripting options to be used in the workflow. They can modify workflow variables and entities. You must be comfortable with JavaScript in order to use a script task.
User tasks require direct action from a user in order to advance the process through the flow. Tasks can be specifically restricted by user type.
This workflow is initiated when you use the create inquiry disposition.
Let's look at the tasks of the inquiry workflow in more detail.
1. When an inquiry is created, the system automatically assigns the user who created the inquiry as the inquiry owner and sets the due date for the inquiry. The due date is calculated by adding 5 days to the current date. The due date is a setting that can be changed in the JavaScript section of the workflow definition. In addition, the initial state of the inquiry is set to Open by the workflow.
2. The Start Inquiry user task enables any AML transaction monitoring user to choose whether to start the inquiry or abandon it, if the request for information is no longer needed. If the inquiry is abandoned, the workflow closes without further action.
If the inquiry is started, the inquiry's status is changed from Open to Active.
After this Start Inquiry path is activated, the user is expected to continue with procedures, often directed by organizational or governmental standards and processes, to support the activities related to collecting the required information. This could include creating workspaces or insights and printing the inquiry.
3. The Inquiry Active user task has two additional actions for the inquiry owner: Abandon and Complete. Similar to abandoning the inquiry in the Start Inquiry user task, if the inquiry is abandoned, its status changes to Abandoned and appears under Closed Inquiries on the Inquiries tab. If the inquiry has been satisfied, the inquiry owner can complete the inquiry and close out the user task. This changes the inquiry's status to Closed.
In this demo, I explore the various components of the workflow page. Notice that I'm already signed in to the administrator interface as viadmin.
In this demo, I explore the various components of the workflow page. Notice that I'm already signed in to the administrator interface as viadmin.
Now, I'll step through the tasks of the inquiry workflow.
Let's say that I would like some more information about a customer entity with the name of John Kelty. To do this, I'll request additional information from an external party, John Kelty's account manager Jane, by creating an inquiry.
Now, I'll step through the tasks of the inquiry workflow.
Let's say that I would like some more information about a customer entity with the name of John Kelty. To do this, I'll request additional information from an external party, John Kelty's account manager Jane, by creating an inquiry.
When I select the Create Inquiry disposition on John Kelty's alert, the Set the owner and assign the due date task sets me as the inquiry's owner and calculates the inquiry due date from the current date and assigns it to another workflow variable. We can see this in the JavaScript portion of the Script task.
The Start inquiry user task enables any AML Transaction Monitoring user to chose whether to start the inquiry or abandon it. For example, if I find out that the additional information about John Kelty is no longer needed, I can abandon the inquiry, in which case no further action is required from either party, and the workflow ends.
By starting the inquiry, the request for information about John Kelty is put out to account manager Jane. Starting the inquiry changes the inquiry's status from Open to Active.
The Inquiry active user task has two additional actions for the inquiry owner. Abandon or Complete.
Once the account manager Jane provides the requested information about John Kelty, the inquiry is completed and I, provided that the inquiry has been satisfied, close it out. This changes the inquiry's status to Closed. Closed inquiries can be viewed in the same location as abandoned inquiries in the end user interface: on the Inquiries page and then the Closed Inquiries tab.
In the Inquiry workflow, the Set owner and assign due date task automatically assigns the user who created the inquiry as the inquiry owner and sets the due date for the inquiry. The due date is calculated by adding five days to the current date. What programming language do you need to be familiar with in order to change the due date setting in the workflow definition?
Correct.
The due date is a setting that can be changed in the JavaScript section of the workflow definition.
In general, you must be comfortable with JavaScript in order to use a script task.
Incorrect.
The correct answer is a. The due date is a setting that can be changed in the JavaScript section of the workflow definition.
In general, you must be comfortable with JavaScript in order to use a script task.
The main paths that a case can take in the workflow are request for information, no report, or initiate report.
The case workflow involves the AML investigator, the AML manager, and the AML QA analyst.
The AML investigator is responsible for completing the case investigation and for indicating whether a regulatory report is needed. The AML investigator is also responsible for creating the regulatory report.
If a case has a report associated with it, then the case first gets passed to the AML manager for review before it can be closed.
After the case is closed, a random selection of cases is passed to quality assurance for review.
NOTE: There are two workflow variables that can be set to determine which cases are sent to QA.
wf_norep_sample has a default value of 10. For every case that is closed with no report, if the case number is divisible by 10, then the case is sent to a quality control analyst for review.
wf_rep_sample has a default value of 3. For cases that are closed with a report filed, if the case number is divisible by 3, then the case is sent to a quality control analyst for review.
In addition, SAS Anti-Money Laundering automatically creates a SAR90 follow-up case that enables you to review and report continuing suspicious activity. Institutions typically start a continuing activity review case 90 days after a SAR case has been filed and, if appropriate, file a continuing activity SAR within 120 days of the original SAR filing date.
We discuss SAR90 cases in more detail later in this lesson.
In this demo, I explore some of the tasks of the predefined case workflow. Notice that I'm already signed in to the administrator interface as viadmin.
In this demo, I explore some of the tasks of the predefined case workflow. Notice that I'm already signed in to the administrator interface as viadmin.
To open the case workflow, I click Workflows on the menu bar and then double-click Case Workflow.
I first want to point out that if the case comes from an alert, the workflow first retrieves the associated alert and then determines the case type, either transaction monitoring or watch list monitoring, depending on the domain of the alert. Then, the case type is updated based on this information.
Next, I select the Claim Ownership task. In our course scenario, the AML analyst is typically the user who creates the case and is automatically assigned as the case owner, but the AML investigator is the user who investigates the suspicious activity. This task enables the AML investigator to claim the case to kick off the investigation. This task also updates the case status from Open to Under Investigation. Let's take a look.
In the Properties pane, I see that this is a User task.
In the Participants section, I see that members of the AML Investigator group are able to claim and complete this task. Also, the workflow variable CaseOwner is populated with the user name of the investigator who completed the task, and this task is automatically assigned to the person whose user ID matches the value of CaseOwner.
Under Actions, I see that there is only one action button available for this task, Start Investigation. When an investigator clicks the Start Investigation button, the workflow variable wf_case_status is assigned the value Under Investigation, and wf_primary_status is assigned the value Open. The value of CaseOwner populates the Case Owner entity field, the value of wf_primary_status populates the Case Primary Status entity field, and the value of wf_case_status populates the Case Status entity field.
Next, I'll review the properties of a Script task, Update Case Opened Timestamp Field.
This JavaScript code updates the Case Opened Timestamp field for the case after the AML investigator claims the case to kick off the investigation.
After the investigation starts, and the Get user who started investigation task automatically retrieves the user ID of the current AML investigator who completed the Start Investigation task and saves this information, the workflow encounters an exclusive gateway. Based on what action button the AML investigator selects during the Start Investigation task (Initiate Report, No Report, or Request for Information), the workflow takes a different path. For example, if the investigator selects Request for Information, the workflow takes this Pending Correspondence path, and the system automatically calculates the time frame to finish the RFI, which is the datetime five days ahead from the current datetime.
Next, I'll click the Update status to code INVCASE after timer expires write service task.
When this task is executed in the workflow, the workflow variable wf_case_status gets the value of Under Investigation. This value then populates the Case Status entity field.
A regulatory report has a predefined workflow. The workflow can be customized to fit your organization's needs. The report workflow involves the AML investigator and the AML manager.
The AML investigator initiates and creates the regulatory report and ensures that the report is ready to be e-filed. The AML manager reviews the regulatory report to ensure that it meets the required standards and is filed within an acceptable time frame.
Let's now look at some of the tasks of the predefined report workflow.
Let's now look at some of the tasks of the predefined report workflow. On the menu bar, I click Workflows and then double-click the Report Workflow.
After the report is created from the case, the workflow moves into the Set case status to code RP task, which is a Script task that updates the status of the case. Then, the workflow encounters the Report Initiated task. Notice that this is a User task and that only members of the AML Investigator group can claim this task. The AML investigator that claims this task is then assigned to the ReportOwner workflow variable.
The AML investigator has the option to abandon the report or mark the report as done and ready to send to the manager for review.
If the AML investigator sends the report for review, the workflow moves to the Manager Review task. Notice that this is a User task that only members of the AML Manager group can claim. The AML manager that claims this task is then assigned to the ReportOwner workflow variable. At this point, the manager has three options: abandon the report, send the report back to the AML investigator for editing, or approve the report for e-file submission.
If the manager selects Approve for Submission, the workflow moves into the Ready to File task.
Remember, SAS Anti-Money Laundering automatically creates a SAR90 follow-up case that enables you to review and report continuing suspicious activity. The SAR90 case life cycle begins at the end of the regulatory report workflow. Institutions typically start a continuing activity review case 90 days after a SAR has been filed and, if appropriate, file a continuing activity SAR within 120 days of the original SAR filing date. This practice enables law enforcement to become aware of the continuing nature of previously reported activity, and it also enables the institution to determine whether an internal policy action might be appropriate.
Remember, after a SAR is filed and is accepted, the system creates a SAR90 case. Let's look at some of the tasks specific to the SAR90 case. There's actually SAR90 tasks in both the case and report workflows because they are linked together, but we're going to look at the case workflow.
Remember, after a SAR is filed and is accepted, the system creates a SAR90 case. Let's look at some of the tasks specific to the SAR90 case. There's actually SAR90 tasks in both the case and report workflows because they are linked together, but we're going to look at the case workflow. Notice that I'm already on the Workflow tab, so I'll double-click the case workflow.
The Set SAR90 Due Date script task automatically assigns the user who created the parent case as the SAR90 case owner and sets the due date for the newly created SAR90 case. This due date is 90 days by default. In addition, the report ID is written to the SAR90 case.
Then, using a Write Service task, the system automatically updates the case status to Suspended Due to SAR90. In addition, the due date that was calculated in the previous Set SAR90 Due Date task is saved to the Activation Date and Due By entity fields. The Case Status entity field is set to Suspended Due to SAR90 as well.
Next is the Activation user task. This new SAR90 case is automatically activated after 90 days. If you plan to work on the SAR90 case prior to the 90 days, you can activate the SAR90 case by clicking the Completed Activation action button. In addition, if a SAR90 case is about to expire, you can reset the timer to extend it another 90 days by clicking the Reset timer action button. Also, notice that there's a timer set on this task. If the 90-day timer runs out, the SAR90 case status is set to Open.
If you decide to work the SAR90 case before the 90 days, or if the 90-day timer expires, then the workflow moves to the Disposition SAR90 Alerts script task. During this task, the associated SAR90 case alerts are put back into the SAR90 queue to be dispositioned, either closed or reactivated.
If the Disposition SAR90 alerts script task throws an error, the Get Resources script task automatically retrieves the email subject and error message. This information comes from the amlCore resource folder.
Then the system sends the error email notification to the AML administrator. In addition to the email notification, the system throws a workflow error.
If no error occurs, the SAR90 case feeds into the regular case workflow where the investigator determines whether a continuing activity report must be created.
In many financial institutions, the team manager is also given the role of the investigator. This can lead to a conflict of interest because the team manager can review the same case they worked on as an investigator.
Our task is to add in a built-in check to ensure that the investigator/case owner is not also the manager/case reviewer. In order to accomplish this, we'll create two new workflow variables to capture the values of the Case Reviewer and the Case Investigator.
First, we'll edit the Get Investigator User script task to assign the case owner, who is the investigator, to the CaseInvestigator workflow variable. Then, we'll create a Claim Review user task assigned to the AML Managers group.
For this task, whoever claims the review will be written to the CaseOwner workflow variable, which already exists in the system. Then, we'll create a script task called Assign Case Reviewer that assigns the value of CaseOwner, the manager that claimed the task, to the CaseReviewer workflow variable.
A sequence flow will then send the task back to the Claim Review task if the Case Reviewer is the same as the Case Investigator. We'll use the predefined Case Workflow as a starting point.
In this demo, I show you how to modify the predefined case workflow.
In this demo, I show you how to modify the predefined case workflow.
I'm already in this workflow, so I'll start by clicking the Save as new icon on the toolbar. I'll enter Case_Workflow_Check for the workflow name and click OK.
Next, I'll create the two workflow variables of type String. I'm assigning these variables as type String because User/Group variables are not currently supported in the condition builder, and I'll use these workflow variables in the sequence flow condition.
On the toolbar, I click Properties, and under Workflow Variables, I click New variable. For Variable name, I enter CaseInvestigator. I click New variable again, and for Variable name, enter CaseReviewer. Next, I click the Save icon on the toolbar.
Now, I want to edit the Get Investigator user task to assign the value of the CaseOwner workflow variable to the CaseInvestigator workflow variable. On the toolbar, I click Workflow. In the Workflow editor, I click the Get user who started investigation task.
Next, I expand the JavaScript section and click Edit. I add execution.setVariable ("CaseInvestigator", CaseOwner); after execution.setVariable ("assignBackToInvestigator", CaseOwner); , and click OK.
At this point, I'm going to create a new user task named Claim Review. In the Element pane, I click User Task and drag it onto the workflow editor above the Manager Review task.
Next, I'll connect the All Report Closed sequence flow to the new user task. Also, I connect the Recommend NO Report sequence flow to this user task in order to make these changes easier to test.
Now, I configure the new user task. I select it, and in the Properties pane, under Settings, I enter Claim Review for Name. Under Participants, I select AML Manager, because I want members of the AML Manager's group to perform the review, and click OK.
For Assign acting user to variable, I select CaseOwner.
This will assign the manager that claims this task to the CaseOwner variable.
Next, I'll add a Claim action button to the Claim Review task. To do this, I expand Actions and then rename the Completed button label to Claim.
Now, I'll add a Script task that automatically assigns the manager who's the CaseOwner to the CaseReviewer field. In the Element pane, I click the Script Task and drag it onto the workflow editor below the Claim Review task. Then I connect the Claim Review task to the new Script Task.
I select the Script Task to fill out its properties. Under Settings, for Name, I enter Assign Case Reviewer. Under JavaScript, I click Edit. I enter execution.setVariable ("CaseReviewer", CaseOwner);, which sets the value of CaseOwner as the value of the CaseReviewer workflow variable. Then I click OK.
Now, I'll add an exclusive gateway between the Assign Case Reviewer task and the Manager Review task, and make the appropriate connections to distinguish the paths of the workflow. First, I connect the Assign Case Reviewer task to the exclusive gateway. Next, I connect the exclusive gateway to the Manager Review task and back to the Claim Review task.
Next, I'll rename these sequence flows and specify their conditions. I'll start by clicking the sequence flow that goes back to the Claim Review task. For Name, I enter Back to Claim Review.
Next, I expand Condition and click Edit. For Select a Workflow variable, I select CaseInvestigator. For Specify a value, I select CaseReviewer.
In this case, if CaseReviewer is the same as CaseInvestigator, or the manager that's reviewing the case is the same person that investigated the case is the same, then the workflow will loop back to the Claim Review task. The workflow will not advance to the Manager Review task unless the investigator and manager are not the same people.
Next, I click the sequence flow that connects the exclusive gateway to the Manager Review user task. For Name, I enter Continue to Review. I save this workflow.
At this point, there are two different case workflows: the predefined case workflow and the modified Case Workflow Check, which I just created. Currently, the system is configured so that the case workflow starts automatically when a case is created. I want to make it so that end users have the option to select which workflow they want started after a case is created.
To do this, I'll first have to remove the Start on object creation object from the predefined case workflow, and then I'll add a new toolbar item on the Case page that enables a user to select either the predefined case workflow or the modified Case Workflow Check.
At this point, there are two different case workflows: the predefined case workflow and the modified Case Workflow Check, which I just created. Currently, the system is configured so that the case workflow starts automatically when a case is created. I want to make it so that end users have the option to select which workflow they want started after a case is created.
To do this, I'll first have to remove the Start on object creation object from the predefined case workflow, and then I'll add a new toolbar item on the Case page that enables a user to select either the predefined case workflow or the modified Case Workflow Check.
On the Workflows page, I select the Case Workflow and then on the toolbar, I click the drop-down menu and select Start on object creation to clear this option.
Now I'll navigate to the Case page by clicking Data Objects on the menu bar. Then I double-click the Case entity, and click the Pages and Toolbar tab.
Under Toolbar Items, I click New Toolbar Item and select Start Workflow from the list. I enter Available Case Workflows as the menu label, and under Workflows, I select both workflows. Then I click OK and Save.
Now, I'll test the newly added toolbar item and the Case Workflow Check workflow in the user interface. I'll close out of the administrator interface, and in the end-user interface, I sign out as viadmin and then sign back in as the manager, amlmanager2.
On the Home page, under Create New Object, I click Case. For Description, I enter Workflow TEST. For Case category, I select ATM/Phone Activity, and for Case subcategory, I select ATM Deposits at Multiple Locations. For Priority, I select High. Then I click Save on the toolbar.
The case was successfully created. Now, as the manager, I must select which workflow I want to start. On the case toolbar, I click Available Case Workflows, and I select Case Workflow Check. On the toolbar, I click Tasks. I click Start Investigation.
Let's say that I performed my investigation and believe that no report is required. In the Tasks pane, I click No Report. I then click the Claim Review task, and then click Claim again to indicate that I'm the one who will perform the manager review.
Notice that I'm looped back to the Claim Review task because the person who created and investigated the case is the same person that plans to perform the review. In other words, the manager is also the investigator.
In this lesson, you learn how to configure the regulatory report and manage the e-file process.
Financial institutions are required to submit regulatory reports to their country's Financial Intelligence Unit, or FIU, when their customer's behavior raises suspicion.
Let's quickly review the process that financial institutions follow to submit a regulatory report. Investigators collect all required data and fill in the report forms through the SAS Anti-Money Laundering user interface. These reports then are converted into XML-based electronic files, or an e-file. E-files are transferred through a secure network hosted by the regulator.
A regulatory report consists of three main parts: entities, data mapping, and reference data. Some of these components are configured out of the box, whereas others must be configured by members of the AML managers group.
Let's start by looking at the entities. The Regulatory Report Form Config entity is a template that defines the regulatory report and its metadata. Through the Regulatory Report Form Config, you configure other entities such as the SAR Filer, the SAR Institution, and the Regulatory Report Transmitter entities.
SAR Filer defines the filing institution's contact information. SAR Institution defines where the suspicious activity occurred, and Regulatory Report Transmitter contains the transmitter information for e-filing, including the TCC, or Transmitter Control Code, ID.
After they are configured, these entities can be added to the regulatory report itself. Note that the SAR Filer, SAR Institution, and Regulatory Report Transmitter entities are usually static and preconfigured before the solution goes live. It is important to note that you must be a member of the AML Managers group to create one of these templates.
True or false. You must be a member of the AML Administrators group to create a data template in a SAR form.
Correct.
You must be a member of the AML Manager group.
Incorrect.
The correct answer is b. You must be a member of the AML Manager group.
In this demo, I show you how to configure the regulatory report. Notice that I'm signed in to the end-user interface.
In this demo, I show you how to configure the regulatory report. Notice that I'm signed in to the end-user interface.
In the Search field, I enter us suspicious activity report and press Enter. Then I double-click US suspicious- activity report FORM_1, which is the Regulatory Report Form Configuration entity.
Remember, this entity is the template that defines the regulatory report and its metadata.
Next, I'll configure the SAR filer template. In order to create data templates like this one, the user I'm signed in as must be a member of the AML Managers group, which it is. On the toolbar, I click New SAR filer template.
Here, we are creating a new SAR filer and linking it to the Regulatory Report Form Configuration entity so that the investigator will have the option to select this SAR filer when creating the regulatory report.
In this window, we'll fill out some of the details of the SAR filer, but we could select Search Bank.
If the financial institution already exists in the system, we can search and select it, and then some of the fields will automatically be populated from the information in the system. Because the financial institution, SAS Institute doesn't already exist, I'll manually fill in these fields.
For Type of financial institution, select Securities or Futures. For Filer name, I enter SAS Institute Inc. For Country, I leave United States. For Address, I enter 100 SAS Campus Drive. For City, I enter Cary. For State, I select North Carolina, and for Postal Code, I enter 27513. Then I click Save.
On the toolbar, I click the Edit icon. For TIN type, I select Employer Identification Number, or EIN. For TIN, I enter 123123123.
For Financial Institution identification type, I select Research, Statistics, Supervision, and Discount (RSSD) number. For Filer ID number, I enter 111222333. For Primary federal regulator, I select Federal Deposit Insurance Corporation (FDIC). For Type of securities and futures institution or individual filing this report -- check box(es) for functions that apply to this report, I select Holding company and Introducing broker-securities.
Next, I click the Address and Contact tab. For Contact office, I enter COMPLIANCE. For Contact phone number, I enter 9196778008. Then I save and navigate back to the US suspicious-activity report FORM_1.
Notice that there's already a SAR institution template defined. Now, I'll configure another. On the toolbar, I click New SAR Institution template. For Type of financial institution, I select Casino or Card Club. For Legal name of financial institution, I enter SAS Institute Inc. 2. For Country, I leave United States. For Address, I enter 100 SAS Campus Drive 2. For City, I enter Cary 2. For State, I select North Carolina. For Postal code, I enter 27513. Then I click Save.
On the toolbar, I click the Edit icon. For TIN type, I select EIN. For TIN, enter 333111222. For Financial Institution ID type, select Central Registration Depository (CRD_number). For Financial Institution ID number, enter 333111222. For Primary federal regulator, select Federal Deposit Insurance Corporation (FDIC). For Type of gaming institution, select State-licensed casino. On the toolbar, I click the Save icon.
Lastly, I configure a new FinCEN transmitter template. On the menu bar, I navigate back to the US suspicious- activity report FORM_1. On the toolbar, I click New FinCEN transmitter template.
For Transmitter name, I enter SAS Institute Inc. For Telephone number, I enter 9196778008. For TIN, enter 111222333. For Transmitter Control Code (TBSATEST for testing), I enter TBSATEST. For Contact name, I enter SAS TECHNICAL SUPPORT. Then, I click the Address tab. For Address, I enter 100 SAS Campus Drive. For City, I enter Cary. For State, I select North Carolina, and for Postal Code, I enter 27513. I click Save.
It is important to note that the SAR filers, SAR Institutions, and Regulatory Report Transmitter entities are usually static and preconfigured before the solution goes live.
Data mapping is also configured in the Regulatory Report Form Config entity, including case data, customer data, external data, and so on. Let's take a look. Data is mapped into regulatory reports using JSON. You can view and edit these mapping files from the Mappings tab on the Regulatory Report Form Config template.
There are two types of mapping: Case/Report data mapping and Customer data mapping. Case/Report data mapping is for mapping case or report data into a report during report creation, and customer data mapping enables investigators to populate subject data into a report.
There are two types of Case/Report data mappings. "Create" is used when creating a report for a case. It defines how the case data is populated into a report and which types of default data templates can be cloned and added into the report. "Reset" is used for cloning an accepted SAR report into a correction report.
There are three types of customer data mapping. Customer data mapping is used for mapping or populating customer data (defined as external entity: PTY) related to the parent case into the report. Manual party data mapping is used to populate internal entities (defined as internal entity: manual_parties) related to the parent case, and external party data mapping is used to populate external entity (defined as external entity: EXT) information related to the parent case. The rr_job_populate_ load_cfg job uses these three mappings to generate SAS programs to load customer, manual party, and external party account data into the SAR subject, or rr_sar_subject. Note that these resulting programs are saved in the rr_templates_folder, which is located under SAS Content, Products, SAS Anti-Money Laundering, Regulatory Reporting, templates.) It is important to note that if any of these mappings are modified, the SAS programs must be regenerated by clicking Generate on the Mapping tab.
In addition, the Additional Properties tab displays properties and configurations for a SAR90 case. Remember, SAS Anti-Money Laundering automatically creates a SAR90 follow-up case that enables you to review and report continuing suspicious activity. Institutions typically start a continuing activity review case 90 days after a SAR case has been filed and, if appropriate, file a continuing activity SAR within 120 days of the original SAR filing date. The Additional Properties tab includes a properties section, a SAR90 config section, and a SAR90 domains section. The properties section includes additional properties that can be set for a SAR90 case, including the subjectTableName. The SAR90 config section includes configuration parameters for a SAR90 case, including caseType and caseStatus. Lastly, the SAR90 domains section specifies the alert domain parameters that participate in a SAR90 case such as the domainId.
With the Regulatory Report Form Configuration entity, you can specify the data that's mapped to the regulatory report. Let's take a look. Notice that I'm already in the Regulatory Report Form Configuration entity, which is the US suspicious-activity report in the end user interface.
With the Regulatory Report Form Configuration entity, you can specify the data that's mapped to the regulatory report. Let's take a look. Notice that I'm already in the Regulatory Report Form Configuration entity, which is the US suspicious-activity report in the end user interface.
I click the Mapping tab, and I'll review the Case or report mapping data.
"create" is used to define data mapping upon report creation. detailsTableName is the name of the report details table, rr_sar_report. "assignments" contains the main body of the data mapping and is defined in a fixed format: Target, Source, and Type.
Target specifies the name of the field to be updated.
Source specifies the name of the source field, date offset, or a constant value.
Type specifies the type of assignment, which could be a field, constant, currentDate, or lookup table.
Notice that the assignments section is broken down into two main chunks, "rr_report" and "rr_sar_report". When you create a regulatory report, you'll see two main tabs.
The rr_report chunk defines the mappings on the first tab.
The rr_sar_report chunk defines the mapping for the SAR Report Details entity, which can be found on that second tab.
For the "create" example, under "rr_report", the due_at_dt field is determined from the due date on the case, the report_status field is set to the constant O (for "Open"), the report_owner field is populated from the case_owner value of the case, and the employee_ind field is mapped from the employee indicator field from the case. It's important to note that if you change the JSON code, then you must click Regenerate mapping program if data mapping is changed.
Now let's review the SAR90 mappings. To do this, I click the Additional Properties tab. Notice that there is a properties section, a SAR90 config section, and a SAR90 domains section. Remember that the SAR90 config section includes configuration parameters for a SAR90 case. For example, caseType is used to identify the case that is created by the SAR90 script task of the report workflow as a SAR90 case. In this mapping, caseType equals SAR90. In addition, suspendDuration is used by the Case workflow SAR90 script task to set the suspended timer duration. In this example, suspendDuration is set to 90 days. Lastly, reportSAR90ObjectNames is used by the SAR90 script task of the report to indicate which entities are related to the SAR90 case.
| Field | Value |
|---|---|
| Type of financial institution | Securities or Futures |
| Filer name | SAS Institute Inc. |
| Country | United States |
| Address | 100 SAS Campus Drive |
| City | Cary |
| State | North Carolina |
| Postal Code | 27513 |
| TIN type | EIN |
| TIN | 123123123 |
| Financial Intitution identification type | Research, Statistics, Supervision, and Discount (RSSD) number |
| Filer ID number | 111222333 |
| Primary federal regulator | Federal Deposit Insurance Corporation (FDIC) |
| Type of Securities and futures institution or individual filing this report – check box(es) for functions that apply to this report | Holding company and Introducing broker-securities |
| Contact office | COMPLIANCE |
| Contact phone number | 9196778008 |
| Field | Value |
|---|---|
| Type of financial institution | Casino or Card Club |
| Legal name of financial institution | SAS Institute Inc. 2 |
| Country | United States |
| Address | 100 SAS Campus Drive 2 |
| City | Cary 2 |
| State | North Carolina |
| Postal Code | 27513 |
| TIN type | EIN |
| TIN | 333111222 |
| Financial Institution ID type | Central Registration Depository (CRD) number |
| Financial Institution ID number | 333111222 |
| Primary federal regulator | Federal Deposit Insurance Corporation (FDIC) |
| Type of gaming institution | State-licensed casino |
| Field | Value |
|---|---|
| Transmitter name | SAS Institute Inc. |
| Telephone number | 9196778008 |
| TIN | 111222333 |
| Transmitter Control Code (TBSATEST for testing) | TBSATEST |
| Contact name | TECHNICAL SUPPORT |
| Address | 100 SAS Campus Drive |
| City | Cary |
| State | North Carolina |
| Postal Code | 27513 |
The Regulatory Report entity is the actual report that's created from a case and that's based on the Regulatory Report Form Config. The regulatory report itself consists of separate entities. To be part of a regulatory report, these entities are required to be linked to the Regulatory Report entity by relationships and traversals. The Regulatory Report entity consists of SAR Filer, SAR Institution, SAR Report Detail, and SAR Subject.
The SAR Report Detail entity contains information such as the type of filing, the activity amount and date, the suspicious activity information, and the narrative for the SAR. This is also where you add an attachment if you want to send the attachment to the government.
The SAR Subject entity contains the subject of the SAR. Within the regulatory report, an investigator can click the Load Subject link, which executes the rr_job_populate_driver job and loads the case subject data to the regulatory report. Investigators can also manually create a SAR subject, which would create a SAR Subject entity. This is an example of the Create and Link solution extension that we discussed earlier.
Within this Regulatory Report entity, investigators can click the Validate link, which enacts XML schema validation. XML schema validation evaluates the regulatory report against a regulator-provided schema file to determine any XML validation errors. This checks for any errors published by regulators to minimize the e-file rejection due to published errors and schema issues.
The Regulatory Report E-File entity describes the E-file status and details. Regulatory reports that have a status of Ready to Submit are transformed and combined into an e-file by a batch job. E-files can later be electronically submitted to the government agency. We discuss this process more in the next section.
Now I'll switch to the administrator interface to view the properties of some of the regulatory report entities.
Now I'll switch to the administrator interface to view the properties of some of the regulatory report entities.
On the Data Objects tab, I double-click the Regulatory Report Form Configuration entity.
On the Settings tab, I see that the Regulatory Report Form Configuration entity is an Internal entity and that the database table used to populate this entity is rr_form_config.
The Unique Reference Number area enables you to specify how unique identities for objects of this entity are generated. Sequential generated number specifies that the first object of this entity type has the starting number, 1, as part of its reference number. The sequence increments by 1 each time that a new object of this entity type is created.
The Fields tab enables you to configure the fields contained within the entity. The fields that you can choose from depends on the data store and table defined on the Settings tab. In the Role column, I hover over the icon to determine the role of the field. For example, a Lock icon represents a system-reserved field, and a Key icon represents the primary key, which is the Form ID field. You can click the New field icon to add a new field to the entity or the Edit field icon to edit an already existing field.
The Conditions tab enables you to configure a condition to enable a page to dynamically change depending on the data associated with the object. I'll discuss conditions later in the course.
The Views tab enables you to configure the various views of an entity. Object label shows the field values that appear as the label for the entity. Icon, Node, and Pin Style determine how the entity is displayed.
In the Detail View section, I see Form ID, Form Type, and Description. These are the fields that you'll see in the search results in the Detail View.
Now I'll switch to the end-user interface so that you can see how this transfers over. I navigate back to the user interface, and in the Search field on the Home page, I enter us suspicious activity report. Remember, this is the Regulatory Report Form Configuration entity.
Notice that the search results in Detail View include Form ID, which is FORM_1; Form Type, which is US suspicious-activity report; and Description, which is also US Suspicious Activity Report.
Next, I'll navigate back to the administrator interface to review the rest of this entity's properties. The Pages and Toolbar tab enables you to configure how an entity is displayed in the interface. An example is the Regulatory Report Form Config View for SAR page.
This page should look familiar. It's where we configured the data templates for the SAR.
The Pages and Toolbar tab is also where you can configure toolbar items and page associations. With page associations, administrators can set when to display each of the pages using contexts. We'll talk about these a little later in the course.
Lastly, I'll review the Authorization tab. The Authorization tab enables you to configure which user groups can access this entity type. Here, I see that members of the AML Administrator and AML Operations Manager groups can search and read, create, edit, and delete Regulatory Report Form Configuration entities, whereas members of the AML Analyst, AML Investigator and AML Manager groups can only search and read.
A Regulatory report also consists of reference data. There are two types of reference data: reference data lists and reference data hierarchies.
Reference data lists are single lists of data that contain entries for selection in a dropdown. An example of a reference data list in the Regulatory report is SAR Institution Type, and FinCEN TIN Type.
Reference data hierarchies enables a user to make a selection in one drop-down list that drives the available options in subsequent drop-down lists. For example, the Regulatory report contains a reference data hierarchy for country and state.
In this demo, I review some of the reference data that's configured with the solution. Notice that I'm on the Data Objects page of the administrator interface.
Within the regulatory report, these are the values that you'll see on the Filer ID type drop-down menu. On the left are the reference values that you see in the interface, and the code on the right is what's used and referenced in the database.
Next, I want to point out the Country Region Code reference list that contains a list of countries and their corresponding codes.
If a user selects United States in the Country drop-down menu, this drives the available options in the State drop-down menu.
In this demo, I review some of the reference data that's configured with the solution. Notice that I'm on the Data Objects page of the administrator interface. On the toolbar, I click Reference Data. Under Lists, I select the rrSarInstIdType reference list.
Within the regulatory report, these are the values that you'll see in the Filer ID type drop-down menu. On the left are the reference values that you see in the interface, and the code on the right is what's used and referenced in the database.
Next, I want to point out the Country Region Code reference list that contains a list of countries and their corresponding codes. To view the reference data hierarchies, I click Hierarchies. Then I click Regulatory Report Country or Region and State. In the right pane, I expand United States. If a user selects United States in the country drop-down menu, this drives the available options in the State drop-down menu.
The e-filing process involves four main steps. First, the individual reports must be validated to conform to the data quality standard. Next, e-files are generated from the regulatory reports that are ready to submit. Then, you schedule the batch transfer process to submit the e-files to the regulators. Lastly, the system analyzes the response file from the regulators and updates both the case and report status in the interface.
First, the reports must be validated. You click the Validate link from the SAS Anti-Money Laundering user interface, which executes the rr_job_validate_driver macro.
This macro requires the rr_sar_validate.xsl and EFL_SARXBatchSchema.zip files, which are needed to validate the SARX report UI data and display FInCEN provided error codes and item numbers. Both files must be in the xml folder located at SAS Content Product SAS Anti-Money Laundering xml in SAS Job Execution.
Also, the rr_error_code table is needed by this macro which contains error codes and descriptions. This table is in the kc schema.
Next, is the generate e-file step. A nightly batch job, rr_job_efile_fincen_driver runs then selects all of the reports with the correct status and includes them in an e-file.
Note: If the e-file has an attachment, then it is a ZIP, and the user must extract the XML and the zip-inside-the-zip containing the CSV attachment. Let's take a look at this job in more detail. The rr_job_efile_fincen_driver calls the rr_efile_fincen_driver macro.
The rr_efile_fincen_driver macro is comprised of five other macros that are responsible for e-file generation. rr_efile_fincen_driver is the main macro that executes e-file generation. This macro looks at all the ready to submit reports and executes based on report types.
The rr_datahub_type_access macro checks if the user has the permission to update a regulatory report, and to create and update an e-file. The rr_efile_fincen_gen_xml macro generates the raw XML file based on the report data, and further transforms the raw xml info the format required by the regulators.
The rr_efile_fincen_sar_attach macro adds a zip file to the report with an attachment. The rr_efile_file_updt macro copies e-files from the work directory to the SAS folder.
The rr_efile_db_updt macro generates the JSON request to update reports and e-files in the database. This macro also updates the report status to "E-file generated".
Now, let's discuss submitting the e-file to regulators. The e-file can be sent to FinCEN via manual submission or Secure Direct Transfer Mode, or SDTM. If submitting the e-file manually, the e-filer downloads the XML file created by the batch job and then uploads this file to the FinCEN e-file website.
SDTM is a secure mechanism for transferring batch submissions from your organization's internal server to the BSA e-filing server. SDTM enables the e-filer to automate the e-file submission and acknowledgment receipt process.
After the e-file is sent to FinCEN, the agency reviews the e-file and produces an acknowledgement/response file. The e-filer downloads the acknowledgment file and then saves this file to a particular location in SAS Drive (SAS Content, Products, SAS Anti-Money Laundering, Regulatory Reporting, efile-response, SAR).
After the acknowledgment file is in the correct location, the response file gets analyzed. Another nightly batch job, rr_job_resp_fincen_copy_xml, uploads the response files from the operating system to the SAS Viya file system.
Then, the rr_job_resp_fincen_process job, runs to process all the files in the Response folder and updates the e-file status and report status accordingly. It is important to note, these jobs can be run outside of batch using SAS Job Execution Web Application.
Correct.
The correct answers from top to bottom are b, c, d, a.
Incorrect.
The correct answers from top to bottom are b, c, d, a.
In this lesson, you get an overview of the three management reports that are provided with the SAS Anti-Money Laundering solution. In addition, you learn how to deploy, schedule, and modify these reports.
With SAS Visual Analytics, you can manipulate data, quickly and easily explore your data, add analytics, and create dynamic reports that can be viewed in a web browser or on a mobile device. You can think of SAS Visual Analytics as having two main functions: discovery (where we try to determine why things are happening the way they are) and reporting (where we show what we found during discovery).
SAS Anti-Money Laundering leverages SAS Visual Analytics to produce analytics reports.
The reports are viewed in the SAS Visual Analytics Viewer, and you must have the Report Viewing role. The following report categories are available:
Alerts Events Reports
Case Reports
SAR Reports
Let's briefly look at each of these report categories.
The Alerts and Events Reports category consists of three reports. Let's take a look. The Active Alerts Aging report provides an interactive view of alerts grouped into age distributions, broken down by investigator and alert strategy. The Active Events report shows the distribution of open events across different scenario names within scenario tags. This report also shows the number of active events that have their due date within the next 30 days and events that are past their due date. The Closed Events report shows the distribution of closed events over
investigator, event closing year/month/week, and event status. The Case Reports category consists of two reports.
The Active Cases report shows the distribution of open cases by case category and case subcategory. You can also see the number of cases due over the next 30 days.
The Closed Cases report shows the distribution of closed cases by case investigator, by month/year/week, and by case disposition.
Lastly, the SAR Reports category consists of five reports. The SAR by Status report shows SAR reports by their status. The SAR Created in the Last 90 Days report helps users understand the volume of SARs created in the past 90 days and shows the volumes by status. The SAR Due in Next 30 Days report gives an overview of the number of SARs due in the next 30 days. The SAR Filed over Time report shows the number of SARs filed within the filing year and provides the details of the investigator involved with the SAR. The SAR Filing Reasons report shows the number of SARs filed by the SAR reason types and SAR reasons.
You use SAS Job Execution to deploy the management reports. In this application, you'll execute three jobs, one at a time, in order to populate these reports. The jobs are Alerts Events Code Run, Case ETL Code Run, and SARS ETL Code Run. These jobs populate the Alerts/Event Reports, the Case Reports, and the SAR Reports, respectively. After you run each of these jobs and ensure that there are no errors in the log, you can view these reports in SAS Visual Analytics.
In this demo, I show you how to deploy the management reports. I first want to show you that the SAS Visual Analytics reports are not already set up.
In this demo, I show you how to deploy the management reports. I first want to show you that the SAS Visual Analytics reports are not already set up.
Because the jobs successfully ran, let's navigate back to SAS Visual Analytics and ensure that the data in the reports is showing correctly. I click back to the tab with SAS Visual Analytics and then reload the page. I double-click the Active Alerts Aging report and see that it opens successfully.
After the first successful execution of the jobs, they can be scheduled from the Jobs tab in SAS Job Execution to refresh the management reports in the required frequency. You do this by adding a new trigger to the frequency in which the report should be refreshed.
After the first successful execution of the jobs to deploy the reports, they can be scheduled to refresh the Visual Analytics reports in the required frequency. Let's say that I want to schedule the Alerts Events Code Run job to run every night at 9 p.m.
After the first successful execution of the jobs to deploy the reports, they can be scheduled to refresh the Visual Analytics reports in the required frequency. Let's say that I want to schedule the Alerts Events Code Run job to run every night at 9 pm. In SAS Job Execution, I click the Jobs tab. Next, I right-click the Alerts Events Code Run job and select Schedule job. In the Schedule Job window, I click the Add a new trigger button. I change the time to 21:00 hours which corresponds to 9pm, and click OK. Then, I click Save. In the Schedule Job window, I click Save. I now see that this job is scheduled.
When modifying the current management reports, there are a few best practices to follow: 1. The jobs point to other programs in the source code. To create a new folder under Management Reports, copy all the report jobs and programs that you want to modify and update into the new location. 2. Don't overwrite the original reports. Make your modifications to the copy of the reports. 3. After the updates and modifications to the programs have been saved, submit them and ensure that there are no errors. 4. Open Visual Analytics, modify the reports to show the new changes, and verify that everything shows successfully.
Let's now review the best practices for modifying the predefined management reports. I'm already signed in to SAS Job Execution as viadmin. First, I'll show you how to create a new folder under Management Reports, and then I'll copy the report jobs and programs that I want to modify and update them in the new location. By doing this, I'll always have the original reports to revert to.
Let's now review the best practices for modifying the predefined management reports. I'm already signed in to SAS Job Execution as viadmin. First, I'll show you how to create a new folder under Management Reports, and then I'll copy the report jobs and programs that I want to modify and update them in the new location. By doing this, I'll always have the original reports to revert to.
In the left pane, under SAS Content, I expand Products and then SAS Anti-Money Laundering. I right-click Management Reports and select New folder. For Name, I enter COPY because this folder will hold the updated copies of the original management reports.
Next, under Management Reports, I expand Jobs and Programs. I want to modify the Alert Events reports, so I'll copy the Alerts Events Code Run job and the Alerts Events ETL Code.sas program. To do this, I right-click the Alerts Events Code Run job and select Copy To. In the Save As window, I navigate to the COPY folder that I just created (Products, SAS Anti-Money Laundering, Management Reports, COPY) and then click Save.
Then I would make the required updates and modifications to these copied jobs and programs.
As a best practice, you should alter the original reports when you want to make a modification.
Correct.
Best practice is to create a new folder under Management Reports and copy all report jobs and programs that you want to modify and update into the new location. Don't overwrite the original reports. Make your modifications to the copies of the reports.
Incorrect.
The correct answer is b. Best practice is to create a new folder under Management Reports and copy all report jobs and programs that you want to modify and update into the new location. Don't overwrite the original reports. Make your modifications to the copies of the reports.
In this lesson, you learn about the various schemas used in SAS Anti-Money Laundering and the types of data that are stored in each of these schemas.
Let's review the data flow. The organization provides data from the source system as a database, flat files, or SAS data sets and loads the data to a staging area in a predefined format. Generally, the staging tables are truncated and reloaded every time the new data is available for processing. The extract, transform, and load, or ETL, process takes data from the staging area and loads it into the core database. The ETL process is critical, because SAS Anti-Money Laundering relies on the core database that is produced during this process.
Data is available in the corevw schema as views to data in core. This view shows only the current version of the record.
In addition, there is an ETL process that contains the code modules to read in and process data from consolidated watch-list vendors. The watch list data, in addition to all the tables specific to supporting the watch list management feature of scanning against customers, individuals and transactions, is stored in the amlwatchlist schema.
The amlprep schema uses data from the core, corevw, and amlwatchlist schemas and contains tables of all the elements required to run scenarios. Scenarios are programs that contain the logic to help financial institutions detect and report suspicious activity and sanctions targets to be in compliance with AML laws and regulations
The svi_vsd_service schema contains attributes related to flows and scenarios.
The svi_alerts schema contains scenario-fired events, alerting events, and alerts generated by jobs. These jobs use the AML prep and svi_vsd_service schemas to generate alerts.
Users can refer one or many alerts to cases, which populate regulatory reports if suspicious activity is identified. Cases, regulatory reports, and other internal data is stored in fdhdata.
In addition, you can access management reports within the solution, and you can create other reports using SAS Visual Analytics. These reports are populated from a variety of schemas.
It's important to mention that not all the databases used in SAS Anti-Money Laundering are shown in this diagram. This is a high-level overview of the data flow. We'll discuss more details of some of the schemas involved throughout this lesson.
A feature in SAS Anti-Money Laundering is multi-tenancy.
This enhanced architecture allows for separate tenants for different business units or organizations.
Each tenant has its own instance of the databases in order to separate the data.
In our course environment, there are two tenants: amlo and amla.
Suppose that Orion Star Bank has two organizations, one in France and one in Germany.
Without multi-tenancy, both organizations share one database.
With multi-tenancy, Orion Star Bank keeps the data from France separate from the data from Germany.
Let's first discuss the core schema and the corevw schema.
The core schema stores the data about entities that are the subject of investigation.
For example, this could be customers and accounts as well as their transactions.
If your organization is using the watch list monitoring feature, then match codes for the client data are stored in the core schema as well.
SAS Anti-Money Laundering uses this data to generate alerts. To enable the analysis of customer behavior over time, a large quantity of historical data is retained. This includes several months of transaction data, indefinite retention of customer and account data, and selected before-and-after changes to customer and account data. The Core database can store anywhere from one month to several years worth of transactions, and this data is rarely modified.
Capturing and retaining this data for millions of customers requires very large data stores.
To provide effective and efficient loading, processing, and querying of such large data stores, the Core database uses an established data warehousing methodology referred to as dimensional modeling. Let's look at how SAS Anti-Money Laundering uses dimensional modeling.
The core schema contains three primary types of tables: fact tables, bridge tables, and dimension tables.
Fact tables store measurements and events that take place at a point in time and do not change. For example, fact tables store transaction and wire amounts, counts date, time, and other numeric values.
Fact tables typically retain at least 13 months of transaction data for building account and customer profiles. This enables seasonality variance to be captured in the profiles.
Dimension tables store attributes, or dimensions, that describe the measurements or facts in a fact table. Dimension tables provide contexts such as who executed the transaction and where the transaction was executed.
Dimension tables grow at a slow pace and generally retain data indefinitely, which is in line with data retention policies and regulations.
Lastly, bridge tables link dimension and fact tables together.
Bridge tables are reloaded at every run of the data load process to capture changed relationships and identify many-to-many relationships.
True or false. Dimension tables store measurements and events that take place at a point in time and do not change.
Correct.
Fact tables store measurements and events that take place at a point in time and do not change. For example, fact tables store transaction and wire amounts, counts, dates, times, and other numeric values.
Incorrect.
The correct answer is b. Fact tables store measurements and events that take place at a point in time and do not change. For example, fact tables store transaction and wire amounts, counts, dates, times, and other numeric values.
Let's look at an example of how the Primary Core tables relate to each other. The Party Dimension table stores information about the customer that plays a role on an account, such as name and date of birth and whether the customer is an individual or an organization.
| Party Dimension |
|---|
| party_key |
| party_name |
| party_tax_id |
| party_date_of_birth |
| : |
The Account Dimension table contains details about the account of interest to the financial institution for the purposes of detecting anti-money laundering and suspicious activities. This account includes information such as account type and account_open_date.
| Account Dimension |
|---|
| account_key |
| account_name |
| account_open_date |
| account_status_desc |
| : |
The Party Account Bridge table links the Party table to the Account table. This table links a many-to-many relationship. For example, one customer can have multiple accounts and multiple people can share an account.
| Party Account Bridge |
|---|
| account_key |
| party_key |
| role_desc |
| : |
There's also a Household Dimension table that stores all the customers that exist in the same household.
| Household Dimensions |
|---|
| household_key |
| street_address |
| street_city_name |
| : |
The Household Bridge table links the Party and Account tables.
| Household Party Bridge |
|---|
| party_key |
| household_key |
| hh_head_flg |
| : |
| Household Account Bridge |
|---|
| household_key |
| account_key |
| : |
When a customer makes a deposit into an account, a record is added to the Cash Flow Fact table.
| Cash Flow Fact |
|---|
| transaction_key |
| account_key |
| country_key |
| transaction_type_key |
| : |
The Cash Flow Fact table is linked to the Account Dimension table to tie the transaction to the account.
Because we are using a Dimensional model, there are other dimension tables with additional information about the transaction. Note: The Transaction Dimension table is a supplementary table to the transaction facts and is used to capture additional, typically verbose, data about a transaction.
| Transaction Dimension |
|---|
| transaction_key |
| transaction_reference_num |
| : |
This is an extension of the fsc_cash_flow_fact table, with transaction reference. Storing this data here helps keep the Fact table smaller than it would otherwise be. The Transaction Type Dimension table contains classification of transactions. This table is used to analyze transactions in a consistent manner
| Transaction Type Dimension |
|---|
| transaction_type_key |
| transaction_cdi_code |
| primary_medium_desc |
| secondary_medium_desc |
| : |
| Country Dimension |
|---|
| country_key |
| country_name |
| : |
Let's look at an example of how the Primary Core tables relate to each other. The Party Dimension table stores information about the customer that plays a role on an account, such as name and date of birth and whether the customer is an individual or an organization.
The Account Dimension table contains details about the account of interest to the financial institution for the purposes of detecting anti-money laundering and suspicious activities. This account includes information such as account type and account_open_date.
The Party Account Bridge table links the Party table to the Account table. This table links a many-to-many relationship. For example, one customer can have multiple accounts and multiple people can share an account. There's also a Household Dimension table that stores all the customers that exist in the same household.
The Household Bridge table links the Party and Account tables. When a customer makes a deposit into an account, a record is added to the Cash Flow Fact table. The Cash Flow Fact table is linked to the Account Dimension table to tie the transaction to the account.
Because we are using a Dimensional model, there are other dimension tables with additional information about the transaction. Note: The Transaction Dimension table is a supplementary table to the transaction facts and is used to capture additional, typically verbose, data about a transaction.
This is an extension of the fsc_cash_flow_fact table, with transaction reference. Storing this data here helps keep the Fact table smaller than it would otherwise be. The Transaction Type Dimension table contains classification of transactions. This table is used to analyze transactions in a consistent manner
The corevw schema consists of database views built on core schema tables and contain only the current records from the dimension and bridge tables. When the views are accessed, a query executes on the tables in the core schema and return a subset of data. These views return only active records, for example, records where the current indicator is Y.
When you implement SAS Anti-Money Laundering, a critical step in the ETL process is transaction mapping. Transaction mapping is the process of mapping customer source system transaction codes to the Anti-Money Laundering transaction type codes. The benefit of having this is that the scenarios can reference transactions in a consistent manner. It is important to note that transaction mapping requires finding source system transaction code experts, and may require substantial effort. Standard type codes may not be sufficient for other countries or some custom required scenarios.
Let's look at an example of how six source transaction codes are mapped to SAS Anti-Money Laundering transaction codes. In the table shown here, the SAS transaction type Cash Deposit is represented in the source system with the code BXD. The source transaction code ATW is an internal bookkeeping transaction and does not have an equivalent SAS transaction type. Because these transactions don't need to be monitored, they do not need to be loaded into the database. The next row shows an instance in which multiple codes in the customer source system map to one SAS transaction type. The final two rows show a single type of transaction in the source system that maps to two different SAS transaction types.
Here are a couple of best practices for transaction mapping. When you're mapping transactions, keep these tips in mind. Use the standard transaction types included with the solution to be sure that you avoid overlapping codes and double-counting transactions. Avoid non-essential transaction types, or remove them when possible, to save on storage space. This can greatly improve system performance.
In this demo, I look at some tables in the core and core view schemas.
In this demo, I look at some tables in the core and core view schemas. To do this, I click the Start menu and click the pgAdmin 4 v6 shortcut. I enter Student1 as the master password and click OK.
Next, I expand Servers, and navigate to Databases, tenant2, Schemas, core and Tables.
I see a list of all the tables in the core schema. Notice that all these tables are prefixed with fsc_ and suffixed with either _dim, _fact, or _bridge, which is in line with the dimensional warehousing methodology.
To open the fsc_account_dim table, I right-click and select View/Edit Data, and then select All Rows.
This table includes any financial account of interest to the financial institution for the purposes of detecting money laundering activities. Typically, these are customer accounts. For example, I see the account number and type of account as well as whether the account is a single or joint account.
Next, I want to explore the transaction types that come out of the box with the solution. To do this, I right-click fsc_transaction_type_dim, select View/Edit Data, and then select All Rows.
In this table, I see the cdi code of the transaction and the primary medium, as well as the transaction code.
Then, under Schemas, I expand corevw and expand Views. Remember, the corevw schema consists of database views built on the core schema tables and contains only the current records from the dimension and bridge tables. I expand account_dim and then Columns to see all the columns in this table.
To see the data, I right-click the view again, select View/Edit data, and select All Rows. When the views are accessed, a query executes on the table in the core schema and returns a subset of data. These views return only active records.
SAS Anti-Money Laundering includes database tables specific to supporting the watch list management feature of scanning against customers, individuals, and transactions.
The watch list tables are stored in the amlwatchlist schema. Remember that SAS Anti-Money Laundering provides the ETL code for the World-Check, Dow Jones, Accuity, and 314(a) watch lists.
View the "Amlwatchlist Schema" Read About It to see a description of the tables contained in this schema. It's important to mention that depending on the watch list consolidator, some of these tables and columns might not be populated.
fsc_wl_address contains address information and corresponding match codes for individuals on the watch list.
fsc_wl_birth_date contains date of birth and birth year for the individuals on the watch list.
fsc_wl_birth_place contains place of birth information and corresponding match codes for the watch list data.
fsc_wl_country contains information about country of citizenship, nationality, country of residence, and country of registration.
fsc_wl_entity has a one-to-many relationship with the remaining tables in this schema using the entity_watch_list key. In addition, this table contains a mapping to the original source in the watch_list_name and the entity_watch_list_number columns. Distinct information for the individual such as gender and deceased flags are included, as well as flags that are used to identify the reason that the person is on the watch list.
fsc_wl_entity_description contains description fields and an occupational category for the watch-list individual.
It's important to note that Type 2 changes are not saved for this table because it is used only for viewing in the user interface. Note: Type 2 retains the full history of values. When the value of a chosen attribute changes, the current record is closed. A new record is created with the changed data values, and this new record becomes the current record. Each record contains the effective time and expiration time to identify the time period between which the record was active.
fsc_wl_entity_name contains name information, including name and name type, and the corresponding match codes.
fsc_wl_entity_native_name contains country code, language code, and entity name in the original script name (OSN).
fsc_wl_etl_info contains information about the last execution of ETL code, including the input data source and the last record numbers written. In addition, this table contains the match code definitions and sensitivities used in the ETL.
fsc_wl_vessel_information contains information that is specific to vessels such as type, tonnage, owner, and flag.
fsc_wl_identifier contains identification types and identification numbers. The identification types include passport, driver's license, national IDs, tax IDs, Social Security numbers, and so on.
fsc_wl_image_link contains links to photos of the entities on the watch lists.
fsc_wl_information contains text information related to the entities on the watch list. This is free text that is provided by the watch list consolidator. It can include additional information about why the entity is on the links, references to the lists the entity is included on, and negative news.
fsc_wl_information_source contains hyperlinks to websites that are related to the entities on the watch list.
fsc_wl_program contains information about the lists containing this entity. This includes the name of the list and the associated country. A program type is included to identify whether the list is for sanctions, regulatory, or law enforcement.
fsc_wl_relationship_bridge contains links between entities that are related by family or business association.
fsc_wl_scratchpad is a utility table containing entity_watch_list_key used to perform joins within the amlwatchlist schema and to make the joins more efficient.
Which table contains the match code definitions and sensitivities used in the amlwatchlist ETL?
Correct.
The fsc_wl_etl_info table contains information about the last execution of ETL code, including the input data source and the last record numbers written. In addition, this table contains the match code definitions and sensitivities used in the ETL.
Incorrect.
The correct answer is b. The fsc_wl_etl_info table contains information about the last execution of ETL code, including the input data source and the last record numbers written. In addition, this table contains the match code definitions and sensitivities used in the ETL.
Next, let's discuss the amlprep schema.
Remember, SAS Anti-Money Laundering leverages flows
that contain scenarios.
And a scenario analyzes data for specific conditions to detect suspicious behavior.
A scenario analyzes a single data source table.
Amlprep includes summarized tables that contain all elements required for the scenario to analyze in order to detect the behavior of interest.
It is important to note that if the out-of-the-box scenarios do not meet your organization's requirements, custom scenarios can be created. If you do create custom scenarios, it might be necessary to add a new prep table to the amlprep schema.
View the Amlprep Schema Read about It to see a description of the tables contained in this schema. AML prep schema. There are 15 total prep data sets that come out of the box, and these data sets are truncated and reloaded with every execution of the alert generation process, or AGP.
account_profile is used by the Unusual Behavior flow to detect accounts based on unusual activity, such as high-velocity fund inflows and outflows, and high account turnovers.
aml_run_date logs AGP run dates for daily, weekly, and monthly flow executions. The datetime values in this table are also used to derive the next AGP run date.
cd_account_info stores certificate of deposit account information.
dormant_accounts is used to monitor dormant accounts.
household_transactions contains transactions by household.
insurance_transactions is used to monitor payments made by high-risk instruments such as cash and wires.
loan_account_info is used to monitor early loan termination and early default on large, high-risk personal and home and auto loans.
loan_payments contains monthly summary of loan payments.
party_phone contains a summary of phone numbers shared between entities.
party_profile contains a monthly summary of activity by party.
party_tax_id is used to monitor recurring tax IDs.
transactions is used to monitor out-of-state activity, transactions in round amounts, recent SAR reports, and high-risk deposits like cash and wires.
unrelated_transfers is used to monitor excessive transfer activity with unrelated parties.
wl_party_matches stores customer and watch list matches for scenario support. This is the prep table used in the TM Weekly Watchlist scenario flow to generate watch list alerts.
wl_external_party_matches stores external party and watch list matches for scenario support. This is the prep table used in the TM Weekly External Watchlist scenario flow to generate watch list alerts.
Which table contains a record of AGP executions?
Correct.
The aml_run_date table logs AGP run dates for daily, weekly, and monthly flow executions. The datetime values in this table are also used to derive the next AGP run date.
Incorrect.
The correct answer is a. The aml_run_date table logs AGP run dates for daily, weekly, and monthly flow executions. The datetime values in this table are also used to derive the next AGP run date.
Additional schemas contained in the Anti-Money Laundering 8.3 database include the kc (or knowledge center) schema, the cdd schemas, and the migration schema.
The tables in the cdd schemas are outside the scope of this course, so we'll focus on the kc and migration schemas.
Remember, the kc schema stores customer segment information from the auto segmentation feature. In addition, this schema contains tables related to regulatory reporting.
The migration schema contains AML 7.1 comments and attachments information.
To learn more details about the tables contained in the kc and migration schemas, please view the Kc Schema Read About It and the Migration Schema Read About It, respectively.
entity_fact stores summary information on entities, such as Last CDD Review Date and associated score, next review date or last SAR date.
rr_error_code is a lookup table for all error codes published by the government agency.
rr_resp_error_list stores the response data received from regulatory agencies after an efile is submitted. The table contains a record for each error or warning in a response.
rr_resp_report_list stores the response data received from regulatory agencies after an efile is submitted. The table contains a record for each report in a response.
rr_resp_summary stores the response data received from regulatory agencies after an efile is submitted. The table contains a record for each response.
lang_dim defines the default locale of each entity type. Currently, it is used only in regulatory reporting.
analytic_fact stores the current and prior prioritization scores and reason codes for alerts that have been scored by the alert prioritization model.
party_segment stores the current segment assignments for each party in the system as well as the prior segment assignment history.
segmentation_run_history keeps a historical log of each run of the segment generation, reassignment, and assignment jobs.
temp_entity is a temporary table to store entity IDs.
migration_attachment contains migration attachment records.
migration_comment contains migration comment records.
migration_control contains migration control records.
migration_log contains migration log records.
migration_obj_type_xref contains SAS Anti-Money Laundering 7.1 and SAS Anti-Money Laundering 8.3 object type cross-reference records.
In this lesson, you learn about the security model that exists within SAS Anti-Money Laundering and how to configure the security of data objects in your system.
The security model defines who gets to see and do what in the system and has many facets. The security model consists of groups, which are comprised of users and are assigned capabilities, entity level and row-level authorization, and conditions that drive user-specific permissions. Managing groups and capabilities enables you to configure which features of SAS Anti-Money Laundering groups and users can access.
You can limit a group's ability to create, edit, delete or search any record within an entity. And although SAS Anti-Money Laundering doesn't offer true record level security, because that would be addressed in postgres similar functionality can be achieved within the solution itself. You can also apply conditional logic to limit user actions based on user-group, field value, or other conditions. You can also apply conditional logic to limit user actions based on user-group, field value or other conditions. Conditions can be applied to page templates, controls on a page, page associations, search results, and many other areas.
SAS Anti-Money Laundering ships with several pre-configured AML user groups, or roles. These groups have SAS Visual Investigator and SAS Anti-Money Laundering capabilities assigned according to the common functions that a user who is a member of the group needs to perform.
It is important to note that users must be created and stored externally in your organization's LDAP system. You cannot create new users in SAS Anti-Money Laundering. However, you can assign them to groups within the solution. Let's take a look at the pre-configured AML user role groups in more detail.
Members of the AML Administrator group are responsible for solution or application management. This role's responsibilities include controlling preferences, managing lists, viewing logs, and so on. Members of the AML Analyst group triage alerts to determine whether additional investigation is needed. Analysts close nonproductive alerts and promote productive alerts to cases.
Members of the AML Auditor group ensure compliance with financial regulations and established internal control procedures by examining reports and documentation. Members of the AML Database Access group are responsible for AML database administration.
Members of the AML E-Filer group manage e-files and uploads the e-files to the FinCEN website. By default, the AML E-Filer role group is the only role that has access to employee records. Members of the AML Employee Access group can access employee data. By default, this capability is given only to the E-Filer but can be configured as needed.
Members of the AML Investigator group investigate the case. The investigator determines whether a case has suspicious activity and completes the regulatory report, if it is required. Members of the AML Manager group review regulatory reports for accuracy and review and approve case closures. Members of the AML Operations Manager group have access to AML user performance metrics.
Members of the AML Quality Assurance Analyst group review a sample of the cases to ensure that the investigators and managers are conforming to the processes and are compliant when filing reports or closing cases. Members of the AML Scenario Administrator group have access to Scenario Administrator and can modify, test, or create new scenarios. Members of the AML Scenario Analyst group are responsible for scenario optimization tasks.
The CS AML TM Group is the overarching group that includes all AML transaction monitoring groups. Membership is a prerequisite to access the AML transaction monitoring user interface and functionality.
It is important to note that groups can be nested. Nesting groups means that one group can be a member of another group. In this case, the group will inherit the capabilities of the other group. For example, all the AML groups are members of the Visual Investigator Users group, which is needed to have access to the Visual Investigator Search and Discovery features and the Administrator interface.
Capabilities are associated with groups. There are 65 capabilities that come out of the box. Let's look at a few that are important for Anti-Money Laundering.
The Access Anti-Money Laundering REST API capability is required for accessing and using the system.
Because SAS Anti-Money Laundering uses Scenario Administrator to create alerts, the scenario capabilities and alert capabilities are of key importance.
Also, there are a variety of workflow capabilities that are needed for the out-of-the-box inquiry workflow, case workflow, and report workflow.
It is important to note that as part of your configuration, you can create new custom groups, but you cannot create new capabilities. You can assign or unassign capabilities to groups only. To learn more about the capabilities of each of the SAS Anti-Money Laundering roles, refer to the SAS Anti-Money Laundering: Administration Guide.
Users can be created in SAS Anti-Money Laundering.
Correct.
Users must be created and stored externally in your organization's LDAP system. You cannot create new users in SAS Anti-Money Laundering. However, you can assign them to groups within the solution.
Incorrect.
The correct answer is b. Users must be created and stored externally in your organization's LDAP system. You cannot create new users in SAS Anti-Money Laundering. However, you can assign them to groups within the solution.
Capabilities are added at the group level.
Correct.
Capabilities are added at the group level.
Incorrect.
The correct answer is a. Capabilities are added at the group level.
SAS Anti-Money Laundering comes with several preconfigured AML user groups, or roles. These groups are assigned capabilities according to the common functions that a user who is a member of the group needs to perform. In this demo, I show you a couple of these preconfigured groups and their assigned capabilities. Notice that I'm in the Administrator interface.
SAS Anti-Money Laundering comes with several preconfigured AML user groups, or roles. These groups are assigned capabilities according to the common functions that a user who is a member of the group needs to perform. In this demo, I show you a couple of these preconfigured groups and their assigned capabilities. Notice that I'm in the Administrator interface.
On the menu bar, I click Permissions. By default, Groups is selected. I see a list of all the groups created in the system. Some are AML specific, such as the cs_aml_analyst group, and others are geared more toward SAS Visual Investigator in general, such as sviusers, or the Visual Investigator Users group.
I click the AML Analyst group. In the right pane, I see that amlanalyst1 and amlanalyst2 are members. I can add or remove members. I click the Capabilities tab to see the capabilities that are assigned to this particular group. Again, I have the option to add or remove capabilities.
Next, I click the Visual Investigator Users group. Notice that all of the AML groups are members of this group, which is needed to have access to the Visual Investigator Search and Discovery features and the administrator user interface. It's important to note that you can create new custom groups within the interface, but you cannot create new users or new capabilities
For each entity, there are four authorizations that can be set: Search and Read, Create, Edit and Delete. These authorizations link to the Search in Visual Investigator, Create objects (entity instances), Edit objects (entity instances), and Delete objects (entity instances) capabilities, respectively.
Entity-level security enables administrators to control which objects can be accessed by user groups. Access rights are additive; that is, users gain all the access rights granted to all the groups of which they are members. For example, you could enable investigators to Search, Create and Edit case records but you could only enable managers and admins to Delete them. An auditor could only have access to Search and View.
Row level security enables the filtering of records within an entity type based on predefined conditions. Records or objects of an entity type are data, often referred to as rows in an entity table. Hence, the name row-level security. When row-level security is applied, it means that any given user or user group, despite having read or write access to an entity type, may not necessarily have those privileges for all entity objects.
For example, an AML Analyst has search and create authorization for the account entity but cannot see accounts that are employee accounts. Only those accounts that do not belong to employees are visible for the AML Analyst.
In this demo, I explore the entity- and row-level security of the Account entity.
In this demo, I explore the entity- and row-level security of the Account entity. To do this, I first open the Account entity on the Data Objects page. Then I click the Authorization tab. Remember, entity-level security enables administrators to control which objects can be accessed by user groups. An example is that the AML Analyst group can search and read, as well as create accounts. Members cannot edit or delete account entities.
To see the row-level security, I select the AML Analyst row. I scroll down to see any added conditions. Here, I see that members of the AML Analyst group can see only the rows of the account entity that are not employee accounts. In other words, AML analysts do not have the privileges to view employee accounts.
In the last section, we saw how we can apply conditions to entity level authorizations to set up row-level security or authorization. Conditions can also be applied to other configuration elements in SAS Anti-Money Laundering. Conditions are business rules that are set to determine user interface views.
Conditions are set at the entity level, and then can be used in the page templates, the page associations, and or the toolbar items for that entity type. Page templates specify how an entity is displayed in the user interface and consist of controls and layouts.
Controls are used to display data or information to the end user in a variety of formats. Custom controls can be developed by creating modular packages of angular code to meet specific needs. Layouts determine how controls are arranged on the page. For example, the controls can be arranged in 2 columns or 3 columns or arranged in a collapsible group box.
Each entity can have multiple pages associated with it. Administrators can set when to display each of these pages using contexts. For example, displaying one page when an object is created and a different page when the record is being viewed. Context can also be used to display different pages according to the fields in your data.
Toolbars display the actions that a user can perform on an entity page. For example, edit, save, print, delete, and start workflow. Using conditions, you can disable toolbar actions based on group membership.
Remember, conditions are business rules that are set at the entity level and can be applied to the page templates, the page associations, and the toolbar items for that entity type. In this demo, I review an example of each of these.
I'll start by reviewing the conditions set on the case entity.
Remember, conditions are business rules that are set at the entity level and can be applied to the page templates, the page associations, and the toolbar items for that entity type. In this demo, I review an example of each of these.
I'll start by reviewing the conditions set on the case entity. To do this, on the Data Objects tab, I double-click the Case entity. Then I click the Conditions tab.
I see that there are nine conditions set. For instance, I see the conditions User does not have employee access and User is not a manager.
Let's look at where these are used. On the Pages and Toolbar tab, I double-click the Case View page. On the Case Details tab, I select the Date-Time control, which is labeled Due date. In the Properties pane, I click the Condition button for the Read-only attribute.
I see that this particular control is set to Read-only when the user has no employee access and is not a manager.
Now, I'll navigate back to the Pages and Toolbar tab of the case and review the page associations.
Remember that page associations enable administrators to set when to display each of the pages associated with the entity. This is done through contexts.
I double-click the first conditional context under the Edit context, the Case Type = Watchlist monitoring. This conditional context states that if the Case Type is Watchlist monitoring, then the Watchlist Case View page is displayed. This means that the user will not see the page that is set up for the Edit mode but will see the page that's set up to show when the user is viewing the page. This user will not have the ability to edit the watchlist monitoring case.
Next, under Toolbar Items, I click the Create Report button and then click the Edit icon.
Notice that this toolbar item is disabled if the case status does not equal Report Initiated or if the current user is not a member of the AML Investigator group.