Feature/conditional action

Still on the plate:

- [x] refactor the subcondition value validation to match backend code style