SharePoint 2013 Workflow loop through Multiple SharePoint Items to send email notification

2021-05-06T17:55:14.393+00:00

I have created SharePoint 2013 Designer Workflow which loops through multiple items and then send email notification to user. Below is the example of how email looks like. Workflow will run on single item but loops through multiple items and then get all related items in one email. Here Scope and Title are 2 columns I the list. Requirement is to show Scope only once instead of repeating for associated items. As items in email are getting through loop, I couldn't able to customize.

Email should be displayed like below:
Projects:

Scope: Team A
Title: List Item 1
Title: List Item 2
Title: List Item 3

Scope: Team B
Title: List Item 6
Title: List Item 7
Title: List Item 8

Currently Email is displaying like below:

Projects:

Scope: Team A
Title: List Item 1

Scope: Team A
Title: List Item 2

Scope: Team A
Title: List Item 3

Scope: Team B
Title: List Item 6

Scope: Team B
Title: List Item 7

Scope: Team B
Title: List Item 8

Community Center | Not monitored
{count} votes

Accepted answer
  1. Echo Du_MSFT 17,316 Reputation points
    2021-05-10T09:48:30.023+00:00

    Hi @NukalaSwatiCRUSEXTCONSULTANT-7818 ,

    You can add a variable in the loop and set the variable with the relevant field. Then add the variable in the email body.

    95243-test.png

    More information refer to the article below:


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.