Question
ING Belgium SA NV
BE
Last activity: 22 Feb 2024 5:22 EST
Remove all pending queue items for a case after case cancel.
In case we cancel a case, the case get's moved to status "Resolved-Cancelled". However, if a queue item is still awaiting to be processed (or is in Broken queue and gets requeued), the case becomes active again.
Currently in my "CancelCase" action, I run over both System-Message-QueueProcessor-BrokenItem and System-Message-QueueProcessor-DelayedItem, filter out the items where the pzInsKey of my case matches the pzReferenceObjKey and delete them by handle.
But I can imagine some OOTB solution must exist to do the cleanup...