Hi,
Within studio I created a workflow with a mail template associated to the task assignment. I would like to put user informations in the template using the Fn functions, but it does not work :
...
org.nuxeo.ecm.core.api.ClientException: Failed to send notification email
...
Caused by: freemarker.core.InvalidReferenceException: Expression Fn is undefined on line 1, column 157 in template_notificationTache.
at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
...
I have this in the mail template :
${Fn.getPrincipal(WorkflowVariables["precedentActeur"]).getLastName()}
The studio documentation says it is possible to use ${Fn} functions in mail template context. Why is it not working in my case ? 😞
Thank you