cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Send an emil with approver response comment

Hi All,

I m trying to create an approval workFlow with approver response comment.

I m getting folowing error.

error.png

 

Pic1.png

 

I tried import and export the W/F, but still i m getting the error.

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Send an emil with approver response comment

Hi @Vidanaw ,

Do you reference the "Created By Email" dynamic content within your "Send an Email" action from the "Update Item" action in the "Yes" branch of the Condition?

 

Based on the error message that you mentioned, I found that you referenced the "Created By Email" dynamic content within your "Send an Email" action from the "Update Item" action in the "Yes" branch of the Condition, is it true? If it is true, I think this is the issue.

 

Currently, within MS Flow, you could not reference dynamic content from actions within a Condition outside the condition action. In your scenario, you could only reference the  "Created By Email" dynamic content from the trigger.

 

As an alternative solution, you could add a "Initialize variable" action under the "When an item is created" trigger as below:10.JPG

Then within your "Send an email" action, set the To field to the UpdateUserEmail variable as below:12.JPG

 

Please take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Highlighted
Dual Super User
Dual Super User

Re: Send an emil with approver response comment

Hi @Vidanaw 

 

In your send an email action,

select the created by email using dynamic content obtained by the "When an item is created" trigger action

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Highlighted
Helper III
Helper III

Re: Send an emil with approver response comment

Hi @RezaDorrani 

That's what I m doing on the last step Send "Created By".

Thanks.

Highlighted
Frequent Visitor

Re: Send an emil with approver response comment

Hi @Vidanaw 

 

According to that error message, you are using the Created by Email attribute from the Update item and not the initial trigger as REza was alluding to.

 

Scroll through the dynamic content list and see if you can find the trigger attribute to use which may solve your issue.

 

Hope it works out!

 

Cheers and best wishes

Damien

Highlighted
Community Support
Community Support

Re: Send an emil with approver response comment

Hi @Vidanaw ,

Do you reference the "Created By Email" dynamic content within your "Send an Email" action from the "Update Item" action in the "Yes" branch of the Condition?

 

Based on the error message that you mentioned, I found that you referenced the "Created By Email" dynamic content within your "Send an Email" action from the "Update Item" action in the "Yes" branch of the Condition, is it true? If it is true, I think this is the issue.

 

Currently, within MS Flow, you could not reference dynamic content from actions within a Condition outside the condition action. In your scenario, you could only reference the  "Created By Email" dynamic content from the trigger.

 

As an alternative solution, you could add a "Initialize variable" action under the "When an item is created" trigger as below:10.JPG

Then within your "Send an email" action, set the To field to the UpdateUserEmail variable as below:12.JPG

 

Please take a try with above solution, then check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,939)