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
Hiral Patel 25Hiral Patel 25 

Unexpected token 'Trigger'. if(Trigger.isbefore && (Trigger.isInsert || Trigger .IsUpdate))

Unexpected token 'Trigger'.   if(Trigger.isbefore && (Trigger.isInsert || Trigger .IsUpdate))
Malika Pathak 9Malika Pathak 9
Hi,
There is space between trigger.IsUpdate.

 if(Trigger.isbefore && (Trigger.isInsert || Trigger.IsUpdate))