- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 12:12 PM
I'm working on the MS Teams notification content for the Assessment Instance table. Is there a way to update the default path when you click the enable link button?
Currently, it defaults to form view (form&table=asmt_assessment_instance) vs the take survey page (sp?id=take_survey&instance_id=)
I have also tried the advance message script but it doesn't appear the HTML tags are working like they should.
Here's my example:
(function getNotificationHeadingAndMessage(
/*GlideRecord of record changed to cause notification*/
target,
/*GlideRecord of event triggered to cause notification*/
event,
/*Recipient Table Name*/
recipientTable,
/*Recipient Sys Id*/
recipientSysId) {
var url = '';
url = gs.getProperty('glide.servlet.uri') + 'sp?id=take_survey&instance_id=' + current.sys_id;
// var link = ("<a href='" + url + "'>" + current.number + "</a>");
var assessment_record = current.number;
var result = assessment_record.link(url);
var heading = gs.getMessage('hi');
var content = gs.getMessage('Please rate your overall experince by taking our Customer Satisfaction Survey' + result);
return {
messageHeading: heading,
messageContent: content
};
})(target, event, recipientTable, recipientSysId);
and my message looks like this (unclickable link):
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 12:43 PM
I found the answer!!
https://www.servicenow.com/community/virtual-agent-forum/servicenow-for-teams-notifications-set-cust...
If you want to redirect all the link Teams Virtual Agent Notifications to the custom Portal you can define the same in the Default portal under "sys_cs_provider_application" table .
If you have Requirement to configure based on specific tables ,you have to configure based on below document.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 12:43 PM
I found the answer!!
https://www.servicenow.com/community/virtual-agent-forum/servicenow-for-teams-notifications-set-cust...
If you want to redirect all the link Teams Virtual Agent Notifications to the custom Portal you can define the same in the Default portal under "sys_cs_provider_application" table .
If you have Requirement to configure based on specific tables ,you have to configure based on below document.