Hi guys,
I have a couple of custom notifications that I need to send, where the recipient of the email is different based on a setting on the user or the user allocation to a user group.
Specifically, I have users allocated to Sales agents. The users are assigned to user groups that are later added ass impersonation groups to the Agent user. Moreover, I have added a value in the standard field "Department" that connects the User with the Agent (just in case).
The users will place quotes in the system. I need to notify the corresponding agent everytime a user assigned to the agent will place a Quote and also everytime a user assigned to the agent places an order.
Another nice-to-have feature is to notify the Agent everytime a User creates an account using the Agent's code (the one that I store in the Department field).
What is the best way to accomplish these features?
Thanks,
Adrian