Ok so after reading
It gave me some good knowledge on how states work. I also looked at the default rules and actions to see how they are configured as a reference. Then I went ahead and created my own Ticket States as shown below

Next I created 3 Rules which should change the State accordingly as shown below,
Order Added to Ticket Rule

Ticket Closing Rule

Auto Command

On the entity screen
So good news is, the filter is working!
Bad news: Mark Order As Completed button isn’t working but it’s doing something as it takes about 2 seconds after clicking to execute the command. I opened the ticket and the state hasn’t changed.
So right now I’m stuck here. Any ideas?
