I am new to Pega and trying to learn it by creating some applications.
I have a requirement in my application that whenever a new case is created all the fields in the case should get populated by the value of the fields from some old case created earlier. There are different kinds of properties in my case like a field, field groups, and field list.
Create a parameterised data page with Look Up configuration.
Fetch the pyID of the latest created work object based on pxCreateDateTime.
Invoke the date page by passing the pyID. It will retrieve the information of the previous created work object.
Now while creating the case as part of the first step Flow action Pre-Processing Data transform create a data transform and copy the data from the data page if all the data of the previous case is required this is not a better option as it will over-ride the px and pyproperties. Set the important info that is required one by one. For embedded properties like (Page or Page List ) assign directly so that entire data of the corresponding page will be copied to the target attribute.