Home > Forum > Processes > Email template for different processes

Email template for different processes
0

Hi all!

We have some email templates in our process. The difference between these templates is basically the header image, other content is the same.

Now we have to add a new process, but unfortunately there is no way to use a template from other process.

Global email template is very restricted, unfortunately there is only one.

I know we could work with some global field, added to each process, determining the type of template, but then we will have a hard time, refactoring our existing processes.

Are there any other (better) ways to have email templates in one place and to use it in all processes?

Thanks a lot in advance & best regards, Nik

MVP

Hi Nik,

we are using an unsupported feature. While the expression editor is limited in the variables, you can still try to access other common variables. For example we are using the APP_GUID and are executing global business rules.

If the image is a link you could play around with something like this

style>
headerImage_APPGUID1 { content:url(..)}
headerImage_APPGUID2 { content:url(..)}
headerImage_APPGUID3 { content:url(..)}
/style>

img class="headerImage_{APP_GUID}"/>

I removed the leading < because the forum wouldn't display the text otherwise.

Alternatively you could use a global business rule to return the image.

Best regards,
Daniel