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
JohnDuraiJohnDurai 

Getting the records based on record typ in lightning flow

Hi - Below is my get record element block where I am getting the all related contact record related to account but i want to get only one particular Account reccord type.

how to get contact records from Account with particular record type from Account.
User-added image
Sai PraveenSai Praveen (Salesforce Developers) 
Hi John,

I hope the flow is record triggered flow on contact object. So you want all the contacts related to the particlular account of which the contact triggered the flow. 

Can you confir the above so I can check the solution based on that.

Thanks,
 
JohnDuraiJohnDurai
Hi Sai praveen - yes, that's correct
Sai PraveenSai Praveen (Salesforce Developers) 
Hi John,

Thanks for confirming on that. You may not be able to filter the account record type as you dont have that field on the contact object. You may need to create a formule field to populate the Account record type and add as a filter to as you did above.

Or

You may need to get the Account record based on that you need to add the other logic as below.

User-added imageLet me know if you need any other clarifications.

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

Thanks,