You have a test that fetches all sales order that fail some rule, in our example we check if discount is too high.
You want all department heads to be responsible for their sales staff’s exceptions.
Here is our query:
You map the department head from Exception Manager Properties User Mapping, selecting a column containing user information.
Note that you can map to custom user information by using External User mapping, for example if you want to map to user data in your CRM system.
The owner of created exception will now depend on 2 things:
If neither of these conditions were met, the query owner, in our case the user Administrator will be the owner of the exception.