Video Screencast Help

How to send an email to all users in a process manager group

Created: 10 Jun 2013 | 2 comments

What is the best configuration.  I've tried to use the group ID configured in the Add Users to Group but the email is not being sent.

Operating Systems:

Comments 2 CommentsJump to latest comment

reecardo's picture

In a workflow, do the following:

GetUsersInGroup component - this actually fetches all the emails of the persons in the group. Pass in the GroupId of the Group you want. If you don't know the ID, but know the name, just use the Get Group By Name to get the ID.

Pass this output to the Send email component. You can specify the entire array; you don't have to loop nthrough all the users.

Pretty simple. In the event the email doesn't get sent, check the logs for information. Usually it's a bad setup to connect to the email server.

toomas's picture

Make sure you also add components to catch exceptions coming from the Send Email component you are throwing the list of addresses into. There are several reasons why e-mail server may throw back errors while from the process standpoint it's OK. Ideally, you may want to handle the errors but just continuing from the next component after Send Email would also be fine.