Hello everybody!
This is my first topic in the community, and i think maybe this is an easy question for the most of you, but a cant seem to figure it out. 
I am building an webstore template and in the first pic you can see the productlist.
In this list i have different options for the product and one of them is the category for the product.
I have a dropdown element to choose between categories, as you can see. 
But my problem is, how to delete this product from the category, when value is changed?
When a user change the category of the product, it needs to be deleted from the previous category if you understand? 
See the pictures below:
This pic is from when the product is inside Category 1, ok, no problem to add it.
And here is the problem. When choosing Category 3 in the dropdown it adds it inside C3, but also still in C1.
Can anyone help me? 
Thank you so much.
Are you using the action âMake change to⌠Categoryâ to remove the product from itâs old category?
on dropdown changed workflow :
save Product in custom state and then assign new category after that check that product if exist in any other category then delete from there if in any others category
if you have any query you can schedule a meeting with me will try to help you out
schedule meeting here : Calendly
Hello, @ramaarana7
Yes, i am, but how to make it change from a category to another? It is no problem to add it in a category, but i canât make it go away from another category. It should only be in one category at the time. 
Hello @Tassawar
Can you explain more or do you have any pics of this workflow? 
Thank you very much. 
Share how youâve got your workflows set up and Iâll check it out
Ok, thank you very much. 
This is the workflow for adding the product to the category.
And here is the workflow to delete it from the other category. I know i have done something wrong here, but, i have seen a lot of videoes, so i might ave mixed up something. 
Thank you again @ramaarana7
I am not using option sets, because the user should be able to create categories themselfs. 
Iâm not understanding why you wouldnât be using an option set?
Why would you want users to create whatever category they wanted? Thatâs not a good practice.
Also, to do what you want, you need to use a custom state.
A custom state will solve your problem.
This is the best solution to your problem if Iâm understanding it correctly.
If you read the headline, i am building an webstore template. That means, people who use my template must be able to make their own categories for their shop. Do you mean i should put in categories for all possible items in the world? Some sell clothes, some sell electronics, some sell food.. So i do not understand your statement.
One customer may call âelectronicsâ something like âelectricalâ, and youâll have a million categories that make no sense.
You really need to rein in the categories and decide for yourself what you want them to be called.
If you look at an app like Groupon (for example), they spell out the categories.
Users should not only not be trusted with creating categories, but theyâll find it easier to choose from the options you list.
a. Set the Produkter i kategori to a âCategoriâ type instead of a list of categories.
This way youâll set a individual category for each product.
b. if you want to keep multiple categories, then add a Step just after the trigger to âMake changes to the Produktâ â Produkter i kategori clear list.
This will remove any previous element in your list.