Email notifications.

saini
Tera Expert

In the email notification, I have this text in the body 'Order task Number: ${number} on order line number: ${order_line_item} is on hold and needs to be retriggered.'

 

how can I make this task number hyperlink and when clicked it should go to that particular task?

 

Thanks

1 ACCEPTED SOLUTION

Method 1:

PrasadDhumal_0-1674844824102.png

In your case, text should be:

 

Order task Number: ${URI_REF}

 

 

Method 2:

Not in email body, configure email script with name as "test_script".

(Never hardcode the instance name, use glide.servlet.uri

var URL= '<a href="' + gs.getProperty('glide.servlet.uri') + '/now/'+ current.getTableName() + '/' + current.sys_id + '">' + current.number + '</a>';
template.print(URL+ "<br />");

 

 

and in notification body, call that email script like this:

 

 

${mail_script:test_script} 

 

 

 

 

View solution in original post

5 REPLIES 5

Hi, I added like this