Hi,
I have this requirement, For the case entity, we can't close a case if there is open activity such as Email. So My client want a button on the CRM form which can close all open/draft emails. How do I accomplish it? i'm trying from javascript but still cannot. Any help will be very much appreciated.