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 Apps / Issue with LookUp Form...
Power Apps
Unanswered

Issue with LookUp Formula in Power Apps Causing Email Send Failure on First Request

(1) ShareShare
ReportReport
Posted on by 40

Hi Power Apps Community,

I’m encountering an issue with my Power Apps form where the email is not sent on the first submission due to a "no recipient" error, but it works on subsequent attempts. Here’s the setup:

Scenario:

  • I have a SharePoint list named 'Approval Matrix' with columns: Title, Section, and Approvers Text.
  • In my Power Apps form, I use DataCardValue11_1 and DataCardValue18_1 to capture the Title and Section values respectively.
  • I’m using the following formula to set the nfApprover variable: 
  •       Set(nfApprover, 
        LookUp('Approval Matrix', 
               Title = DataCardValue11_1.Selected.Value && Section = DataCardValue18_1.Selected.Value, 
               'Approvers Text')

    );
  • Issue:
  • The first time I submit the form, Office365Outlook.SendEmailV2 returns an error indicating "no recipient."
  • When I submit the form again without making any changes, the email is sent successfully.

Implementation:

  • I initialize nfApprover on App formulas: nfApprover = LookUp('Approver Matrix', Title = DataCardValue11_1.Selected.Value && Section = DataCardValue18_1.Selected.Value, 'Approvers Text')

Question:
Why does the nfApprover variable seem to fail on the first submission but works on the second attempt? Is there a timing issue or something I'm missing in setting or updating the variable? Any guidance to ensure the email is sent correctly on the first submission would be greatly appreciated.

Thank you!

Categories:
I have the same question (0)
  • Daniel Bocklandt Profile Picture
    5,099 Super User 2025 Season 2 on at
    Hey,
     
    Could you share the Code with us that you've used in the button? 
     
     

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard