AnsweredAssumed Answered

Email Modified Files?

Question asked by eyestreet on Jun 20, 2007
I'm doing something simple by sending an email script that is using this template… it should email only the files that have changed, but instead i'm getting all files that are in staging…

Is there a modified file list in the workflow?  All we need is a simple file list of the files in the workflow.

– email call

               var mail = actions.create("mail");
                 mail.parameters.subject = "WCM Notification" + bpm_workflowDescription;
       mail.parameters.from = "";
       mail.parameters.template = companyhome.childByNamePath("Data Dictionary/Email Templates/new_notify.ftl");
                 mail.parameters.text = "The workflow job has been submitted. \n\n-WCM Team";

– ftl
<#list document.childrenByXPath[".//*[subtypeOf('cm:content')]"] as child>
- ${}