Question

1
Replies
51
Views
ashwin kumar s (ashwinkumars)
PayPal

PayPal
IN
ashwinkumars Member since 2014 19 posts
PayPal
Posted: August 12, 2020
Last activity: August 12, 2020
Posted: 12 Aug 2020 1:17 EDT
Last activity: 12 Aug 2020 3:26 EDT

Dynamic Product Rule (RAP) Creation

Is there a way to create Product Rule (RAP) dynamically with a set of parameters say ProductRuleName, Versions to be included, data instances to be included etc?

One way could be to create a new page of Rule-Admin-Product class and populating values to it from params and saving it.

I have checked on the clipboard page of an existing product rule (Rule-Admin-Product). But there are lot of child pages and pagelists on it. So is there any way to custom populate all the required values of a product rule similar to when we create it manually..?

 

Appreciate any help on this.

Pega Platform DevOps