NServiceBus icon indicating copy to clipboard operation
NServiceBus copied to clipboard

Option to soft-delete a completed saga data

Open SeanFeldman opened this issue 3 years ago • 1 comments

Currently

When a saga instance is no longer needed it can be completed using the MarkAsComplete() API. This tells the saga infrastructure that the instance is no longer needed and can be cleaned up.

This means that when the saga is completed, there's no way to audit the state of the completed processes as data is deleted. It would help to have an option to "soft-delete" sagas upon completion.

SeanFeldman avatar Mar 09 '22 21:03 SeanFeldman

@SeanFeldman Agreed, this would be a nice feature. We'll include this in an upcoming product enhancement.

kbaley avatar Mar 17 '22 16:03 kbaley