Plan, execute, measure and optimize customer experiences

Using Global Variables in SAS Real-Time Decision Manager

Reply
SAS Employee
Posts: 9

Using Global Variables in SAS Real-Time Decision Manager

[ Edited ]

Global Variables in SAS Real-Time Decision Manager are a great way to control campaign logic without deploying new versions of a campaign. There are many use cases for them, including setting threshold values, enabling/disabling parts of your campaign logic and turning on/off offers among other things.

 

You create Global Variables in SAS Customer Intelligence Studio in the Definitions workspace. You need to select a data type, provide a value and can optionally associate your Global Variable with an Identifier. Once you've created the Global Variable, you can reference it in your campaigns.

 

In your campaign, you can use for example a branch node, which checks the value of the Global Variable. Using this method, you can turn on/off parts of your campaign based on the value. You could also use your Global Variables as a threshold value. For example, you might want to make an offer to customers with a model score above a certain value. This value might change over time and without Global Variables, you would have to deploy a new version of your campaign if the threshold changes (and you're using literal values in your campaign).

 

The great thing about Global Variables, is that their value can be changed once they've been deployed to the SASDSEngineRepository. You change their value through the Decision Services plug-in in SAS Management Console. You'll find them under Environment Management > Decision Services Manager > SAS Decision Services servers > SASDSEngineServer > SASDSEngineRepository > Global variables. Right-click on a Global Variable and choose "Set Value". Changing the value is immediate and affects all campaigns referencing the Global Variable.

 

What different things have you accomplished in your Real-Time Decision Manager campaigns by using Global Variables?

SAS Employee
Posts: 69

Re: Using Global Variables in SAS Real-Time Decision Manager

I also think they're good for a time-delayed activation of certain pieces of logic. Just create a date global variable for the date/time on which you want it to take effect, and use a split node to direct decision flows one way until the appropriate time, then it will flip over to the new way.
New Contributor
Posts: 4

Re: Using Global Variables in SAS Real-Time Decision Manager

Can this global variable also be employed in CI?

SAS Employee
Posts: 9

Re: Using Global Variables in SAS Real-Time Decision Manager

@4everStudent: if you're referring to MA/MO with CI then the answer is no. Global Variables are strictly an RTDM thing. In MA you could essentially accomplish the same by referring to any data item. Change the value of that data item in your datastore and subsequent campaigns would use the same value.

Ask a Question
Discussion stats
  • 3 replies
  • 700 views
  • 4 likes
  • 3 in conversation