Configure the "Send to.." on Notification Send Email
Hi , I need to create a Email Notification, its working with a harcoded email adress but i need to know if it is possible to choose the mail recipients such a users or groups when the notification is triggered. Thanks
Hi,
Yes you can put as recipient a MVEL expression to fetch email users or groups:
@{Fn.getEmail(user)}
As user is the user id. Same for the group.
Thanks!
Such as:
@In(create = true)
protected DocumentsListsManager documentsListsManager;
which lets you to access to selected documents in a nuxeo listing.
I advise you to see the Nuxeo expression documentation: http://doc.nuxeo.com/x/L4PZ
Nuxeo IDE: http://doc.nuxeo.com/x/ZYKE which is an eclipse plugin easy to use and explaining through wizards a lots of Nuxeo notions.
And the Automation documentation to know how to use operations and their parameters: http://doc.nuxeo.com/x/mQAz