Contents
Can a workflow send email to a group?
Workflow action – Send an Email can resolve lookup of Person or Group field collected by Initiation Form only when “Return field as” is either “Login Name” or “Login Names, Semicolon Delimited”.
When the recipients for any workflow message change, all you have to do is change the addresses in the appropriate field in the Recipients list item for that workflow. Important: The columns in which you store addresses for workflow emails can be either Single line of text, Multiple lines of text, or Person or Group type columns.
How does Microsoft Flow work with personal email address?
You may have noticed as you are developing workflows with notifications using Microsoft Flow, that your personal email address appears as the “FROM” address to the recipient of the email notifications. By Default, when performing actions, outlook will assume the identity used to establish the connection to the service.
For more info, see SharePoint 2010 workflow retirement. By using the Send an Email action in the Workflow Designer, you can set up your custom workflow to send emails to you or to any other specified user or group. The available fields for an email are To, CC, Subject, and Body.
Workflow steps include “Send an Email” action with “To” as look up to the Person or Group parameter collected from Initiation Form. Run the workflow, after execute all steps, workflow status shows “completed” but no email is sent and workflow history displays error “Coercion warning: user or group does not have a valid e-mail address.”.
How are email addresses represented in a flow?
A collection of recipients in a Flow Email action is represented by a semicolon delimited list of email addresses. Since we now have an JSON array of objects containing these addresses, we now need to loop through the results and add the delimited email addresses into a string variable.
When configure workflow action – Send an Email on workflow canvas in SharePoint Designer, if Data source is Person or Group from Initiation Form, set “Return field as” to either “Login Name” or “Login Names, Semicolon Delimited” depending on if you allow multiple groups. Create an SPD 2010 List Workflow.
When to use workflow lookups in to and CC fields?
If you supply static addresses in the To and Cc fields of your email, then any time that you need to change the recipients, you must open the workflow in the Workflow Designer and make the changes manually. If the addresses will change frequently, it is a better practice to use workflow lookups in the To and Cc fields.