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 :
Small and medium business | Business Central, N...
Unanswered

showing validation error using InvalidPluginExecutionException

(0) ShareShare
ReportReport
Posted on by 15

I was trying to a validation error to the User, I have used InvalidPluginExecutionException to throw an exception with an error message

InvalidPluginExecutionException, should prevent Save action and should show the error detail

Instead the error is being logged in Tracer and it is not preventing the Save action

if (!CheckForDateClash(allEvents, newEvent))
{

     throw new InvalidPluginExecutionException("Events clash, try choosing a new time or another event");
}

I have the same question (0)
  • CRMJetty Profile Picture
    3,514 on at

    Hello Ravitejawoonna

    Please refer this information.hope it's help

    docs.microsoft.com/.../use-invalidpluginexecutionexception-plugin-workflow-activities

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,029 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,226 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,201

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans