question

87811028 avatar image
0 Votes"
87811028 asked EchoDu-MSFT commented

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

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


sharepoint-dev
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @NukalaSwatiCRUSEXTCONSULTANT-7818 ,

Can you provide us with your Workflow 2013 process? This helps us to better solve the problem.

Have a nice day!

0 Votes 0 ·

1 Answer

EchoDu-MSFT avatar image
0 Votes"
EchoDu-MSFT answered EchoDu-MSFT commented

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:


test.png (15.0 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @NukalaSwatiCRUSEXTCONSULTANT-7818 ,

Is there anything else I can help with regarding this issue?
You can comment us at any time and we will continue to follow up.

Thanks,
Echo Du

0 Votes 0 ·

Hi @NukalaSwatiCRUSEXTCONSULTANT-7818 ,

Would you tell me whether your issue has been resolved or have any update?
I am looking forward to your reply.

Have a nice day!

Thanks,
Echo Du

0 Votes 0 ·

Thank you this worked.

0 Votes 0 ·

HI @87811028 ,

I'm glad to hear that your problem has been solved.
We look forward to working with you next time.

Have a nice day!

Thanks,
Echo Du

0 Votes 0 ·