In one product I need to remove a custom workflow, and map it's states into the default Plone workflow.
I wrote this upgrade step trying to map the states, but it looks like there are a better way to do it.
Can someone please provide me the preferred way to map workflow states to use in this upgrade step?
Also how is it done into ZMI? are there any docs to learn how to do it?