* Refactor HTTP route table population * Update workflow definition EF store to use abstract IWorkflowInstanceStore This decoupling is necessary, because the application might not be using EF Core, but e.g. Elasticsearch * Move workflow state persistence to the default workflow runtime feature * Update JS handler to provide access to variables during trigger indexing * Configure Proto.Actor runtime with different workflow pipeline * Add sample using Proto.Actor runtime * Replace BookmarkGrain with DB based persistence
9 lines
360 B
C#
9 lines
360 B
C#
using Elsa.ProtoActor.Grains;
|
|
using Elsa.ProtoActor.Protos;
|
|
using Elsa.Workflows.Core.State;
|
|
|
|
namespace Elsa.ProtoActor;
|
|
|
|
internal record WorkflowSnapshot(string DefinitionId, string InstanceId, int Version, WorkflowState WorkflowState, IDictionary<string, object>? Input);
|
|
|
|
internal record WorkflowRegistrySnapshot(ICollection<WorkflowInstanceEntry> Entries); |