cancel
Showing results for 
Search instead for 
Did you mean: 

notification to LDAP Group

Andy_McCown
Champ in-the-making
Champ in-the-making

So I'm putting together an automation chain, and one step is sending a notification email to members of an LDAP group. It seems like I should be able to set the To: parameter with @{Fn.getEmailsFromGroup("groupname")} - but that doesn't seem to be returning anything ("No recipient addresses") - and trying expr:@{Fn.getEmailsFromGroup("groupname")} results in "Illegal Address" I feel like it's probably something super simple I'm missing, but not sure what it is.

1 REPLY 1

Manon_Lumeau
Star Contributor
Star Contributor

Hi,

I've created this chain:

- Context.FetchDocument
- Document.Mail:
    from: "mlumeau@nuxeo.com"
    message: Hello
    subject: Meeting
    to: "@{Fn.getEmailsFromGroup(\"mygroup\")}"
    HTML: "false"
    Strict User Resolution: "false"
    rollbackOnError: "true"
    viewId: view_documents

and all the users from "mygroup" received an email. So maybe the problem come from the configuration of your directories: when you go in the users and groups tab, can you see all the members of your group?