Error sending email with Flow Designer

Brigitte V
Tera Contributor

Hello,
I configured using Flow Designer to send an email when a task is closed.
The mail is sent well with my admin profile but there is an error with an itil profile

"AccessControlException:Access denied to create new email"

I can't find the role I need

Thanks for your help

1 ACCEPTED SOLUTION

Tudor
Tera Guru

Hello  Brigitte,

The shortest path to fixing this without any additional investigation is to change the flow from running as the user to running as the system.

If the flow needs to run as the user then:

  1. Check you ACLs and see whether an end user is allowed to create a new record on the sys_attachment table
  2. If this is a scoped app, check cross-scope access and

Hope this helps!

 Tudor

View solution in original post

3 REPLIES 3

Tudor
Tera Guru

Hello  Brigitte,

The shortest path to fixing this without any additional investigation is to change the flow from running as the user to running as the system.

If the flow needs to run as the user then:

  1. Check you ACLs and see whether an end user is allowed to create a new record on the sys_attachment table
  2. If this is a scoped app, check cross-scope access and

Hope this helps!

 Tudor

Brigitte V
Tera Contributor

Thanks
It works by modifying run as:system user

Brigitte V
Tera Contributor

Thanks
It works by modifying run as:system user