function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
minciminci 

Can not show error when handling export

Hi all,

 

I have a trigger that in siered when inserting and updating Accounts.

Every Account in my system has End_Date (datetime filed) I am checking in the trigger if the user

Is not inserting two accounts with the same End_Date.

The trigger is working just fine.

NOW, When importing many accounts the trigger does not shows error message or blocks the import!

How can I fix it?

 

Remark: I am using the account.addError('Error : same date account not allowed!');

Thanks!

Emil