danielgerlag / workflow-core

Lightweight workflow engine for .NET Standard
MIT License
5.37k stars 1.2k forks source link

Get a response when publish an event #1013

Open xxramm16916 opened 2 years ago

xxramm16916 commented 2 years ago

I am using the PublishEvent endpoint. But it doesn't return the reverse state translation status. Is there a way to immediately get a response about the execution status of an event?

await _workflowService.PublishEvent(request.Dto.IssueGuid, null, needStep)

danielgerlag commented 2 years ago

What is the reverse state translation status? Events are facts of history, they do not have a state. Workflows can respond to these facts of history, but this process is async to the publish process.