I am looking to export events and tasks from one organisation to another for all account records with a specific recordtype.
Is there a way I can query tasks and events which are related to accounts with a specific recordtype? This would include opportunities as well whose account recordtype will also be of specific recordtype.