Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Workflow configuration #11492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions 22 reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2252,13 +2252,19 @@ Name of the workflow you want to create.
audit_trail
"""""""""""

**type**: ``array``
**type**: ``bool``
OskarStark marked this conversation as resolved.
Show resolved Hide resolved

Whether to enable automatically the :class:`Symfony\\Component\\Workflow\\EventListener\\AuditTrailListener`.
OskarStark marked this conversation as resolved.
Show resolved Hide resolved

initial_place
"""""""""""""

**type**: ``string`` **default**: ``null``

One of the ``places`` or ``null``.
If not null and the supported object is not already initialized via the workflow,
this place will be set.

marking_store
"""""""""""""

Expand All @@ -2276,11 +2282,15 @@ places

**type**: ``array``

All available places (**type**: ``string``) for this workflow configuration.
OskarStark marked this conversation as resolved.
Show resolved Hide resolved

supports
""""""""

**type**: ``string`` | ``array``

Object(s) that is(are) supported by this workflow configuration.
OskarStark marked this conversation as resolved.
Show resolved Hide resolved

support_strategy
""""""""""""""""

Expand All @@ -2293,11 +2303,13 @@ transitions

Each marking store can define any of these options:

* ``from`` (**type**: ``string``)
* ``guard`` (**type**: ``string``) a :doc:`ExpressionLanguage </components/expression_language>`
* ``from`` (**type**: ``string`` or ``array``) value from the ``places``,
multiple values are allowed for both ``workflow`` and ``state_machine``
OskarStark marked this conversation as resolved.
Show resolved Hide resolved
* ``guard`` (**type**: ``string``) an :doc:`ExpressionLanguage </components/expression_language>`
OskarStark marked this conversation as resolved.
Show resolved Hide resolved
compatible expression to block the transition
* ``name`` (**type**: ``string``)
* ``to`` (**type**: ``string``)
* ``name`` (**type**: ``string``) the name of the transition
OskarStark marked this conversation as resolved.
Show resolved Hide resolved
* ``to`` (**type**: ``string`` or ``array``) value from the ``places``,
multiple values are allowed only for ``workflow``
OskarStark marked this conversation as resolved.
Show resolved Hide resolved

.. _reference-workflows-type:

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.