This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.
When setting up Mail events in a K2 workflow and in some process instances where we require sending notifications to all the members of an AD group.
Before You Begin
K2 Studio & Active Directory need to be Installed and Configured
To accomplish this, drag over the group from the context browser. The mail event will automatically wrap the group name in a SmartObject call that resolves the group to users and get email addresses for them.
If you want to accomplish this dynamically, navigate to the Task Allocation category, expand the Users and Groups SmartObject, expand the “Get email for group users” method and drag over the email property. Then specify the input properties.
Screenshot of the configuration: