Skip to main content

Notifications

Community site session details
Power Automate - Building Flows
Answered

ExpressionEvaluationFailed Error

Like (0) ShareShare
ReportReport
Posted on 18 Oct 2023 00:55:03 by 25

Hi

 

This error keeps reoccurring to my flow. I had it working before. Changed a few things but now I can't get it working again.

 

Vee07_0-1697590257652.png

 

Essentially what I am building is a Sharepoint List Calendar with automated email reminders sent to people listed in the item. Email to be sent individually.

 

I think the error is coming from the "Output" selection for 'Apply to each 3' but unsure how to fix. I tried changing it to 'value' as well.

 

Vee07_1-1697590453195.png

 

  • Vee07 Profile Picture
    25 on 18 Oct 2023 at 05:34:09
    Re: ExpressionEvaluationFailed Error

    Thank you!

    I swear that's what I had the first time round. I deleted the "Convert Time Zone" Action and rebuilt the action as you have shown above. Tested it and confirmed it worked and then added the "Convert Time Zone" action back in.

  • Verified answer
    v-bofeng-msft Profile Picture
    on 18 Oct 2023 at 05:26:13
    Re: ExpressionEvaluationFailed Error

    Hi @Vee07 ,

     

    I've made a test for your reference:

    1\My SP list

    vbofengmsft_1-1697606765698.png

     

    2\The flow

    vbofengmsft_0-1697606710760.png

     

    Best Regards,

    Bof

     

  • Vee07 Profile Picture
    25 on 18 Oct 2023 at 05:20:50
    Re: ExpressionEvaluationFailed Error

    As mentioned above

     

    It's the list of people from the Sharepoint Column (Person or Group type column). Yes, it allows multiple selections.

  • v-bofeng-msft Profile Picture
    on 18 Oct 2023 at 05:19:29
    Re: ExpressionEvaluationFailed Error

    Hi @Vee07 ,

     

    Could you please tell me what 'Paper submis……' is? Is it a person column? Dose 'Paper submis……' allow multiple selections?

     

    Best Regards,

    Bof

  • Vee07 Profile Picture
    25 on 18 Oct 2023 at 05:13:54
    Re: ExpressionEvaluationFailed Error

    I'm getting a different error now:

     

    Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'emailMessage' validation failed in workflow operation 'Send_an_email_(V2)': The parameter with value '"@items('Apply_to_each_2')['PaperSubmissionsBy']"' in path 'emailMessage/To' with type/format 'Array' is not convertible to type/format 'String/email'.'.

     

    Vee07_0-1697606017942.png

     

  • v-bofeng-msft Profile Picture
    on 18 Oct 2023 at 05:10:23
    Re: ExpressionEvaluationFailed Error

    Hi @Vee07 ,

     

    Please remove the 'apply to each 3' and send an email in 'apply to each 2', set the 'To' property to:

    items('Apply_to_each_2')['PaperXXXX']

     

    Best Regards,

    Bof

  • Vee07 Profile Picture
    25 on 18 Oct 2023 at 03:36:16
    Re: ExpressionEvaluationFailed Error

    It's the list of people from the Sharepoint Column (Person or Group type column). Yes, it allows multiple selections.

     

    Vee07_0-1697600130270.png

     

  • v-bofeng-msft Profile Picture
    on 18 Oct 2023 at 02:40:34
    Re: ExpressionEvaluationFailed Error

    Hi @Vee07 ,

     

    Could you please tell me what 'Paper submis……' is? Is it a person column? Dose 'Paper submis……' allow multiple selections? Could you please show me the expression of this dynamic content?

    (Hovering the mouse over it will display an expression for a while)

     

    vbofengmsft_0-1697596621481.png

     

    Best Regards,

    Bof

     

  • Vee07 Profile Picture
    25 on 18 Oct 2023 at 02:10:53
    Re: ExpressionEvaluationFailed Error

    I've tried that but each time I put the Dynamic content in the "To" section, it creates a new "Apply to each" container.

  • v-bofeng-msft Profile Picture
    on 18 Oct 2023 at 02:09:09
    Re: ExpressionEvaluationFailed Error

    Hi @Vee07 ,

     

    Just remove the 'Apply to each 3' and send the email in 'apply to each 2' , the issue will be solved.

     

    Best Regards,

    Bof

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,776 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,093 Most Valuable Professional

Leaderboard
Loading started