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

Expression Evaluation Failed

I get the following error/s (2nd image) when the "Start and Wait for an Approval" process times out. When it doesn't time out the same flow works without error.

 

For the "Approval Condition - No Time out" the configure run after is set to "Is Successful" & "Has Timed Out". I think it has something to do with the Responses Comments in the body of the Email and not being able to be found in the preceding Start and Wait for Approval process because it has timed out - but how can I resolve this please?Time Out 1.jpgTime Out 2.jpg

5 REPLIES 5
PrasadAthalye
Community Champion
Community Champion

When action times out, you wont have Outcome. What is your goal if action times out? If you just want to worry about not timed out, add a condition to check if Outcome is not null first and then second condition can check if its false. So if it times out, it wont go inside and wont fail.

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Thanks @PrasadAthalye  when the Approval Times Out I want to basically skip that whole branch, I only want that branch to activate when the Approval succeeds, when it times out it goes successfully down the Escalation Branch.

 

Can you assist how I would add that condition to use to check for Null & False value please?

I think then its simple. Just remove has timed out from Run after. And escalation should only have has timed out.

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Thanks @PrasadAthalye  I had already tried that and it was still causing an error going down the "No" path. I think I have now resolved anyway by using 'Terminate' action. Thanks for your help.

Ok. I thought you mentioned that you wanted to continue on escalation path. Note that Outcome is null when timed out. So as long as you are not using any property from Approval action, it should not fail.

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (1,685)