Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

How can I bypass this error "NotFound" if it tries to get the shift?

(1) ShareShare
ReportReport
Posted on by 37

So basically what I do is after a shift is created/updated/deleted, it gets the shift by its id. 

However if the shift is not found because i've deleted in MS Teams shift manually it gives an error. 

 

I would like that if it recognizes if the shift has been deleted that it won't handout an error but just return nothing or break out the flow. 

Saiji_1-1720776221716.png

 

 

Maybe there is something to be made with the "code"? 

Also my issue 

  • ManishSolanki Profile Picture
    ManishSolanki 15,075 on at
    Re: How can I bypass this error "NotFound" if it tries to get the shift?

    Hi,

     

    Set configure run after settings in the action next to failed action. If failed action is the last action then add compose action and set value as 'handle error case' and configure it to run even when above action fails.

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

  • Saiji Profile Picture
    Saiji 37 on at
    Re: How can I bypass this error "NotFound" if it tries to get the shift?

    Thank you for your message! 

     

    How does it look like in this scenario? I m unsure how to implement it in a way so it meets the purpose. 

  • ManishSolanki Profile Picture
    ManishSolanki 15,075 on at
    Re: How can I bypass this error "NotFound" if it tries to get the shift?

    Hi @Saiji

     

    Use 'Configure run after' setting to continue executing flow in case of error. Here is an example from MS learn portal:

    Configure run after option - Training | Microsoft Learn

     

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard