How to create a pagelist using java step in an activity when the property to be created is in a param
I have a requirement where in I want to create a pagelist but the pagelist reference is stored inside a param.
Explaining here with an example: I want to create a top level page NewRequestor of Code-Pega-Requestor and it should have the .OperatorID.pyWorkGroupList property from the pxRequestor. The catch here is that the property is stored in a param "PageList". I am doing this as I have got multiple pagelists sitting inside an embedded page which I would like to copy. I don't want to write a data transform for each embedded page and pagelist and copy it. If the structure grows in future, this would again need to be modified if I go by Data Transform.
I am thinking to create a java step in an activity which would take a source page "pxRequestor" and the property reference ".OperatorID.pyWorkGroupList" and the target page "NewRequestor" and i want to copy the values form pxRequestor into NewRequestor. I am able to do but the .OperatorID page is a classless.
What could be the best approach to not create OperatorID embedded property as classless.