Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am currently trying to build into sharepoint a workflow that runs against list Items. The workflow checks the conditions and then will need to email a certain global audience from SharePoint central administration. I have seen some code on other sites that allow Custom Actions to be placed into designer but I have not seen something that allows you to send an email to an Audience. Is this possible? Can anyone help me out with this? It would be greatly appreciated.

So basically

IF > Condition Met > Email SharePoint audience members.

Thank you so much in advance.

share|improve this question
add comment

migrated from stackoverflow.com May 7 '12 at 18:12

This question came from our site for professional and enthusiast programmers.

1 Answer

The easy approach is to create an email enabled security group in AD and add the people you need to that group. Then configure the audience to use that group as it's membership provider. Then in your workflow, you can just email that Security Group's email address.

share|improve this answer
    
This approach does not work, sharepoint cannot email an AD security group, It seems that sharepoint cannot find the email addresses for the AD security group members. This was the original approach but found a Dead-End quickly. –  SP-lipkink May 7 '12 at 18:27
    
Sorry let me say it like this, As of right now we cannot email an AD security group from a sharepoint workflow. Is this something that is controlled in AD to allow a group to be emailed. I do not want it to email just 1 address but every user in the group individualy. –  SP-lipkink May 7 '12 at 18:54
1  
If the AD group has an email address associated with it, it will email mygroup@company.com and thus send it to everyone in the group. We've got several workflows set up that way, emailing to an email enabled security group. –  PirateEric May 7 '12 at 19:31
    
In case anyone else is suffering from this issue, there is a post over at spdev.info/2012/11/using-security-groups-with-workflows.html that discusses how to resolve. –  David Clarke Apr 8 '13 at 0:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.