Hi I tried to move a node to Archive store…..by seeting the moveActiontoArchive as rule for content uploaded with specific mime type.
On uploading a content with the specified mimetype the rule action initiates, i try to move the node by
this.nodeService.moveNode(actionedUponNodeRef, getArchiveRootRef(),ContentModel.ASSOC_CHILDREN , QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, "move"));
but i get
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/73343938-1c26-11dd-b015-57bc895f54c2
I suppose the node is not created when the rule starts to execute…or what is the reason for this exception?
How to solve this?
Pls help out….
Thanks,
Lakshmi