title: How to create a rule in Alfresco to move content one folder to another?
body: <p>I am thinking to create a rule, possibly a javascript script, which will move documents one folder to another depending on its properties. In the other words, I will always upload documents to <code>folderA</code>. Alfresco will extract document's property, for example <code>prop1</code>, and the rule that I define will move this document to <code>folderB</code> if it has property <code>prop1</code>, otherwise it will move the document to <code>folderC</code>. I know how to extract properties but I don't know how to create this rule. I have no idea since I never used javascript. Any help will be appreciated. </p>