Email notification Message HTML field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-20-2016 10:15 PM
Hi,
I have two queries.
1) What am i supposed to fill in the URL field if I am using a Business rule to get the url?
2) The instance is in Fuji. The earlier email notifications have Message field where we type our HTML code, but now I find only message HTML field. I couldnt find this Message field anywhere in my new notification. Why is this so?
Kindly help me.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-20-2016 11:13 PM
Hi Poojitha,
Can you give more explanation on item 1, what are you trying to achieve ?
for second issue, try click 'Switch to Rich HTML Editor' button on top.
Cheers
Syed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2016 02:46 AM
Hi Syed,
For this, I found the solution . I used a business rule to get a url to use it in email notification. When I am using this script in Message HTML box: <a href=${event.parm2}>Click here</a>, and on saving the form it automatically turns to a link. And when this email is triggered and when the link is opened, it says "page not found". This was happening because: the url which I am receiving from the Business rule is appended to the instance url.
For example: The link from the business rule: https://<instancename>.service-now.com/<etc>
And the link opened via sent email is: https://<instancename>.service-now.com/https://<instancename>.service-now.com/<etc>
Instead I tried using mail script.
<mail_script>
template.print('<a href=${event.parm2}>Click here</a>');
</mail_script>
It did work.
I dint find any button on the form. Could you tell me how to switch back to Rich HTML Editor?
Thank you,
Poojitha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2016 03:59 PM
Hi Poojitha,
Button which i am referring is visible in your 1st image under second question. next to delete (second from right )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2016 10:04 PM
Oh yes. Thank you very much