For shopware 6 i want to add some custom order statusses to the core.
With the DAL i managed to add these on activating my plugin, but now the are not selectable in the administration. So i cannot change my order to this new custom state.
Anybody who can help me make this status selectable?
When you look at the state machine ERD you see a quite complex setup regarding states. There is a table called state_machine_transition which might be missing some entries in your case:
In the docs it is an overview of the state machine of the devlivery state, what I assume is your new state in. In the state machine graph you can see all available states and all transition steps that are available to change from on state to the other.
I assume you are missing such a transition step. As soon as you add a transition step the administration should allow you to step to it. Make sure to integrate your new state so it can be changed from and to it back and forth in any case. This prevents a user to be locked in a deadend.