Need to copy from one entity to other entity

Hi  Am copying the attributes of current status to helper entity . if i commit it will save in database  but if click on multiple times .multiple records are showing But if am not commit it will not save in the DB . help me here how resolve this
1 answers


You can copy attributes from one entity to the other entity, with the help of  copyAttributes java action in Community Commons module (


In your scenario, Target object will be HelperEntity. Source Object is CurrentStatus entity.


To overcome the duplicates, before creating NewHelperEntity, do a validation check whether the CurrentStatus object data has already copied to HelperEntity or not.

Hope this helps!