On the first look, there seems to be some missing migration. But when all migrations are executed correctly, you should check the existing core workflows in the system.
Also checked if the error still occur when I disable time account and it seems the error is gone when I disabled time accounting feature. If I enabled it again the error will appear again.
How exactly is your timeaccounting configured?
Is it the default configuration that’s defaulting to “state” without selecting?
If that’s the case change the setting to “contains not” with value “merged” (that should work for most use cases) and then submit. If it then works either a migration didn’t clean up that faulty configuration or there’s none. Not sure.
I taked with the corresponding team and they didn’t use it at all. It was just something for testing purposes. So I disabled the feature and let it disabled. Therefore nor problem anymore
There seems to be a bug with this specific condition method.
When I see it correctly it should be possible to switch to “contains all not”, when you need it again.
BTW: Checked your suggestion and it works when I use “contains all not” the error will not occur anymore. Anyway I disabled the feature but just wanted to let you know