I think I got your requirement correctly. You need to pass a name of a property(pyWorkapage.pyLabel) to get the value from clipboard where the name is actually another properties value.(Local.NameofProperty=="pyLabel")
try using @Utilities.getPropertyPageClass("String ClassName" , "String PropertyName")
I'm also trying to achieve the same functionality. However when trying to use the method you have suggested here I get the following error, any ideas?
** ** No code generated for expression (5) - com.pega.pegarules.generation.internal.assembly.antlr3.PROperatorNodeInfo cannot be cast to com.pega.pegarules.generation.internal.assembly.antlr3.PRConstantNodeInfo