We have initiated a process model by email and we get an error when the expression runs, the error says we dont have enough privileges.While looking at the executions, we see that the process model was executed by the user "GUEST".How can we solve the error?
Discussion posts and replies are publicly visible
Any process started by an email will always show guest because it uses an Anonymous User to start the process. Your best way to ensure the proper security is to set up your nodes to "Run as whoever designed the process model" in the assignment tab - this will make sure the process runs as whoever saved / deployed the process rather than the anonymous user.
In addition, I typically recommend setting up an process that receives an email as extremely simple: receive the email and then start another process. Then your other process will run normally because it won't use the Anonymous user anywhere.
© 2021 Appian. All rights reserved.