Icon Workflow in this dropdown

Hi! I’ve already done the conditional for this icon

Now need to know how to do the workflow for the icon in this option sets dropdown, considering that
In my app the users will choose from this list of some 30 options of preferences (option sets) in their profile, and then they will be able to see in their timeline just the posts made by those users who match one or more of their preferences.
Many thanks.

So a user is clicking on the icon. They will either already have that Music Preference selected OR unselected. Therefore, you need 2 workflows:

WORKFLOW 1 (does not contain)

Logic: When icon is clicked and Current User’s Music Preferences does not contain Current Cell’s (Or Parent Group’s) Music Preferences…

Action: Make changes to thing (Current User). Then you just update the Music Preferences field by adding the selected Music Preference.

WORKFLOW 2 (does contain)

Logic: When icon is clicked and Current User’s Music Preferences does contain Current Cell’s (Or Parent Group’s) Music Preferences…

Action: Make changes to thing (Current User). Then you just update the Music Preferences field by removing the selected Music Preference.

Hi Daniel!
I’m a very begginer…sorry.
Let’s see if I’m doing right and how I continue:

Following a video instructions I did a customs state

And then I did the workflow until here

How do I fix the issue and follow?
Many thanks.

1 Like

No worries, I’m here to help.

First off, you need 2 separate workflows.

  1. When the icon is clicked AND the current user’s music preferences doesn’t contain the current cell’s music preference.
  2. When the icon is clicked AND the current user’s music preferences contains the current cell’s music preference.

Start with that first.

Also, I’m not too sure why you’re using states. Don’t you have a Music Preferences list field in the User table?

Music preferences list is an Option sets list and it is in User and Profile Data Type.


When you refer to states, do you mean to the ones in the element inspector.

Or the element action?

To do the workflow should I use the element inspector? Or not?
Should I go directly to the workflow


Or to do an element action?

I’m really confused.
Many thanks.

Here’s a video walkthrough of how to achieve your desired outcome: https://loom.com/share/58139b33fc854f07b79334f23111a964

It worked perfect! Many thanks!
Just one question: will this be enough for the user see just the posts of the users with one or more of his preferences? Or should I do another action?

I don’t understand your question.

I want that each user see in the timeline just the posts of those users who matches one or more preferences with him/her. Is that possible?

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