forked from brexis/laravel-workflow
-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Hi again,
When defining a transition, we can supply a list of places than can be either in sub-array or not.
This will effectively result in AND/OR join, demonstrated below for transition t2:
However, in original Symfony YAML configuration there is actually only a way of specifying the "AND" transition, which here is demonstrated by sub-array in the array.
And personally I think that it does not make sense to have two different transitions with the same name, starting from different places and leading to the same place.
So my suggestion is to rework the code and treat the definition as it is always as sub-array [[]], resulting in the second example.
Metadata
Metadata
Assignees
Labels
No labels