I am developing a webflow based workflow and during the initialisation action I am trying to populate a set of command objects from a single domain class, with each command object containing just a subset of the fields available in the domain class… there’s a LOT of fields you see..
What I’m struggling with is how to populate the ‘properties’ of each command object with just the matching properties from the domain class.
Has anyone had experience with this and knows how to accomplish it ?
Thanks
Dave
You could do the following:
The problem with .properties is that it includes ‘class’ and ‘metaClass’. Setting these two a bad idea, so they’re getting filtered out.