Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/11/2024 01:24 AM - edited 09/11/2024 01:30 AM
Hello,
we try to send an email to the manager, but it is not possible:
Name : Organisation Change to Manager
To : ${manager.email}
why it is not coming?
Logs:
2024-09-11T10:18:13+02:00-ecm-worker-changeaction.UserChangeActionService-quartzScheduler_Worker-1-rxfk8-DEBUG-RULERUNJOB ==> Notify As An Email ACTION_STARTED
2024-09-11T10:18:13+02:00-ecm-worker-changeaction.UserChangeActionService-quartzScheduler_Worker-1-rxfk8-DEBUG-Sending email for user = 12345 using template Organisation Change to Manager
2024-09-11T10:18:13+02:00-ecm-worker-services.SaviyntCommonUtilityService-quartzScheduler_Worker-1-rxfk8-DEBUG-baseUrlForEmail value in externalConfig : https://release-n-plus-one.saviyntcloud.com/ECM
2024-09-11T10:18:13+02:00-ecm-worker-changeaction.UserChangeActionService-quartzScheduler_Worker-1-rxfk8-DEBUG-RULERUNJOB ==> Notify As An Email ACTION_STARTED
2024-09-11T10:18:13+02:00-ecm-worker-changeaction.UserChangeActionService-quartzScheduler_Worker-1-rxfk8-DEBUG-Sending email for user = 12345 using template Organisation Change to Manager
2024-09-11T10:18:13+02:00-ecm-worker-services.SaviyntCommonUtilityService-quartzScheduler_Worker-1-rxfk8-DEBUG-baseUrlForEmail value in externalConfig : https://release-n-plus-one.saviyntcloud.com/ECM
2024-09-11T10:18:13+02:00-ecm-worker-services.EmailerService-quartzScheduler_Worker-1-rxfk8-DEBUG-emailAuthType: Oauth
2024-09-11T10:18:13+02:00-ecm-worker-services.EmailerService-quartzScheduler_Worker-1-rxfk8-DEBUG-Enter initializeEmailOauth
2024-09-11T10:18:13+02:00-ecm-worker-services.EmailerService-quartzScheduler_Worker-1-rxfk8-DEBUG-Entered initializeAuthForEmail
2024-09-11T10:18:13+02:00-ecm-worker-services.EmailerService-quartzScheduler_Worker-1-rxfk8-DEBUG-Only adding user email since send to delegate = false
2024-09-11T10:18:13+02:00-ecm-worker-services.EmailerService-quartzScheduler_Worker-1-rxfk8-DEBUG-assigneeDelegateEmailQry---select u from Users u, Delegates del where u.id=del.delegateuserkey and del.userkey=123456 and del.startdate <= '2024-09-11 08:18:13' and del.enddate >= '2024-09-11 08:18:13' and u.statuskey = 1
2024-09-11T10:18:13+02:00-ecm-worker-services.EmailerService-quartzScheduler_Worker-1-rxfk8-DEBUG-Response Status Code to sendEmail: 202
2024-09-11T10:18:13+02:00-ecm-worker-services.EmailerService-quartzScheduler_Worker-1-rxfk8-DEBUG-Email sent
2024-09-11T10:18:13+02:00-ecm-worker-changeaction.UserChangeActionService-quartzScheduler_Worker-1-rxfk8-DEBUG-NEW RULEACTIONFAILED = {"actionName":"Notify As An Email","ruleName":"Mover Process","ruleKey":50,"actionFields":{"emailTemplate":" Organisation Change to Manager"},"failureReason":""}
Solved! Go to Solution.
09/11/2024 02:02 AM
@userNM does the manager have valid email ID?
09/11/2024 02:03 AM
yes, but even if we use another email in CC, we receive the same answer...
09/11/2024 02:06 AM
@userNM try once with user.email
09/11/2024 02:41 AM
the same error
09/11/2024 02:44 AM
@userNM share complete logs in text format.
09/11/2024 02:52 AM
I guess it has smth to do with token:
{"error":{"code":"InvalidAuthenticationToken","message":"Access token is empty.","innerError"..
but how we can fix it?
09/11/2024 02:56 AM
@userNM then seems to be related to SMTP.. all other request related mails going out?
Check in email table if email present or not.