Introduced an interface `IWorkflowExecutionLogSink` for storing workflow execution log records and implemented it as `StoreWorkflowExecutionLogSink`. This centralizes and streamlines the handling of persisting execution logs into the workflow's runtime, thus making the process more modular and maintainable. The `PersistWorkflowExecutionLogMiddleware` has also been refactored to use this sink, replacing the direct usage of the workflow execution log store.
8 lines
236 B
C#
8 lines
236 B
C#
using Elsa.Common;
|
|
using Elsa.Workflows.Runtime.Stimuli;
|
|
|
|
namespace Elsa.Workflows.Runtime.Bookmarks;
|
|
|
|
[Obsolete("Use EventStimulus instead.")]
|
|
[ForwardedType(typeof(EventStimulus))]
|
|
public record EventBookmarkPayload(string EventName); |