Question
External data in Marketing Strategy
Hello,
i have a real-time container with strategy which is processing some customer data. This stratedy has to offer only offers customer can afford.
So for that we have a REST connector which can give me customers credit based on ID parameter.
Now i am trying to figure out how to get this data from the REST connector to be used inside the strategy for my inbound container.
Can anyone give me some suggestions how to approach this?
Thanks Martin
***Edited by Moderator: Lochan to move post from Pega Academy to PSC***
Hi Martin (@MartinN1)
If you haven't already, I recommend that you to go through the Pega Marketing Consultant and Pega Decisioning Consultant courses to get the basic understanding of decision strategies, real-time containers and other related topics.
Specific to your query, if the credit data is part of your customer data model, then you don't have to pass it through the REST call. Strategies have access to all customer properties.
If additional information is passed by the container request, then the strategy can access it via Primary.ContainerPayload (or .Customer.ContainerPayload) construct.
Regards
Guru