web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Imlementing Business E...
Power Automate
Unanswered

Imlementing Business Exception logic in power automate

(0) ShareShare
ReportReport
Posted on by 31

Hi,

I tried to use Try-Catch-Finally Scope.System Exception is working well.
I've defined a add new data row (transaction-Dataverse table)at the beginning of Process Transaction.
In Process Transaction scope, I defined Try-Catch-Finally.
For System Exception, any issue with Try Block, I'm able to catch in -Catch Scope.
In Finally Scope , I'm updating the dataverse 'Transaction' table with Success, Exception message accordingly.

 

Now, I have issue with BE cases.
I have multiple Business validations to be captured(for eg 20 Business exceptions rule which I need to check at various state within Process Transaction-Try scope).
If I've BE on 4th sequence , I would like to bypass the remaining Business Logic (16)in Try Case and would update Transaction dataverse table with BE message.
For that , I tried to implement a 'Terminate' with 'Failed'.But, it stops the flow there itself and skips remaining Catch/Finally state.
Hence, I have to update the dataverse table before Terminate during BE case.
This similar logic needs to be implemented while checking all 20 BE cases.

Is there any way , we can bring the control to catch section when BE failed in particular step?
So, that I can perform updating the transaction table in Finally step.

Get Transaction: Add a new row in Transactions-Dataverse table

Process Transaction

 TRY

if BE1 condition false

   -update Transactions-Dataverse table

     - Terminate

.

'

if BEn condition false

   -update Transactions-Dataverse table

     - Terminate

CAtch

Set variable -Transaction status to Failed

Finally

Update Transactions-dataverse table with error message, status-Success/Failed

Could someone advise on this please?

Categories:
  • Michael E. Gernaey Profile Picture
    53,975 Super User 2026 Season 2 on at

    @Debo16 

     

    Everyones brain is exploding reading this.

     

    Share..the..flow.. and use arrows and talk to it that way.

     

    I gotta go have surgery on my eyeballs now 🙂


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard