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

unable to delete the event created by user


I have created a "Event" on the custom object, it is not possible to delete it as the field "Assigned To" is some other user.
If i change the "Assigned To" to the current user, the deletion is sucessful.

Is this normal or any changes can be made ?
But the current user is the one who created the event ..

thanks for suggetion
Best Answer chosen by Ab

You can edit or delete an activity  when the following applies:
  • You have the “Edit Tasks” and “Edit Events” permissions AND
  • You’re assigned to the activity, or
  • You’re above the user assigned to the activity in the role hierarchy, or
  • You have the “Modify All” object-level permission in the related record, where the record’s sharing model is “Controlled By Parent.” (with Shared Activities enabled, you need the “Modify All” object-level permission for at least one contact and the related record), or
  • You have the “Modify All Data” permission