Hello.
Sorry if I'm double posting this, but I've looked everywhere and searched for the original post and I can't find it anywhere so I'm asking again.
I'm trying to create a flow that will automatically add a person to a case team when they take ownership of a case from the queue, and then every time the case gets transferred to a new owner, that new owner is also added to the case team.
My flow is working when it comes to adding the person who takes ownership from the queue, and if the case transfers to someone new that person is successfully added to the case team. However, I get a duplicate error when trying to transfer the case to an owner that's already been added to the case team.
I attempted to add a loop to look through all existing case team members and only trigger down a decision path if it doesn't find the owner. It's definitely not working, though I admit I'm iffy on loops since I don't really use them.
How can I update this flow so that it ignores if the person who's taking ownership of the case is already on the case team, but will add new people? I feel like I'm probably missing something obvious.
I have a few screenshots that I think might be useful, but I can definitely provide more!
The entire flow:
What triggers the flow:
How I'm getting the case record:
How I'm getting the case team record:
The loop:
How the loop decision is set up:
I rebuilt the flow based on your screenshots. I'm actually still getting the duplicate error when the case ownership is transferred back to someone who's already on the case team.