From c21dcccf6ecd745c4439ae0d57503aa71f7c3c2e Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Wed, 19 Jul 2017 17:09:38 +0200 Subject: [PATCH] add note about same-state transitions --- workflow/usage.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/workflow/usage.rst b/workflow/usage.rst index 5cbfb60eea1..fa035c2417f 100644 --- a/workflow/usage.rst +++ b/workflow/usage.rst @@ -238,6 +238,10 @@ order: * ``workflow.[workflow name].announce`` * ``workflow.[workflow name].announce.[transition name]`` +.. note:: + + The leaving and entering events are triggered even for transitions that stay in same place. + Here is an example how to enable logging for every time a the "blog_publishing" workflow leaves a place:: use Psr\Log\LoggerInterface;