Enable a Trigger to activate a second automation

[MAILPOET-4842]
This commit is contained in:
David Remer
2022-11-24 09:39:49 +02:00
committed by Aschepikov
parent af95080b67
commit b25f2cd5f4

View File

@@ -63,7 +63,7 @@ class TriggerHandler {
$automationRun = new AutomationRun($automation->getId(), $automation->getVersionId(), $trigger->getKey(), $subjects);
if (!$trigger->isTriggeredBy(new StepRunArgs($automation, $automationRun, $step, $subjectEntries))) {
return;
continue;
}
$automationRunId = $this->automationRunStorage->createAutomationRun($automationRun);