Skip to content

How to set initial_marking to model? #70

@4n70w4

Description

@4n70w4

https://symfony.com/doc/current/workflow.html

image

I configure initial_marking in my workflow config. But I don’t understand how to assign it in to model? Workflow::apply does not allow this, because such a transition is not described. But it is impossible to describe the transition from null.

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