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

Pre-Operation Plugin

(0) ShareShare
ReportReport
Posted on by 50

Hi i have been trying to throw an InvalidPluginExecutionException message in order to roll back and prevent record creation in annotation entiy.

Plugin is registered in Pre-Operation . I am not getting exception message displayed on the screen although the code is working fine.. 

That business process error is not coming on screen

Same is working correctly on dev instance.

On- premise environment.

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    First thing you should check if profiler is enabled on the crm instance where you are facing this issue. When steps are enabled for profiler system suppresses the error and it does not get displayed on the form.

    If found helpful, Please mark my answer verified.

  • mynkcrm Profile Picture
    50 on at

    I checked and uninstalled it also. Even i can see the code running as record is getting created and deleted itself when exception was thrown but exception is not displayed on the screen.

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Can you change execution pipeling from pre-operation to pre-validation and check.

    If found helpful, Please mark my answer verified.

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