Skip to content

Transition - From places definition #78

@klimenttoshkov

Description

@klimenttoshkov

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:

from => ['b', 'c']:
w3

from => [['b', 'c']]:
w4

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions