04-06-2016 09:35 AM - edited 04-06-2016 09:44 AM
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?
04-19-2016 03:19 PM
04-21-2016 03:30 AM
@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.