Skip to content

Commit

Permalink
[Workflow] Attach workflow configuration to tags
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-daubois committed Mar 12, 2024
1 parent 02a2e4d commit 99e02d3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions service_container/tags.rst
Expand Up @@ -458,6 +458,8 @@ or from your kernel::
:ref:`components documentation <components-di-compiler-pass>` for more
information.

.. _tags_additional-attributes:

Adding Additional Attributes on Tags
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
9 changes: 9 additions & 0 deletions workflow.rst
Expand Up @@ -366,6 +366,15 @@ name.
* ``workflow.workflow``: all workflows;
* ``workflow.state_machine``: all state machines.

Note that workflow configurations are attached to tags under the
``metatdata`` key, giving you more context and information about the workflow
at disposal. You can learn more about tags attribute
:ref:`in the dedicated section <tags_additional-attributes>`.

.. versionadded:: 7.1

The attached configuration to the tag was introduced in Symfony 7.1.

.. tip::

You can find the list of available workflow services with the
Expand Down

0 comments on commit 99e02d3

Please sign in to comment.