
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2018 12:21 PM
Hello -- I'm trying to add the short description field onto the below script but keep getting undefined on the message. Any ideas on what to change?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2019 08:48 AM
I now just had the same problem and *finally* figured it out.
The code that needs to be modified is in: System Policy… Events… Script Actions. Activity Fanout Manager for KM
In the function getKnowledgeObject() section, you'll want to add this line:
knowledge_obj.short_description = gr.getValue('short_description');
Then, in your notifications, you can add something like:
template.print("<b>Article title</b>: "+obj.short_description+"<br/>");
Please mark as helpful/correct answer. Thanks!
And if someone can get this into baseline code, that would be even better!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2019 08:48 AM
I now just had the same problem and *finally* figured it out.
The code that needs to be modified is in: System Policy… Events… Script Actions. Activity Fanout Manager for KM
In the function getKnowledgeObject() section, you'll want to add this line:
knowledge_obj.short_description = gr.getValue('short_description');
Then, in your notifications, you can add something like:
template.print("<b>Article title</b>: "+obj.short_description+"<br/>");
Please mark as helpful/correct answer. Thanks!
And if someone can get this into baseline code, that would be even better!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2020 12:39 PM
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2023 01:42 PM
I don't have a "function getKnowledgeObject()" in my Script Actions for Activity Fanout Manger for KM. Do I still add it along with that function label??
Brandon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2023 08:14 AM
Update to this! Dive deeper into the SNC script include version and you'll see that the getKnowledgeObject() has Short Description mapped, but it's abbreviated in the object passed in event.parm2. It's listed out as obj.short_desc, not obj.short_description.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2023 08:48 AM
Thanks for this, Ryan.
Here's a screenshot of what you described above: