function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
@ M  Coder@ M Coder 

Urgent Fix Need for Simple flow

Hi Team , 
scenario : I have a look up field on account to User object named
 Ac owner
so when ever a case record is created manually with this criteria 
Subject="Risk"  and Account.Type= "Other" then i have record trigger flow  on case which send emails on below conditions.
User-added image

1.If There is no Ac owner (lookup to user ) or Ac owner is null then i dont want this flow to run.
2. if Account has Ac owner (lookup to user )and his manager then emails will be triggered to Ac owner and his manager email ids 
3. if Account has Ac owner (lookup to user )  then emails will be triggered to Ac owner email id 
 
Issue is 1 and 3 are not working properly. can you help me fix 

my flow screenshots
User-added imageUser-added imageUser-added imageUser-added image

Thanks for helping me in Advance

 
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

As Flow should not get triggered if the AC OWNER is null so you have to handle in start condition itself as below.
 
AND ({!$Record.Subject} = 'Risk' , ISPICKVAL({!$Record.Account.Type},"Other"), NOT(ISBLANK({!$Record.Account.Ac_owner__c})))

User-added image

As null check for ac owner is already done so you can directly but AC owner manager check in decision box as below.

User-added image
The entire flow will look as below.

User-added image


This should work as expected.

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,