We have a custom object that can be associated with an account. Since this object type is usually created by an automated process, we'd like to trigger emails to account owners when these objects are created and associated with one of their accounts. Seems like an ideal use case for process builder, right?
Unfortunately I'm coming up against a problem because not all the instances of this object are actually linked to an account. I figure I need to check whether an account is linked before trying to access the account owner's name.
Based on this answer, I've tried the following:
NOT(ISNULL([My_Custom_Object__c].Account__c)) && [My_Custom_Object__c].Account__c.Owner.LastName = "SurnameOfAnAccountOwner"
But I'm still having issues. Is there anything glaringly wrong with this?
Unfortunately, I don't receive emails with detailed errors - I only know this isn't working because of generic errors in the automated process that's trying to create the custom object instances.