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
Pranav Mandlik 16Pranav Mandlik 16 

want to write trigger on activity

Hello all i am new to salesforce
I have following requirement,

Update Activity “Type” field with following:
Type = Call, if Subject starts with "Call" case-insensitive.
Type = Email, if Subject starts with "Email" case-insensitive.
Type = Task, for other Subject.
Type = Meeting, for all Events.
i have only one confusion that do i need to write 2 triggers for this like one for task and one for event