Workflow emails are not getting triggered and we are getting error as below mentioned. We cross checked the run modes as well and it is pointing to correct one only. Not able to figure it out what is cause of the issue.
Here is the error log:
*ERROR* [EMailNotificationService-Processor] com.day.cq.workflow.impl.email.EMailNotificationService Error while sending email.
java.lang.IllegalArgumentException: Could not find configuration for domain 'local'
at com.day.cq.commons.impl.ExternalizerImpl.externalLink(ExternalizerImpl.java:308) [com.day.cq.cq-commons:5.11.14]
at com.day.cq.commons.impl.ExternalizerImpl.externalLink(ExternalizerImpl.java:299) [com.day.cq.cq-commons:5.11.14]
at com.day.cq.workflow.impl.email.EMailNotificationService.getHostPrefix(EMailNotificationService.java:426) [com.day.cq.workflow.cq-workflow-impl:6.2.12]
at com.day.cq.workflow.impl.email.NotificationImpl.load(NotificationImpl.java:184) [com.day.cq.workflow.cq-workflow-impl:6.2.12]
at com.day.cq.workflow.impl.email.EMailNotificationService.sendNotification(EMailNotificationService.java:262) [com.day.cq.workflow.cq-workflow-impl:6.2.12]
at com.day.cq.workflow.impl.email.EMailNotificationService$EventProcessor.run(EMailNotificationService.java:542) [com.day.cq.workflow.cq-workflow-impl:6.2.12]
Hi GaneshM - We alredy the runmode configuration to fill the domain value. We are maintaining author, publisher and pdf urls for domains field of Link Externalizer. I cross checked and it still it didn't helped us.
Thank you for the response. We have externalizer configurations to a specific environments based on run-mode value. And when I checked again it is reflecting all author and publisher specific urls that we have configured. As this issue is happening at environment level, it should not be local. But we trigger a workflow it is failing with the exception, which I mentioned above.