How should I set up my app?

@newcoder you do not need to have a custom state for this. The dropdown element will already have the selected value stored and available for a source of reference in dynamic expressions. There is absolutely no need to run a workflow to save a custom state of a value that you already have access to. You also do not need a separate page, and that would actually just make for a poor UX.

To your actual questions.

When making relationships via the database between different data types you have created, there are different approaches, such as 1:1 relationships, or 1 to many or many to many…basically when you have a Group data type and you want to know which members are part of that Group, you have two choices, one group can have a list of many members or one member can have a list of many groups.

For this, I’d say put the list of members onto the group data type if the list of members is not going to exceed 50 items or so (lots of posts in forum speaking on performance of list fields). If however, you expect the number of members of one group to exceed 50 on a regular basis, but users will not be members of more than 50 groups, then you put a list field for groups onto the User data type.

For the assignments, you can do a 1:1 relationship, where the assignment data type has a data field for group, so one assignment will only ever have one group related. If you wanted to show a user all the assignments for that group, just do a search for Assignments with a constraint of Group field = selected group (you’d have to come up with the way you want to know which group the user is looking for the assignments of which is part of you UI and UX approach).

But again, absolutely no need for custom states. Your issue is more about database structure, so you may want to review some resources on that.