I have a custom list inside a SharePoint online communication site. and i have attached an ItemAdded remote event receiver to the custom list. now if i create a new list item and i do not attach any file to it >> save the item >> the ItemAdded RER will run once which is fine.
But if i create a new list item and inside the create form i also attach a file >> save the item >> then the RER will run twice. so is there a way to prevent this behavior? or how i can check if the item added is for the list item and not for the attachment ? Thanks