Can I send notification email to quote creator instead of submitter?

Question

Workflow notification emails are sent to the Quote submitter when a Quote is approved or denied. Is it possible to send the email to the Quote creator instead?

Answer

You can send an email to the creator from the workflow logic:

def u = api.find("U", Filter.equal("loginName", quote.createdByName)) def userEmail = u.email[0] api.sendEmail(userEmail, "subject", "email text")

Then disable sending notifications on step approval/denial in the Workflow Notifications configuration section so that emails are not sent to the submitter.

Found an issue in documentation? Write to us.