01-24-2023 07:03 AM
EDIT : After testing, this seems to be a regression between 6.x and 7.x (6.2 => 7.3)
Hello !
I have an issue on a Policy I try to create to detect and perform actions when a document is moved.
I have already implemented it for folders :
eventManager.bindClassBehaviour(
NodeServicePolicies.OnMoveNodePolicy.QNAME,
ContentModel.TYPE_FOLDER,
new JavaBehaviour(
this, "onMoveFolder",
NotificationFrequency.TRANSACTION_COMMIT
)
);And that is perfectly working, detecting well the changes. But for document I am unable to execute the exact same operation : eventManager.bindClassBehaviour(
NodeServicePolicies.OnMoveNodePolicy.QNAME,
ContentModel.TYPE_CONTENT,
new JavaBehaviour(
this, "onMoveDocument",
NotificationFrequency.TRANSACTION_COMMIT
)
);Explore our Alfresco products with the links below. Use labels to filter content by product module.