it is necessary to receive a notification on the occurrence of a logical error at the level of the business operation.
The notification must contain the ID of the document and the user.
I can find the error code at the service level.
I can find and capture the ID of the document at the code level (used requestAttrubute)
I can create a custom Service Calculated metric sptiled by ID and error type.
But I do not find the ability to send an notificatiob with information display by id and by error code
Custom alet do not have placeholder by metric value.
Coluld you tell me any advice on how best to do it task ?