I have a workflow that will send an email when an items in a blog is set to approved. I want it to send emails to all email addresses in a custom list. How do I set the work flow to iterate over the list and make that the send to address in the workflow. I am sure I could do this in a sharepoint solution but I am not sure I want to do it server side if I do not have to.


1 Answer 1


You can query the custom list using the REST API to retrieve the email addresses. Once you have the results you can add the email addresses to a collection which can be used as the send to value for email tasks.

  • I follow the REST api to query the list, but I am not sure what you mean by a "collection" ? A javascript collection like an array? How would I pass that back to a workflow. Sorry if I am being too dense here.
    – Size_J
    Aug 31, 2017 at 18:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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