Scenario:
I have to move Hellp.txt from Draft folder to Approved folder. First time it is working properly and sitting in the Approved folder but second time if i am trying move the updated same document second time then it is giving the following exception
org.alfresco.service.cmr.repository.DuplicateChildNodeNameException.
in this scenario, document name is same so it is giving this exception so we have to identify whether the approved folder has this document. if yes then delete that document and move the updated document else directly move the document to Approved folder.
if any web script available, please share with me.
Thanks in advance.
Regards,
Muqthar