Allow to defined OR next state

Todo :
- [ ] update doc