Skip to main content
Question

HTML Editor in Notification Message

  • December 13, 2024
  • 3 replies
  • 43 views

Forum|alt.badge.img+5

Hi,

Currently I’m facing an issue with the below notification message, it should get the details from DB and print that in email as mentioned below

Recipient's Name - person.first_name

Role_Name - person_role.user_role

How can we set the placeholder for Recipient's Name, Role_Name in html editor to fetch the data and print it in email.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Email Template</title>
</head>
<body>
<div class="container" style="width: 100%; max-width: 600px; margin: 0 auto; background-color: #000000; padding: 20px; border: 1px solid #dddddd;">
<div class="header" style="background-color: #1A2E61; color: #ffffff; padding: 10px 20px; display: flex; align-items: center;">
<h1>Welcome to IFS</h1>
</div>
<div class="content" style="padding: 20px; color: #333333;">
<p>Dear [Recipient's Name],</p>
<p>Your <b>[Role_Name]</b> access has been provisioned.</p>
<p> This will give you access to the below applications:</p>
<p><li>PSO</li>
<li>FSM</li><br>
</p>
<p>For further support please contact IFS</p>
</div>
</div>
</body>
</html>

 

3 replies

Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • December 15, 2024

Hi ​@preethi.a05 

Try the following syntax.

{{table.field}}<

For example,

{{person.full_name}}

 

Cheers!


Forum|alt.badge.img+5
  • Author
  • Sidekick (Partner)
  • March 29, 2025

Hi ​@Shneor Cheshin ,

 

It is working for the format {{person.first_name}}

But it is not working for this format {{person_role.user_role}}.
It is returning it blank.

 


Shneor Cheshin
Superhero (Employee)
Forum|alt.badge.img+28
  • Superhero (Employee)
  • March 31, 2025

@preethi.a05 

How do you trigger the message? Via a business rule?

You will need to have the details in the triggered BR.

Cheers!