Cant find where the problems lies in connecting this workflow

Ok, so what i am trying to achieve is so that when a user clicks a cell in the team space repeating group as displayed above it scrolls down to the last Message sent in the Team chat automatically

My first thoughts is displayed in the screenshot bellow, but that doesn’t seam to work

Hi there,

First of all, instead of searching for the message you want to scroll to, just say entry to scroll to: repeatingGroup Message, list of messages, last item. Then you don’t have to search.

As for the scrolling, sometimes it takes the repeatinggroup some time to load so it won’t have anything to scroll to. What I find that works is to add a pause of about 200ms before the scrolling action.

Let me know if that helps.

1 Like

Screenshot 2023-06-07 at 20.08.12
Didn’t work for me, did I put it wrong

Never mind it does work, but not if the page is reloaded, can that be fixed?

Correction only if the team space has been open once before. So if I reload the page and click on the team space in the team space section it doesn’t work, but if I go a back to the team space section and click on it again it works, did i miss something in the workflow

Could you please share the photo for the entire workflow?

I think you will need to use slugs in the URL so when a user clicks a cell, it includes 'chat1232/last/ or similar in the URL so when they click ‘back’ it will revert to exactly where it was. Otherwise the page will just load based on the URL in history, and not on the last status the page was displaying. My understanding is you can also use reusable elements to store custom states that will carry from page to page - but I’ve never done that so I can’t say for sure. But I do use the URL method already with pagination. When a user clicks a number to jump to a different page of data in my repeating group, I set a URL for that page:

User clicks button → Go To Page: Destination: Current Page; Key: Page = RepeatingGroup’s page number. And then I have another workflow for When Page is Loaded, which is what enables hitting the back button to jump to that page.

That workflow looks like: When Page is Loaded → Go to page of repeating group: Page = “Get page from Page URL” and it works well.

In your case you could do something like ‘when user clicks current cell’ go to page ‘current page’, key = ‘current cell’s unique ID’ (or anything else unique you need to tie to that message’


Screenshot 2023-06-08 at 08.06.06
Weren’t able to respond yesterday, I am on scandinavian time frame. Also note that the repeating group with al the team spaces, and the repeating group with al the messages are on the same page but in different groups

Did you try adding a pause before the scroll to entry action?

Screenshot 2023-06-08 at 10.40.25

Do you mean this one, if so yes