bold font in business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2020 11:27 AM
team,
i am tryin bold font to come in business rule by using below script please suggest what i am missing here
(function executeRule(current, previous /*null when async*/) {
var retString = '';
retString += '<p><strong style="font-weight:bold">Please choose whether you are adding a new article or updating an existing article:</strong> ' + current.variables.action_type + "</p>";
retString += '<p><strong style="font-weight:bold">Select article:</strong> ' + current.variables.select_article + '</p>';
retString += '<p><strong style="font-weight:bold">Provide a short description for the knowledge article:</strong>' + current.variables.shortdescription_knowledge +'</p>';
retString += '<p><strong style="font-weight:bold">Please specify the audience of this article:</strong> ' + current.variables.audience + '</p>';
retString += '<p><strong style="font-weight:bold">Please choose the category this article belongs in:</strong> ' + current.variables.category + '</p>';
retString += '<p><strong style="font-weight:bold">Please include any key search terms to help users find your article:</strong> ' + current.variables.key_search + '</p>';
retString += '<p><strong style="font-weight:bold">Article Body - please paste the body of your article below or attach it using the Add Attachments button below:</strong> ' + current.variables.article_body + '</p>';
current.description = retString;
})(current, previous);
output:
- Labels:
-
Multiple Versions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2020 11:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2020 11:47 AM
It looks like there is some other script impacting this.
Your first line in the Discription states "The following fields have been provided:"
Which is not in your script.