+ Start a Discussion
vijaya kudupudivijaya kudupudi 

how to pass list of Id's/values resulted from a query to another query in flows ?

Hi 

My requirement is whenever an AccountTeamMember is deleted from the team then the related Opportunity Team Members also should be deleted. Through Flow I'm trying to do the this requirement.

Here, I'm querying the opportuinity records,   but I'm not able to pass those records/Id's to query OpportunityTeamMembers in flow. Someone can guide me how to pass pass list of Id's/values resulted from a query to another query in flows?
vijaya kudupudivijaya kudupudi
Hi,

I'm able to complete this requirement by querying the opportunityTeamMembers records in side the loop of opportunity records. I think it's not best practice. So I would like to know if is there any other to achieve this. 

Below is the screenshot of my flow 
User-added image