Skip to content

Commit 3d06c11

Browse files
matthieumotajaviereguiluz
authored andcommitted
[Workflow] Fix typo documentation
1 parent c72c68c commit 3d06c11

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

workflow/usage.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ like this:
2727
workflows:
2828
blog_publishing:
2929
type: 'workflow' # or 'state_machine'
30-
audit_trail: 'enabled'
30+
audit_trail:
31+
enabled: true
3132
marking_store:
3233
type: 'multiple_state' # or 'single_state'
3334
arguments:
@@ -63,7 +64,9 @@ like this:
6364
>
6465
6566
<framework:config>
66-
<framework:workflow name="blog_publishing" type="workflow" audit-trail="enabled">
67+
<framework:workflow name="blog_publishing" type="workflow">
68+
<framework:audit_trail enabled="true" />
69+
6770
<framework:marking-store type="single_state">
6871
<framework:argument>currentPlace</framework:argument>
6972
</framework:marking-store>
@@ -107,7 +110,9 @@ like this:
107110
'workflows' => array(
108111
'blog_publishing' => array(
109112
'type' => 'workflow', // or 'state_machine'
110-
'audit_trail' => 'enabled',
113+
'audit_trail' => array(
114+
'enabled' => true
115+
),
111116
'marking_store' => array(
112117
'type' => 'multiple_state', // or 'single_state'
113118
'arguments' => array('currentPlace')
@@ -161,7 +166,7 @@ like this:
161166

162167
.. tip::
163168

164-
Setting the ``audit_trail`` option to ``enabled`` makes the application
169+
Setting the ``audit_trail.enabled`` option to ``true`` makes the application
165170
generate detailed log messages for the workflow activity.
166171

167172
.. versionadded:: 3.3

0 commit comments

Comments
 (0)