Skip to content

Commit 8736ec2

Browse files
dbujaviereguiluz
authored andcommitted
add note about same-state transitions
1 parent fa5c5bc commit 8736ec2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

workflow/usage.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,12 @@ order:
250250
* ``workflow.[workflow name].announce``
251251
* ``workflow.[workflow name].announce.[transition name]``
252252

253-
Here is an example of how to enable logging for every time a the "blog_publishing"
253+
.. note::
254+
255+
The leaving and entering events are triggered even for transitions that stay
256+
in same place.
257+
258+
Here is an example of how to enable logging for every time a "blog_publishing"
254259
workflow leaves a place::
255260

256261
use Psr\Log\LoggerInterface;

0 commit comments

Comments
 (0)