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 / Email for Rejected Ite...
Power Automate
Unanswered

Email for Rejected Item shows Approved

(0) ShareShare
ReportReport
Posted on by 21

Hello:

I have a SharePoint list workflow where Send Email of approval based on condition and this is not working.  It works up to the point of Send Email V2.

 

I have successfully built workflows where this worked for me.  And the difference between this instance that doesn't work and the previous flow that does work, is that the approver comes from a look up column from a different list.  

 

By using a lookup table column, "Operating Group Email", it automatically "Apply to Each". This was different from previous approval/send email workflows I created.  And thus the fields used to "Update" were different from prior approval/send email workflows.  Prior approval/send email workflows allowed "Response" under update where this one did not so I used "Outcome".

 

If I changed the condition to Approval is equal to Reject, the Send Email with Reject status completed successfully.  But with Condition Approval is equal to Approve, it fails.

Workflow worked with Reject request.png

 

Here is my flow:

Item is created - send email.pngApply to Each - Stop and Wait for approval.png 

 Update Item.pngCondition- Approval equals Approve send Approval email- Approval equals Reject send Rejected email.png

 

 

Categories:
I have the same question (0)
  • tom_riha Profile Picture
    10,185 Most Valuable Professional on at

    Hello @team_user ,

    try to add a 'Compose' action before the 'Condition' and store the 'Approval' dynamic content from the condition in there. That way you'll see in the flow run history what value the column has, and maybe give you a hint why the condition returns always false.

  • team_user Profile Picture
    21 on at

    Hello - Thank you for assisting me.

     

    I tested the Compose. 

    Compose Configuration.png

    The result was similar except that email is sending Approve whether I approve or reject item.  

     

    I was not able to see anything that would show what the problem is.  When I click on "click to download" it pulls up a separate blank tab on my browser.

    Add Compose.png

    Result of run.png

     

    But I did something different this time which may be an indication of something - in the send email, I added both Outcome field and Approval field to see what it would return and it returned blank - shouldn't it have returned the values for both of those?

     

    Send Email.png

     

     

  • tom_riha Profile Picture
    10,185 Most Valuable Professional on at

    If it doesn't show any value then the 'Approval' dynamic content you use is empty. I'd check the source of it, it must come from the 'Update item' action. And if it doesn't help, I'd try to use the 'Outcome' dynamic content directly in the 'Condition'.

    In the test you didn't use 'Outcome' from approval task but 'Outputs' from 'Compose'. And since 'Compose' is set to the 'Approval', it's empty too.

  • team_user Profile Picture
    21 on at

    Hello again - Thank you for your assistance.  I could not get your second suggestion to work either.   I did additional research and found a solution.

    After new item is added, Initialize Variable for the approvers from the lookup column.

    Set the variable for the approvers column.

    Updated the approval column value to pending, with options also including approved and rejected.

    Start and Wait for approval.

    Added Condition, with Outcome = Approval

    With action being to update if approved or rejected

    Added Condition for approval column = Approved

    If Approved Send email with Response

    If Rejected Send email with Response.

     

    This worked perfectly the first time.  It looks like setting the variable and updating the approval column made this work.

     

    After new item added initialize variable & set variableAfter new item added initialize variable & set variableUpdate approval column to pendingUpdate approval column to pendingStart and Wait for approvalStart and Wait for approvalAdd condition with Outcome = Approve, plus action if approved or rejectedAdd condition with Outcome = Approve, plus action if approved or rejectedAdd condition for approval column = approvedAdd condition for approval column = approved

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