You need to sign in to do that
Don't have an account?

How to restrict delete method for this ?
I have trigger used to share contact records for users. And working okay. But the problem is i have another trigger and in that there is a delete method for contact share which deletes all Manual sharing and later inserts for another users..
When my first trigger fires it shares the record and parallel the other trigger also fired and deletes Manual sharing
When my first trigger fires it shares the record and parallel the other trigger also fired and deletes Manual sharing
Try to impelement both logics in one trigger.It is also a best practice.