Create templated workflows in draft status
MAILPOET-4264
This commit is contained in:
committed by
Veljko V
parent
25b9f3a876
commit
2bf59eab9a
@ -34,6 +34,7 @@ class CreateWorkflowFromTemplateController {
|
||||
throw UnexpectedValueException::create()->withMessage('Template not found.');
|
||||
}
|
||||
|
||||
$workflow->setDraft();
|
||||
$this->storage->createWorkflow($workflow);
|
||||
return $workflow;
|
||||
}
|
||||
|
Reference in New Issue
Block a user