I have the following code Automation script code fragment.
var query = "SELECT * FROM Folder WHERE ecm:primaryType = 'Invoices';
var resultSet = Repository.ResultSetQuery(
input, {
query: query}
);
Console.log("Processing Result Set");
if (resultSet.length === 0) {
Console.error("No matching Invoice Folder.");
}
else {
var targetFolder = resultSet[0];
How do I enumerate the folder properties? I am trying to find the Folder Path so that I can execute the Document.Move and move the incoming document into the folder.
Thank you,
SG