From f041f55624d3d593c352f0a7e626dc4f25ec2ed0 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Sat, 24 May 2025 23:33:37 +0200 Subject: [PATCH] Fix EventBase child activity not executing OnEventReceived method (#6687) * Initial plan for issue * Add OnEventReceivedAsync call in EventBase.EventReceivedAsync Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: sfmskywalker <938393+sfmskywalker@users.noreply.github.com> --- src/modules/Elsa.Workflows.Runtime/Activities/EventBase.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/Elsa.Workflows.Runtime/Activities/EventBase.cs b/src/modules/Elsa.Workflows.Runtime/Activities/EventBase.cs index e87e67617..7a68c4598 100644 --- a/src/modules/Elsa.Workflows.Runtime/Activities/EventBase.cs +++ b/src/modules/Elsa.Workflows.Runtime/Activities/EventBase.cs @@ -36,6 +36,7 @@ public abstract class EventBase : Trigger { var input = (TResult?)context.GetEventInput(); Result.Set(context, input); + await OnEventReceivedAsync(context, input); await context.CompleteActivityAsync(); } } \ No newline at end of file