Sort repeater by teams

Hey everyone,

Can someone help me figure out how to make a repeating group show everything created by a team that the user is a part of.

Basically the user can be a part of any number of teams.

The user will use a drop down to select a team and then a repeating group will display everything created by that team.

Make a repeating group:

Do a search for -> Teams ->
Add constraint -> TeamMembers (list of users - a field in Teams) contains current user

You can then add a constraint on the repeating group for the dropdown. User can select a dropdown item, press submit, then the workflow would be to set the state of the dropdown to that team.

The constraint on the repeating group would be dropdown’s custom state.