- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2015 10:40 AM
As the title states, I would like to know how to put the original short description contents into the activity log is changed, after the short description is changed on an Incident form. I'm new to Service Now and have a few ideas about how to go about this so far, but I feel lost.
Here's what I'm considering so far.
1. Create a Client Script that contains an onChange() function. The problem is that I'm not quite sure how to specifically target Short Description with the Client Script. I'd like to compare oldValue to newValue, and then if theyre not equal, add oldValue to Activity Log. However, the UI of Service Now and its options confuse me alot, but how would Service Now know I only want this to apply to Short Description so that oldValue always equals the orginal version of Short Description? So as a result, I'm afraid Service Now would write the original contents of all changed fields to the activity log.
2. UI Policy
Figured I could create a condition to check if Short Description is changed, and if so put the original contents into activity log. The problem here though is that there is no implementation of oldValue(), so how would I retrieve it?
3.Business Rule
Same deal as UI Policy, however I'm even more unfamiliar with Business Rules.
Any links to articles or suggestions that could point me in the right direction would be greatly appreciated.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2015 11:39 AM
Hi Rev,
The best way is to personalize the activities.
and bring the short description field into the Selected values:
Regards,
Arpit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2015 11:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2015 12:24 PM
Thanks abunch!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2015 11:42 AM
If you just need the short description values to show up in the activity log, you can do it without any scripting. If you go to the activities label and click configure activities, you can add short description. Then it will be tracked in the activity log whenever it changes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2015 12:25 PM
Thanks Brad. You tips was really insightful and really helped me better understand the configuration options within Service Now. Thanks abunch.