Expand my Community achievements bar.

SOLVED

Customizing Complete Task email notification

Avatar

Former Community Member

Hello all

I have an orchestration that makes use of Complete Task email endpoint, so an actor is able to continue the process by submitting
data from a PDF form he got via email.


Everything works fine, save for the fact that the end-user wants to receive the notification ("Task successfully completed") in another
format, maybe even translated.

Is there a way to customize this email template?

I'm using LC ES update 1 (8.2)

Thank you

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

The message you want to customize is the SMTP message coming from the email provider as a result of a send to the email endpoint.

This is not exposed in 8.2.1. (However, it is exposed on the email endpoint in 9.0.)

NOTE: This doesn't apply just to the Complete Task but to any email endpoint you add to any service.

The same message is sent by the email provider for all success/failure messages.

By default, even for 8.2.1, we do provide this message in English, French, German and Japanese.

The language that your end-users will receive for their success or failure message depends on the OS language that your LC server was bootstrapped in.

For example if your LC server is installed on a French OS, those messages will be in French.

If you need something other than English, French, German or Japanese you can still customize this with a workaround.

The strings you want are located inside the adobe-emailprovider-dsc.jar.

If you open this file, you will find the ApplicationResources_en.properties file.

You can set the message strings to your requirements.

Diana

View solution in original post

5 Replies

Avatar

Level 10

I don't believe you can customize that message.

Jasmin

Avatar

Former Community Member

Hi,

Here is just a though:  Place the "EmailService" component from "Foundation" category in your process where you want to send the notification email, then go to its "Properties > Contents" to customize the email message.

Jasmin, can you confirm if it work this way.

Thanks,

Han Dao

Avatar

Level 10

Yes and No.

Using the email service from Foundation will work. You'll get an email with the customized message but you'll still receive the built-in message from the TaskManager service when you complete the task.

Jasmin

Avatar

Correct answer by
Former Community Member

The message you want to customize is the SMTP message coming from the email provider as a result of a send to the email endpoint.

This is not exposed in 8.2.1. (However, it is exposed on the email endpoint in 9.0.)

NOTE: This doesn't apply just to the Complete Task but to any email endpoint you add to any service.

The same message is sent by the email provider for all success/failure messages.

By default, even for 8.2.1, we do provide this message in English, French, German and Japanese.

The language that your end-users will receive for their success or failure message depends on the OS language that your LC server was bootstrapped in.

For example if your LC server is installed on a French OS, those messages will be in French.

If you need something other than English, French, German or Japanese you can still customize this with a workaround.

The strings you want are located inside the adobe-emailprovider-dsc.jar.

If you open this file, you will find the ApplicationResources_en.properties file.

You can set the message strings to your requirements.

Diana

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----