Marking messages as read

In my app I’ve got a simple messaging section, the data is Conversation | Participants | list of Messages

The Message data type has a field isRead, content and participants.

I’m trying to implement the isRead part. Does anyone know how I can mark a message as “isRead” when it is loaded into the repeating group that shows the lists of Messages?

One option you might consider is using the "Do when a condition is true" event. You could specify that the condition triggering the event is when the repeating group messages is loading is "no", (this is to ensure all messages are loaded). In the actions section of the workflow, you could use the “Make changes to a list of things” option and reference the repeating group as the list to update. From there, you would update the “isRead” field to a value of “yes”.

This topic was automatically closed after 70 days. New replies are no longer allowed.