Bpmn-mail freemarker template with JSON variables

I have a variable “user”, which is JSON Variable in process variable
{ "id":123, "name":"chiru" }
and i have freemarker template
Hi here is the template which ${user.id} with ${user.name} is enabled here.

i need to replace the id and name with 123 and chiru, which not working .

We can take these as seperate variables, but we have more then 60 variables. which is not a good idea, so need to use JSON object in the template.

Hi! Thank you so much for the question. If at all possible, would you be able to [open an issue](https://github.com/camunda-community-hub/camunda-bpm-mail/issues/new/choose] on GitHub in this extension’s repository detailing the issue you’re having if it is in fact an issue with the extension itself.

I saw that you’re using Freemarker templates. Working with JSON in Freemarker - Liferay Community is a great resource for working with JSON in Freemarker which may also be of assistance to you! :slight_smile: I hope this information helps.