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 / Error in using templat...
Power Automate
Unanswered

Error in using template "Send Approval Email when a item is created"

(0) ShareShare
ReportReport
Posted on by

When I use the template "Send Approval Email when a item is created", I send the approval email to "Approver email" where "Approver" is a newly added "person or group" field in a calendar list.  I actually input my own name (validation passed) in the Approver field.  The workflow always resulted in the following error:

 

Reason
  • Code
    InvalidTemplate
  • Message
    Unable to process template language expressions for action 'Send_emailScope' at line '1' and column '1932': 'The template language expression 'equals(body('Send_approval_email')['SelectedOption'], 'Approve')' cannot be evaluated because property 'SelectedOption' cannot be selected. Please see https://aka.ms/logicexpressions for usage details.'.

 

Anybody can help please ?

Categories:
I have the same question (0)
  • v-micsh-msft Profile Picture
    on at

    Hi DanieWong,

     

    Are you refering to the following template?

    Send approval email when a new item is added

     

    If I understand it correctly, you just type yourself name in the approval email field, right?

     

    Please try Input the full Email address there. See the image:

    31.PNG

    In addition, for the error message, would you please expand the the IF YES send email part and share the screenshots here?

    Regards

  • Community Power Platform Member Profile Picture
    on at

    Hello,

     

    Could we enter after the approval or reject answer this response and use updating element action ?

    I try to do that but I have this error message:

    "

    failed : « L'action de modèle « Mettre_à_jour_l'élément Â» à la ligne « 1 Â» et à la colonne « 1758 Â» n'est pas valide : « L'expression de langue de modèle « @{body('Envoyer_un_e-mail_d'approbation')?['SelectedOption']} Â» is not valid 

    "

     

    Best regards,

  • Support2 Profile Picture
    4 on at

    Hello,

     

    Could you help me?

     

    Best regards,

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