Sending email attachment to third party in Activiti workflow

436 views
Skip to first unread message

Craig Nelson

unread,
Jun 10, 2013, 12:26:30 PM6/10/13
to alfresco-techn...@googlegroups.com
Hi,  
       Can anyone point me to a tutorial of how to send an attachment in a workflow to a third party? 

Thanks
Craig

Jeff Potts

unread,
Jun 11, 2013, 3:16:16 PM6/11/13
to alfresco-techn...@googlegroups.com, alfresco-techn...@googlegroups.com
What aspect of this are you having trouble with?

Jeff
--
You received this message because you are subscribed to the Google Groups "Alfresco Technical Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alfresco-technical-d...@googlegroups.com.
To post to this group, send email to alfresco-techn...@googlegroups.com.
Visit this group at http://groups.google.com/group/alfresco-technical-discussion?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Craig Nelson

unread,
Jun 11, 2013, 3:16:49 PM6/11/13
to alfresco-techn...@googlegroups.com
Just on how to send an attachment through the javascript api. I put a support ticket with alfresco support and they were unable to help me with it. 

   var document = bpm_package.children[0];
   var mail = actions.create("mail");
  mail.parameters.to = "ThirdPartyEmailAddress";
   mail.parameters.subject = "Test Email";
   mail.parameters.from = initiator.properties["cm:email"];
   mail.parameters.text ="Test Email";
   mail.execute(document);


Is there another parameter for the mail.parameters that i am missing?
Reply all
Reply to author
Forward
0 new messages