locked
eMail Target Audiences with Workflow RRS feed

  • Question

  • I can't find a way to read the "Target Audiences" field in a SharePoint workflow. It comes up empty.

    Anyone know how to get this info?  I wanted to use it as a lookup for sending emails and creating tasks.


    David Jenkins

    Wednesday, March 18, 2015 6:16 PM

All replies

  • Hi,

    Based on your description, My understanding is that you want to send email to target audience with a SharePoint workflow

    You can send email to target audience in this way:

    1. Enable target audience setting in the library, then a column named Target Audience will be created.
    2. Then create a workflow in SharePoint designer.
    3. Add a 'Send an email' action.
    4. Click on 'these user' to add the email address.
    5. Select 'workflow lookup for a user'. Then you can select Target Audience column in current item to send the email to.

    Best Regards,

    Lisa Chen


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Thursday, March 19, 2015 9:59 AM
  • Doesn't work. Comes up empty.

    David Jenkins

    Thursday, March 19, 2015 12:13 PM
  • Hi,

    Whether you can choose Target Audiences for your library/list.

    Make sure you have enabled Target Audiences in your SharePoint:

    http://geekswithblogs.net/venkatx5/archive/2010/11/25/how-to-do-enable-target-audience-in-sharepoint-2010.aspx

    http://blog.arjanfraaij.com/2011/05/adding-active-directory-ad-group-to.html

    Best Regards,

    Lisa Chen


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.



    Monday, March 23, 2015 4:45 AM
  • Yes, this is all setup.  I'm not even using the Target Audiences setup in the Admin tools.  I'm using the local SP Groups selected as Target Audiences.

    I could try both but I should be able to email these groups.  I can do it if they aren't selected as a Target Audience.


    David Jenkins

    Monday, March 23, 2015 1:23 PM
  • Hi,

    Target audience is a group which based on rules compilation, and it works as the dynamic distribution group in Exchange. The members in target audience are calculated when it is used in SharePoint, and you cannot obtain the members from workflow or custom programs. Only static groups (here are the SharePoint groups) are supported to be used in workflow or custom programs.

    So it is by design that not supported.

    Best Regards,

    Lisa Chen


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Tuesday, March 24, 2015 6:55 AM
  • Do you have any supporting docs on this? Info on what I can and can't do with Target Audiences is light.

    David Jenkins

    Tuesday, March 24, 2015 1:12 PM
  • Hi,

    Basically target audience can only apply to the OOTB features.

    Here is a link what we can do with target audience:

    https://support.office.com/en-au/article/Target-content-to-specific-audiences-33d84cb6-14ed-4e53-a426-74c38ea32293

    But I haven't find this kind of docs that explaining that what I have offered.  

    Best Regards,

    Lisa Chen


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Wednesday, March 25, 2015 4:49 AM