Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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?

...

hiddentrue

...

Answer

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

Code Block
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.