Skip to main content

Notifications

Power Automate - General Discussion
Answered

Loop not single Items

(0) ShareShare
ReportReport
Posted on by 145

CIAO

Ho un file Excel e devo inviare un'e-mail per ogni "ID corso" piuttosto che per singoli elementi o valori. Inoltre, devo inviare l'e-mail a tutti gli indirizzi all'interno del gruppo. In questo modo tutti vedono i destinatari

In questo caso devo inviare 3 mail.

Grazie mille

ID corsoPostaInizioFineand so onand so on
1_AAAttt@gmail.com2024-04-10T09:002024-04-10T11:00  
1_AAAkkk@gmail.com2024-04-10T09:002024-04-10T11:00  
1_AAAwww@gmail.com2024-04-10T09:002024-04-10T11:00  
1_BBBttt@gmail.com2024-04-11T09:002024-04-11T10:00  
1_BBBqqq@gmail.com2024-04-11T09:002024-04-11T10:00  
2_SSSttt@gmail.com2024-04-12T09:002024-04-12T14:00  
2_SSSkkk@gmail.com2024-04-12T09:002024-04-12T14:00  
2_SSSwww@gmail.com2024-04-12T09:002024-04-12T14:00 
  • Verified answer
    Re: Loop not single Items

    Hi , @Giorgio67 

    This is my test Excel file table:

    vyueyunmsft_0-1712799571527.png

     

    You can refer to this flow.

    vyueyunmsft_1-1712799618897.png

    (1)The Select action:

    vyueyunmsft_2-1712799633082.png

    (2)Apply to each action :

    vyueyunmsft_3-1712799791038.png

    union(body('Select'),body('Select'))
    item()?['ID corso']
    item()?['Posta']
    join(union(body('Select_2'),body('Select_2')),';')

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard