MicroFlow icon indicating copy to clipboard operation
MicroFlow copied to clipboard

Workflow persistence

Open jaime-olivares opened this issue 9 years ago • 1 comments

Hi, are there persistence features? This is, in case there is a crash in the server application, is the updated workflow data/status saved somewhere?

jaime-olivares avatar May 12 '16 08:05 jaime-olivares

Hi Jaime. Currently there are no persistence features in MicroFlow and the only way to track the flow status is to use logging. Having the ILogger.Verbosity set to LogLevel.All you can get a clue of what's going on. But tracking the data like activity constructor arguments or properties isn't currently supported. I think it's not that hard to support structured tracking in MicroFlow. For instance we can register the trackers that will be notified whenever the activity is started, finished or faulted. And notification data could include the values of every activity property. Persistence is then can be easily implemented as tracker that saves notification data into some storage.

akarpov89 avatar May 12 '16 08:05 akarpov89