Enable a Trigger to activate a second automation
[MAILPOET-4842]
This commit is contained in:
@@ -63,7 +63,7 @@ class TriggerHandler {
|
|||||||
|
|
||||||
$automationRun = new AutomationRun($automation->getId(), $automation->getVersionId(), $trigger->getKey(), $subjects);
|
$automationRun = new AutomationRun($automation->getId(), $automation->getVersionId(), $trigger->getKey(), $subjects);
|
||||||
if (!$trigger->isTriggeredBy(new StepRunArgs($automation, $automationRun, $step, $subjectEntries))) {
|
if (!$trigger->isTriggeredBy(new StepRunArgs($automation, $automationRun, $step, $subjectEntries))) {
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$automationRunId = $this->automationRunStorage->createAutomationRun($automationRun);
|
$automationRunId = $this->automationRunStorage->createAutomationRun($automationRun);
|
||||||
|
Reference in New Issue
Block a user