diff --git a/src/Bundle/ChillTaskBundle/DependencyInjection/ChillTaskExtension.php b/src/Bundle/ChillTaskBundle/DependencyInjection/ChillTaskExtension.php index 580de1cec..1f30615b7 100644 --- a/src/Bundle/ChillTaskBundle/DependencyInjection/ChillTaskExtension.php +++ b/src/Bundle/ChillTaskBundle/DependencyInjection/ChillTaskExtension.php @@ -80,15 +80,13 @@ class ChillTaskExtension extends Extension implements PrependExtensionInterface 'workflows' => [ 'task_default' => [ 'marking_store' => [ - 'type' => 'multiple_state', - 'arguments' => [ - 'currentStates', - ], + 'type' => 'method', + 'property' => 'currentStates', ], 'type' => 'state_machine', 'support_strategy' => TaskWorkflowManager::class, 'places' => ['new', 'in_progress', 'closed', 'canceled'], - 'initial_place' => 'new', + 'initial_marking' => ['new'], 'transitions' => [ 'start' => [ 'from' => 'new',