Messaging System Question

@romanmg in my editor you can look at the group thread messages(user to user) to look at those elements

@romanmg

Hey @Adam - sorry I’ve been so in and out.

It looks like your workflows are set up properly, though I can’t test. However, your RG display is set up to only show messages that have been “sent” to the current user. If that’s what this RG is for, then it looks correct - what is not happening for you?

If you want the RG to display the thread of messages between current user and other users, then the RG’s source would actually have to be a Thread’s List of Messages.

  • Message gets created
  • Message gets added to list of users’ list of messages (meaning each user’s list contains this message)
  • Message gets added to current user’s list of messages
  • Message also gets added to a thread’s list of messages - it’s the same process adding to a user.
  • Thread should contain a list of users so that we know who is a part of the thread, so if it doesn’t already contain them, then users get added to thread

RG’s source should be Thread’s list of messages. You’d need to specify which one in your database, and a constraint on that thread would also need “List of Users contains current user” so that we’re only seeing a thread that the current user is a part of.

Let me know if this helps.

ok so what’s not working for me is two things:
In the RG- Repeating Group MessageThreads click on the text in the cell its supposed to take me to the messages between the current user and that username in the cells text.

And in the area where the two users have a repeating group to message each other the same messages are shown everytime I click on a thread in the RG where all the User’s threads are on thegroup ‘Messages’

@romanmg

below in the screenshot are the two elements in the last message @romanmg