Add activity execution log pipeline and exception handler pipeline (#4607)
This commit is contained in:
parent
17f5218285
commit
793002ac9f
|
|
@ -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()
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue