Rule - Moving a document
Example
A document needs to be moved in the repository.
Step by step
1. Enter a new name for the rule, such as Move news.
2. Click Add.
The new rule is created but not yet saved.
Rule, new3. Select the search form, the search term, and other settings.
4. Enter News as the search term. ELOas will search for this term in the document status field.
5. Define the interval that will pass before the rule is executed again.
6. Insert the script to Rules on the Script tab.
Sample script
var destination = "LocalRepository¶TargetFolder";
bt.moveTo(Sord, destination);
Once you have inserted a script, you will no longer be able to edit the Rule tab.
The rule moves documents containing the character string "News" to the News folder in the repository.
Result
Documents containing the News character string are now located in the target folder.