Map a relation field in the Make filter to create new database entry

I want to create new database entries for specific teams based on a filter of the team. But somehow i can not manage it to get the proper filter working and it still sync all my tasks to the specific team folder instead only the tasks of the related team i created in a a other database and mapped to the project.