mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 10:29:42 +00:00
Save the comments on a workflow step
This commit is contained in:
@@ -441,6 +441,8 @@ class EntityWorkflow implements TrackCreationInterface, TrackUpdateInterface
|
|||||||
$newStep = new EntityWorkflowStep();
|
$newStep = new EntityWorkflowStep();
|
||||||
$newStep->setCurrentStep($step);
|
$newStep->setCurrentStep($step);
|
||||||
|
|
||||||
|
$newStep->setComment($transitionContextDTO->comment);
|
||||||
|
|
||||||
foreach ($transitionContextDTO->futureCcUsers as $user) {
|
foreach ($transitionContextDTO->futureCcUsers as $user) {
|
||||||
$newStep->addCcUser($user);
|
$newStep->addCcUser($user);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user