cancel
Showing results for 
Search instead for 
Did you mean: 

Replication Service – how to delete replicated content

stevegreenbaum
Champ in-the-making
Champ in-the-making
I set up a replication job to move a folder that contains a few files to another repository.  That works well.  The nodes on the target system are locked as expected (the transferred icon appears in the document library).  I now want to delete the nodes from the target system since the replication is no longer needed.  They can’t be deleted, even as the admin, since the nodes are locked. 

How do you undo the replication so that the nodes no longer appear in the target system?

I don’t see anything in the UI.  I tried to remove the transferred aspect, but that is not possible either.
4 REPLIES 4

amandaluniz_z
Champ on-the-rise
Champ on-the-rise
Based on the principles of replication, if you want a node to be deleted in the target repository, you need to delete it in the source repository and then run the replication job.

stevegreenbaum
Champ in-the-making
Champ in-the-making
Thank you for the reply. 

Yes, that is how I understand it works, but in my case we don't want to delete the source files.  We want to remove the replication job and the files on the target since we no longer want to replicate this set of files.  I was looking for a quick way to accomplish this without deleting and then creating the source files.  Looks that is what I will have to do, however.

I have created an enhancement Jira - https://issues.alfresco.com/jira/browse/ALF-13182?page=com.atlassian.jira.plugin.system.issuetabpane...

You need to first unlock the contents before deleting it.

pgomezan
Champ in-the-making
Champ in-the-making
Hi, I'm using transfer service implemented with activiti workflow.

I have a workflow to transfer content (JavaScript develope): transfer.transfer("reponName", nodeToTransfer);
and other workflow to remove previews transfer files: transfer.remove("repoName", nodeToRemove)

The firs step works ok, but the second process it's broken:
Exception message: org.alfresco.service.cmr.transfer.TransferFailureException: 03161523

What's wrong?

Thank you at all.