By using Report Definition how can we send Dev environment 1000 records, UAT environment 2000 records, Pre Prod environment 3000 records and Production environment 4000 records?
@Ravindra Reddy
You can source the report from a data page. Add a response data transform on the data page. You can filter out the result count in the data transform by getting the environment level from pxProcess.pxAdminSettings.pyProductionLevel.
Could you please explain it step by step?
@Ravindra Reddy
Create a data page of list type with the source as report definition. Add your report definition and also create a data transform and add it in the response data transform field. In the data transform, when pxProcess.pxAdminSettings.pyProductionLevel=5, loop on Primary.pxResults and copy the data to a temp pagelist with a condition to exit the loop when the index count reaches 4000. Use the temp pagelist to send records to prod.