mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Save the comments on a workflow step
This commit is contained in:
parent
39b918e7eb
commit
04b2def8a5
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user