Back to Workflow Core

Workflow Core 2.1.0

ReleaseNotes/2.1.0.md

3.17.0369 B
Original Source

Workflow Core 2.1.0

  • Adds the SyncWorkflowRunner service that enables workflows to be executed synchronously, you can also avoid persisting the state to the persistence store entirely

usage

c#
var runner = serviceProvider.GetService<ISyncWorkflowRunner>();
...
var worfklow = await runner.RunWorkflowSync("my-workflow", 1, data, TimeSpan.FromSeconds(10));