I created my custom object and tried to access but there I have to provide entity ID but I dont know from where I should get the entity id for my custom object.
1 Answer
Use this query
select Id, ParentId, SubscriberId from EntitySubscription where ParentId =:parentObjId