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
vijaya kudupudivijaya kudupudi 

The flow failed to access the value for AccountTeamLoop.TeamMemberRole because it hasn't been set or assigned.

Hi,

I'm trying to Copy Account Team Members in to OpportunityTeam Member when ever the opportunity created/edited using flow.

while run and testing the flow I'm getting the below error.

The flow failed to access the value for AccountTeamLoop.TeamMemberRole because it hasn't been set or assigned.User-added image
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Vijaya,

Does the Account team exists for the record and is it accessable . Can you check by debugging the flow and share the debug result here .

Thanks,
 
vijaya kudupudivijaya kudupudi
Hi Sai,

Thank you for your response. I could able to figureout the problem. It's due to the way of storing the list values after querying the AccountTeamMember. So while accessing the data from that list I received this error.