BookmarkSubscribeRSS Feed

SAS Intelligent Decisioning: Advanced Lists

Started ‎12-23-2024 by
Modified ‎12-23-2024 by
Views 1,803

In SAS Intelligent Decisioning (as of stable 2024.01 or LTS 2024.03), you can create advanced lists and reference them in rule sets.  Advanced lists can also be shared among SAS applications and workflows.

 

An advanced list is a tabular data set that can have multiple keys and values.  It enables you to manage tabular data in your environment allowing you to publish and query that data in a low-latency, key-value data store.  Advanced lists also provide the ability to protect sensitive data in your lists using data masks. When you mask data in a list, all or a portion of the data values for an entire list column are redacted in the output.

 

01_MK_AdvList1.jpg

Select any image to see a larger version.
Mobile users: To view the images, select the "Full" version at the bottom of the page.

 

Advanced lists are stored in Redis. You must provide, configure, and maintain your own Redis instance. For information about configuring Redis for your environment, refer to the List Data Service topic in the SAS Viya: Administration guide.  In addition, an administrator must add any users who need to work with advanced lists to the Advanced List Users custom group in SAS Environment Manager.

 

 

Creating an Advanced List

 

To create an advanced list, select New list on the Advanced Lists page within SAS Intelligent Decisioning.​

 

02_MK_AdvList2.jpg

 

The first step in creating in advanced list is to define its properties.  You must enter a name for the advanced list.  Optionally, you can also specify a label and description.

 

03_MK_AdvList3.jpg

 

Check the box for deploy list on creation if you want the advanced list to be available for use by other SAS applications and workflows upon its creation.  If you don’t check this box now, you can deploy the list after creation.  Check the box for is immutable to prevent the contents of the list being changed after you add data.

 

04_MK_AdvList4.jpg

 

The Products\List Data folder in SAS Content is the default location for storing new advanced lists.  If you want to store it in a different location, select the folder icon and navigate to that location.

 

05_MK_AdvList5.jpg

 

For the list content, you have the option to define an empty list or import its contents from a CSV file.  You also have the option to include an expiry date column for the list items.

 

06_MK_AdvList6.jpg

 

Next, review the column names from the imported CSV or if creating the list from scratch, then add the column names for your advanced list. If you are importing the items from a CSV file, the column names are taken from the first row of the file.  Confirm you have selected the correct data type for each column.  The available data types are string, numeric, datetime, currency, and currency code.

 

You can also select whether you want to mask the column.  When masking a column, you can mask all characters or all but the last four characters.  Currently, if you mask the data in a column, then that column cannot be returned in a rule set.  Also, do not select to mask any of your key columns.

 

07_MK_AdvList7.jpg

 

Finally, select one or more columns to be the key for your advanced list.  In other words, what column or columns are used to uniquely identify a row on your advanced list.  Select Finish to create your advanced list.

 

08_MK_AdvList8.jpg

 

Here is the created advanced list with the data imported from the specified CSV file.

 

09_MK_AdvList9.jpg

 

In this case, CLIENT_ID is the key column and EMAIL, PHONE1, and PHONE2 are the value columns.  Depending on your privileges, you may be able to view and/or edit the list properties and its items.

 

The status of a list item can be deployed, developing, or archived.  Archived is only a status option if you have set an Expiry column for your advanced list. I select to deploy all rows for my advanced list.

 

10_MK_AdvList10.jpg

 

This changes all the list items to the status of deployed.  Only deployed items are returned when referencing an advanced list.

 

11_MK_AdvList11.jpg

 

 

Referencing and Advanced List in a Rule Set

 

Once a list is deployed, you can use an advanced list reference in an assignment or common rule set to retrieve values from the list.

 

12_MK_AdvList12.jpg

 

The first step is to select the advanced list you want to reference.  Only deployed advanced lists are available for selection here.

 

13_MK_AdvList13.jpg

 

Next, select the value columns you want to retrieve.  Only the value columns that are not masked are listed here.

 

14_MK_AdvList14.jpg

 

Finally, map the input variable or variables to the key column or columns on the advanced list.  Select Finish to complete the reference logic for the rule set.

 

15_MK_AdvList15.jpg

 

This is what the reference to the advanced list looks like in the rule set.

 

16_MK_AdvList16.jpg

 

Below are the results of testing that advanced list reference.

 

17_MK_AdvList17.jpg

 

 

Summary

 

The advanced lists features enable you to manage tabular data in your environment and query that data in a low-latency, key-value data store. For more information, refer to the SAS Intelligent Decisioning documentation on Managing Advanced Lists.

 

 

Find more articles from SAS Global Enablement and Learning here.

Version history
Last update:
‎12-23-2024 02:14 PM
Updated by:
Contributors

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

SAS AI and Machine Learning Courses

The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.

Get started

Article Tags