Start inbound/update rule after document move

Alfresco – after version 3.0Labs – have a recurrent issue with Inboud actions triggered by a document move. Inbound rule does not start when document arrived by “move” function.

I’ve a simple trick – just set a property value AFTER move – to replace Inbound rule with working Update rule type, let see how is it works:

var outputFolderPath = "Guest Home";
var outputFolderNode = companyhome.childByNamePath(outputFolderPath);
if (outputFolderNode.childByNamePath( === null) {
   document.move(outputFolderNode); = "MOVED from "+document.parent.displayPath;;

Leave a Reply

Your email address will not be published. Required fields are marked *