Is it possible to find all accounts who has not modified any activity in last one month in CRM. I have tried one but i am not sure whether it is correct or not. can anybody please help me. I am not sure whether it is possible or not.
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true"><entity name="account"><attribute name="name" /><attribute name="primarycontactid" /><attribute name="telephone1" /><attribute name="accountid" /><order attribute="name" descending="false" /><link-entity name="activitypointer" from="regardingobjectid" to="accountid" alias="au"
link-type="outer"
><filter type="and"><condition attribute="modifiedon" operator="olderthan-x-months" value="1" /></filter></link-entity>