Question
Publicis Sapient
IN
Last activity: 17 Aug 2023 13:13 EDT
Fetch Data Instances from the Products
Hi All,
I have been working on code migration from Pega 7 to Pega 8 version
In Pega 7, we have a set of Products (around 800) that has many data instances to be moved to Pega 8.
Is there any possibility we can query through an activity, open the products and fetch the db instances inside it?
Thanks!
Pooja
@PoojaPalla Yes, you can create an activity to query and fetch data instances from products during the migration process. You can use the Obj-Browse method to retrieve the instances of the Data-Admin-Product class, loop through the results, and use the Obj-Open method to open each product. Then, you can access the data instances within each product and perform any necessary processing or migration tasks.
As a Support Center moderator, I reviewed the answer and references for accuracy
Migrating data from Pega Sales Automation 7.31 and earlier
Moving instances