Closed papa-stiflera closed 9 years ago
Status constraint are not available anymore as PHP code declared in the workflow definition. They should now be implemented as event handler attached to a beforeEnterStatus event. If the constraint is not satisfied, it must invalidate the event so to block the transition.
I will write a chapter on this in the Guide soon....
check this chapter for details on how to implement status constraints...
Implement constraint for transitions as in version for Yii1.