Create a rule that alert about lead / deal without pending activity

Create a rule that alert about lead / deal without pending activity

Hi all, 

Im trying to create rule that will notify to the lead or deal owner about lead/deal that the user didnt schedule an activity (thats the working flow..).

I created rule that will notify the relevant users and i miss the criteria of "no activity pending" or something... 

Any idea? 

Thanks!