Hi!
I'm trying to understand whether I've interpreted the following wiki article correctly, particularly the section on exception handling and validation: External Messaging System: ExceptionHandling
My understanding is that it should be possible to implement validation of "allowed values" at attempted save of resources, actions, etc. by injecting validation from ETM:
- Configuring a Validation and Wait for Response destination which contains.
- Having an ETM destination channel listen on that validation queue.
- Returning a response from a Message Bus Response datamapper that contains a validation error such that the action then fails validation.
Is that interpretation correct?
My use case is an Action destination with a filter along these lines:

The destination itself is working as expected and ETM successfully receives the message. Where I'm struggling is understanding how the concepts described in the wiki map to the ETM datamapping.
Specifically, I want the channel to immediately respond to assyst as to fail validation and return an error to assyst, preventing the assignment from continuing. This would allow agents to be prompted to review and correct the event location before assigning the event to an on-site support department.
However, I can't seem to get the datamapping correct, and it feels like I'm missing something obvious in how the terminology used in the wiki article is intended to translate into ETM datamapping.
- Should the validation error be returned in the response headers or in the response body?
- What does the response need to look like for assyst to treat it as a validation failure?
- Has anyone implemented this pattern using ETM Response datamappers who could provide an example?
Any guidance would be greatly appreciated.

