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

Notifications

Announcements

Community site session details

Community site session details

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard