How to filter a “Choice button” according to the context of the screen

Hello Everyone

I’m working on an app for gym workouts. In my workflow, the instructor first creates a workout and then creates exercises within that workout. I have a database of exercises for the instructor to select from, but this database is very large and is categorized by muscle group.

What I thought was, when the teacher creates the Workout, he could choose the category. Ex: Chest. So on the next screen when he creates an exercise, in the Choice button, I would create a filter and only show the exercises of that muscle group.

However, on the other screen I cannot use this information, it does not appear in the “custom column” or in the filter to select this column and do an if within the “Filter data”

Does anyone have an idea of ​​how to do this?

Do you not see “Screen” section in the filter variables?

Yes, it does appear. But the options that appear are precisely from the exercise and not from the training.

The Flow I have:
→ I create the workout (here I choose the category)
→ Within the Workout Details I create the exercise (here I would like to filter based on the category that was chosen in the workout)

  1. Add a column in the user profile which is going to hold temporary value for conditional visibility.
  2. Add a multi-step action when the user goes to the conditional visibility screen:

Set column values in the user profile [temporary value column] = [currently selected category] > Go to tab [your screen with conditional visibility]

Then filter the content of the next screen based on the user table column

3 Likes

It worked! Thank you very much <3

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.