web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send an email and in t...
Power Automate
Answered

Send an email and in the body add some values of a column

(0) ShareShare
ReportReport
Posted on by 33

In my list I have several columns i.e Responsible, Status, and Documents 

Responsible is mandatory and a "Person" column and documents is a "choice" (multiple flags) column. 

 

When an item status is modified to "Incomplete", I need to send an email to the "Responsible" and in the body message I need to list values of the column Documents that have not been checked. 

 

IDNameResponsibleStatusDocuments
1Item1AndyIncomplete

(Unchecked) ID

(Checked) Drivers Licence

(Unchecked) Birth certificate

 

Automatic email to Andy must display in the body message the following text: 

 

Hi, 

Your lead considers that your file Item1 is incomplete. The following documents are missing : 

ID

Birth certificate

---------------------------------------------

I'm having troubles getting these unchecked values and the name. 

 

Any ideas?

 

task10.PNG

 

 

 

Categories:
I have the same question (0)
  • Eri_V Profile Picture
    33 on at

    Any ideas?

  • rsaikrishna Profile Picture
    3,703 on at

    @Eri_V 

     

    Created a sample with your requirement to show unchecked options:

     

    For this sample, I created 3 array variables:

    varDocsArray: This array variable is used to capture all the selected options.

    varAllDocuments:  This array is a hard-coded array with all the options the choice field contains. You can store the values in a separate SharePoint list and read it to fill this array.

    varNotCheckedDocumentsArray: This array captures all the values which were not checked.

     

    Also, I created a SharePoint list "DocumentCheckList" and create one item by selecting "ID" and "Birth Certificate" values.

     

    Here is the flow:

     

    P1.JPG

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    P2.JPG

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    In the above "Apply to each - All Selected Options", I am appending each selected value to "varDocsArray".

     

    Now, another Apply to each to loop thru all the options and checking for unselected values:


    P3.JPG

    P4.JPG  

    Expression: join(variables('varNotCheckedDocumentsArray'),',')

    The above expression is to convert a string array to string value.

     

    Here is the execution result of the above flow:

    P5.JPG

     

    Please review the flow and let me know if you have any questions.

     

    Regards

    Krishna

    If my reply helped resolving the issue, please mark it as Accepted Solution

     

  • Eri_V Profile Picture
    33 on at

    Thanks, I'll try. 

  • Verified answer
    rsaikrishna Profile Picture
    3,703 on at

    @Eri_V 

     

    If my post helped you, can you please mark the reply as Accepted Solution? So that, other users can refer this post.

     

    Regards

    Krishna Rachakonda

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard