I am facing one issue while using set method in Data transform.
I am trying to do set from one pagelist which exist on my pyworkPage to the a new pagelist on my pyWorkCover. While doing that i am getting error like "com.pega.pegarules.pub.clipboard.WrongModeException: The property pyWorkCover.CustomerAccessEquipment was of mode Page List while com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.getStringValue() was expecting String mode. Details: (none) "
Hi, have you tried to use For Each method to iterate over source list (check the checkbox to treat page as source) and within this loop try to Append and map to method to add new value to Destination list.
This is more likely workaround which seems to be less performant but you can give it a try.
Posted: 3 years ago
Posted: 28 Nov 2018 16:03 EST
Kyle Steike (steik)
Principal Software Engineer, Low-Code
You can use Append to [Page list] each page in [another page list / group]
If you only want certain properties from a source page, then you can use the solution mentioned previously where you loop through each page in source page list with checkbox checked to use each page as source context and append and map to destination page list and set specific values.