Add activity execution log pipeline and exception handler pipeline (#4607)

This commit is contained in:
Borja Fernández 2023-11-15 20:54:44 +01:00 committed by GitHub
parent 17f5218285
commit 793002ac9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,13 +37,18 @@ services
.UsePersistentVariables()
.UseBookmarkPersistence()
.UseWorkflowExecutionLogPersistence()
.UseWorkflowExecutionLogPersistence()
.UseActivityExecutionLogPersistence()
.UseWorkflowContexts()
.UseExceptionHandling()
.UseDefaultActivityScheduler()
);
// Configure activity execution pipeline to handle workflow contexts.
workflows.WithActivityExecutionPipeline(pipeline => pipeline
.Reset()
.UseExceptionHandling()
.UseExecutionLogging()
.UseWorkflowContexts()
.UseBackgroundActivityInvoker()
);