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
AlinaAlina 

What condition must be set so that the record to the doctor is not created if the record already exists at such a time? trigger visit on Appointment__c (before insert) { for (Appointment__c app : Trigger.new){ if ()} app.error('choose another time ');