I have multiple workflow states on various doctypes in my ERPNext installation. Examples are: Approved, review requested, pending, review completed, processing etc. And for each of these states, there’s a role profile authorized to move the document status to the next state and everything works perfectly.
My issue is with the emails. Example: About 15 staff in different locations have the same role permissions on Quotations and the same role is authorized to move a document status from “pending” to “review requested” which is fine cos it enables the staff to make a change on items, prices etc
Now “user 1” creates a quote and saves, the document status moves to “pending” and an email is sent to all the staff with “approval rights” but also sent to all users with “review” rights so the staff (user 1) can make corrections to his quote before approval which is what we want cos quotes are ever changing due to customer negotiations etc.
Now my issue is this, All users (user 1 to user 15) with review rights get the email saying the document is in pending approval status and allows the option to review the document which the creator of the document is likely not intending to do
Is there a way to restrict the workflow status emails to just the creator of the document? so not everyone gets the email and we eliminate wrong review actions on documents that don’t concern them