Why won't my activity template show?

In migrating properties from a Test to Acceptatie environment, we found that our registration email no longer works. It can find no template, even though there is an existing template linked to the call. How can we fix this?
afbeelding

Hi Bas, it’s hard to tell without knowing which process is configured to be executed when the /user/register endpoint is called.

Several approaches are possible to debug this.

  • you could open the integrated model and search for the error message “No template found”
  • you could look at the endpoint configuration to find out which process is linked, and follow that process in the integrated model in the Architect
  • you could enable tracing (process, datahandler, sql) and find out there at which point an expression executed that should return a template, but doesn’t
  • or (and that is what I did in this case, because I don’t know which application this concerns) make an educated guess and open a couple of components that might be related

What I found, and I don’t know if it’s relevant in your case, is a process that sends a registration e-mail for new website users in model M8580. If that’s what you are using, then you need a SalesChannelActivityTemplate for the sales channel that is linked to your website, in the language of the current website translation, with a type for which the reference equals “registratie”. Maybe such a link exists in the test environment, but not in the acceptance environment? It that is not the problem in your case, maybe one of the above debugging options will help you. If not, you may also DM me the application and the steps to reproduce and I can take a look.

1 Like

Good evening! The process can’t find a template (and also send welcome email) because it needs to know related website; it is filtered by URL and is_active checkbox. Please, check if the URL is correct and website is set as active.