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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Can I change the text "Business Process Error" in a Plugin Error?

(0) ShareShare
ReportReport
Posted on by 1,425

I would like to change the "Business Process Error" message to something meaningful. 

I have the same question (0)
  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    Hi Marjorie,

    You cannot change the Business Process Error header in the title of the Plugin Error, however, the error that is being displayed can be controlled.

    The reason you are getting the error is due to an exception in your plugin. If you capture the error in your plugin (using a try catch block or checking custom logic), you can throw you own exception back from the plugin:

    throw new InvalidPluginExecutionException("My custom error message will come here");

    Hope this helps.

  • LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    Unfortunately we could not custom the lable of error meesage caused by plug-in/processes.

    But we could custom the error details below the "Business Process Error".

    pastedimage1572336320434v1.png

    pastedimage1572336336063v2.png

    Use "try```catch```" format in your  code and add the custom message in "InvalidPluginExecutionException" function.

    Hope it helps.

    Best Regards,

    Leo

  • Suggested answer
    arif imteyaz Profile Picture
    375 on at

    No you can not change.

  • Suggested answer
    gupta.ambar2009@gmail.com Profile Picture
    797 on at

    Hello,

    You can append you custom message along with this .. but can not remove this.

    Regards

    Ambar

  • Suggested answer
    Community Member Profile Picture
    on at

    You cannot change the Business Process Error header in the title of the Plugin Error, however, the error that is being displayed can be controlled. The reason you are getting the error is due to an exception in your plugin.

    I hope this Helps!

    Lewis

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 60 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 43

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans