Skip to content

Not clear how initial_marking works #18578

Closed
@darius-v

Description

@darius-v

On creating entity, I have saved to database initial currentPlace value. I was not even making it nullable. But thankfully there is an answer https://stackoverflow.com/questions/54628243/symfony-4-workflow-initial-place-doesnt-work that it has to be null in the database when entity is created. When I was setting the value on creation, I was getting some error. I did not see in the doc how this config works and that I should let it be null on creation. https://symfony.com/doc/current/workflow.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    WorkflowhasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions