CommunityCommons.DeepClone - issue: reverse associations

0
Hi all,   For my current project, I need to use the DeepClone java action (from the CommunityCommons module). After configuring the properties of the action, it seems that I’m unable to make it work for 100%…   My issue is that the reversed associations are not (cloned and) linked to the cloned object… When checking the documentation, I’m a little bit confussed about the notation. I assume it should be the same as the ‘Members to skip’ or ‘Member to keep’ properties. Currently, I am using following documentation: https://github.com/mendix/CommunityCommons/blob/master/src/CommunityCommons/javasource/communitycommons/actions/DeepClone.java → but what is the difference between ‘relation’ and ‘association’?   If someone can provide me the notation (naming convention) used for the ‘ReverseAssociations’ property, that would be really helpfull.   Kind regards, Jelle
asked
1 answers
0

Hi Jelle,

From the javasource, you can see that a comma-seperated value is expected, similar to membersToSkip and membersToKeep

From the documentation of the Mendix DeepClone Java Action, you can get the syntax for a single input:

So I would expect you would need something like this:

ModuleA.Entity1_Entity2,ModuleB.Entity1_Entity3

I didn't test this, but hopefully it works for you.

answered