Question

1
Replies
615
Views
divyad7156 Member since 2018 2 posts
Telenet Group
Posted: 1 year ago
Last activity: 1 year 10 months ago
Closed

Pega gives Warning not to use Data pages in strategy set property, how to reference data from data page in strategy

Problem Statement:

Pega gives Warning not to use Data pages in strategy set property.

Description:

  • We have product info and pricing details stored in a table in DB, and each proposition has product code values stored in it. As per current implementation , we are passing these product codes into a data page.

  • Data page held the logic of computing the final pricing and mapping it to single property.

  • The computed value is mapped to SR property . This mapping was done in the set property component , which is throwing warning .

    what sis the other way to implement?

    We tried 3 different approaches to overcome this warning but faced limitation in all.

    In the First approach, We tried the approach of creating a property called “.OfferPricing” in SR class to Refer to the data page D_OfferPricing and have the property directly mapped to the “.Fee” but found that we cannot create a page/pagelist on SRclass

    In the Second approach, We tried the approach of creating a property called “.OfferPricing” in Customer class to Refer to the data page D_OfferPricing and have the property mapping in strategy but the pointer concept did not work in the strategy..

    In the Third approach, We used Data import in strategy, call data page from it and map the result in properties mapping. HERE AGAIN THE ISSUE IS OF PASSING THE Product CODES as .ExternalCodes property value in data page parameter which is coming from propositions, as data import component will not take any input connector. If the value is hard coded the above approach , it works fine.

***Edited by Moderator Marissa to update SR Details***

Pega Marketing SR Exists
Moderation Team has archived post
Share this page LinkedIn