Remove specific activity instance bookmarks
The change clears specific activity instance bookmarks in the context from the WorkflowExecutionContext. This is an extra step in the process of clearing bookmarks, which assists in managing and cleaning up workflow state effectively.
This commit is contained in:
parent
76bf3f8e30
commit
20cf5ade2d
|
|
@ -504,6 +504,7 @@ public static class ActivityExecutionContextExtensions
|
|||
|
||||
// Clear bookmarks.
|
||||
context.ClearBookmarks();
|
||||
context.WorkflowExecutionContext.Bookmarks.RemoveWhere(x => x.ActivityInstanceId == context.Id);
|
||||
|
||||
// Remove completion callbacks.
|
||||
context.ClearCompletionCallbacks();
|
||||
|
|
|
|||
Loading…
Reference in a new issue