Posted: 20 Nov 2018 23:52 EST Last activity: 21 Nov 2018 5:07 EST
Assigning values to strategy properties from a page list in SR class
How to assign values to strategy properties from a page list in SR class?
We have created a pagelist property as proposition property and want to use these parameters in Strategy, but Pega doesn't allow to map strategy properties to property values from a page list in SR class.
Is there any alternate way to use this?
MKT-SR has a page list KeyValuePair with properties Name and Value (PegaMKT-Data-KeyValue) defined within.
I want to property set in strategy as .Name = KeyvaluePair(1).Name
Non Scalar property types are not supported in the SR class. I am assuming you did not use the Proposition Hierarchy Landing page and directly created the page list property. I think you should revisit your usecase and find alternative method.
To understand better, can you please explain your usecase/business problem that you are trying to solve and what led to create the page list property?
We created it as proposition property only and added it in decision data form.
Our client wants to add and use SMS codes for every proposition in the format of ID, Name, and Value. A proposition can have N no of codes associated. To enable this we created a page list property from proposition landing page and added it to the form. We are able to assign values but not able to use it in strategies for calculations.
Please suggest if there is a way to use these property values.