We are getting a strange error with the Human Task Notification email. All mail settings look fine, but we are receiving "Error 500 -- internal server error" in the notification email. As far as we can tell, the email is sent to the right receipt, which is specified by expression, and Worklistapp is working properly. The error is complaining that the authentication of the user "workflowsystem" fails. I believe that it's a system user, but have no idea why it fails.
This is the notification sent to the assignee and the followings are the details of the error:
Error 500--Internal Server Error
javax.servlet.ServletException: javax.servlet.ServletException: java.security.PrivilegedActionException: oracle.security.jps.internal.api.jaas.AssertionException: javax.security.auth.login.FailedLoginException: [Security:090304]Authentication Failed: User workflowsystem javax.security.auth.login.LoginException: [Security:090300]Identity Assertion Failed: User workflowsystem does not exist
Thanks in advance.
Looks like you may be specifying ad-hoc email address (by expression) in the notification configuration, but have not configured the notification for “secure” notification.
If the notification is actionable, then the runtime impersonates the participant to ensure that the form renders as it would in the browser. However if the configuration of recipient is ad-hoc (i.e. an email address rather than participant type) then the attempt to impersonate fails, in this case trying to be “workflowsystem” user, which isn’t a real user in the directory.
You can send a notification to an explicit email, but the notification has to configured as secure, which means they just get a link to the task in the message body.