Workflows functions in layout view, errors in published app

After a Christmas conversation with the family about favorite music decades, I made a little app to compare two songs at a time to generate a ranking of the decades. :slightly_smiling_face:

I’m using a random single value (whole row) to pick the two songs from the list. Both are based on queries to filter the list. After a choice is made, the workflow includes a shuffle order step. Works great in the layout editor, for any user I choose. In the published app after clicking a choice, the two songs don’t shuffle and 3 red “error” messages show up, one at a time. I don’t have a lot of experience using random single values or shuffle order actions, so I think this might be the source of the issue.

The workflow history doesn’t show any errors. What else would anyone need to know to troubleshoot?

Can you make a loom recording of the issue step by step, with a visual of the data editor, the layout and the workflow please?

Yeah, we’d need to know what errors these are so we can help you troubleshoot.

No errors show up in the history - here’s what it looks like on mobile

I disabled some workflow steps and tried adding a delay, but that didn’t make any difference.

And here’s what happens in the editor: No errors in Layout or Workflow

Why do you have to add a row every time you run this?

That was one of two ways I came up with for tallying the results and it worked pretty well, at least in the editor, but of course there are always many ways to get to the goal. Are you thinking the song list should have a user specific column that gets added to or subtracted from when a song wins or loses? That was my other method.

Are you thinking the problem in the published app is due to delays and overlapping actions? It seemed like a problem to have IDs of random selections being used in actions.

Is the issue with the errors not showing up in the history something to bring up with support?

What data do you record every time the user “ranks” the two songs?

Just the ID of the “winner” and “loser”

The other action (skip/hide) that also errors in mobile, checks a user specific boolean in the songs list.

I just checked to see if the published version worked on a desktop as opposed to a phone, and it did, including the workflow history showing the runs. So I checked the phone again and now it’s started working there as well.

I guess it was a Glide issue, because I didn’t change anything, and it was erroring 100% of the time but not logging the errors. :man_shrugging:

Thanks for the help anyway

Now it’s not working on mobile again…