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

Notifications

Announcements

No record found.

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,421

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 108 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans