flow designer error

mregragui_ext
Tera Contributor

hello guys i have created a flow designer for manager approval on a catalog item.

the workflow work fine when i am raising the request with my profil (admin).

but when i am trying to raise the request with itil persona i have these error.

java.security.AccessControlException: Access denied to create new email

PS: i run the flow as system user.

any informations about this please ?

8 REPLIES 8

HrishabhKumar
Kilo Sage

Hi @mregragui_ext ,

You can try changing the flow properties namely "Run As" and set it's value as "System User" instead of "User who initiates session".

Steps: 

1) open the flow

2) right click on the three dot icon in top right corner, and select properties.

3) set the Run As value accordingly.

  refer screenshot

  

HrishabhKumar_0-1722270641105.png

 

 

Thanks.

Hope it helps.

Mark it helpful and Accept Solution if my response turns helpful.

already did that not working

Hi @mregragui_ext ,

Then I believe you are trying to access or create a record in some table which requires particular roles, and there is an ACL restricting that. 

Admin are able to pass that ACL but the itil user is not.

 

Try finding out that acl and check the required roles.

Zach Koch
Giga Sage
Giga Sage

Can you post screenshots of the Flow and pictures of the error?

 

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!