Question
I know that you can send emails from a K2 Event and include an attachment by adding a reference to a Data Field. How would I go about passing a word document to a K2 process that could then be sent as the attachement?
Solution
1. In your ASP.NET page, provide a means to have the file uploaded to a holding area on the server's file sysem.
2. Store the file's path in a Process data variable, for instance, 'filepath'.
3. In the Server Mail Wizard's Mail Attachment settings, select "File", and specify [{K2.ProcessInstance.DataFields("filepath").Value}]as the Attachment Path.
This procedure should enable you to attach the document specified in the Process data variable (filepath) in the email.
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.