Skip to content

[Workflow] Being able to have more than one initial_place when using multiple_state storeΒ #30080

@Korbeil

Description

@Korbeil

Description
When we are using multiple_state marking store, we should be able to have multiple initial_place as well.

Example
Before

framework:
  workflows:
    order:
      supports:
      - 'Foo\Bar\Order'
      audit_trail:
        enabled: true
      type: workflow
      marking_store:
        type: 'multiple_state'
        arguments:
        - 'marking'
      places:
      initial_place: 'order_created'

After

framework:
  workflows:
    order:
      supports:
      - 'Foo\Bar\Order'
      audit_trail:
        enabled: true
      type: workflow
      marking_store:
        type: 'multiple_state'
        arguments:
        - 'marking'
      places:
      initial_place:
      - 'order_created'
      - 'order_cart'

Since multiple_state allow us to handle more than one marking, it should be same for initial_place.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy