laravel-workflow icon indicating copy to clipboard operation
laravel-workflow copied to clipboard

How to set initial_marking to model?

Open 4n70w4 opened this issue 5 years ago • 0 comments

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.

4n70w4 avatar Feb 17 '20 14:02 4n70w4