ExampleYou 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 user mapping was successful
- User for the department head existed and will be the owner of the exception
- If autocreate missing user was checked and/or the test was executed with the parameter “autocreateusers”
- User will be created for department head and will be the owner of the exception
If neither of these conditions were met, the query owner, in our case the user Administrator will be the owner of the exception.