using Workflow.Domain.Entities;

namespace Workflow.Application.Engine;

/// <summary>
/// Context passed to node actions during execution.
/// </summary>
public class NodeActionContext
{
    public WorkflowInstance Instance { get; init; } = null!;
    public WorkflowNode Node { get; init; } = null!;
    public Dictionary<string, object> Variables { get; init; } = new();
    public string? Result { get; init; }
}
