Show Catalog Item Variable history in activities

twooton
Giga Contributor

If you are on a RITM, and hit the hamburger menu and view the history of a RITM with catalog variables that have been altered, you can see the old and new values of those variables that have changed. It is listed like VARIABLE:charge_total with the old and new values, date and who made the change shown. How can this information show in the activities? I do not see the Variables audit history as an option.

I'm thinking I may be out of luck and have to write a BR to check when a variable changes and write that to the activity, but wanted to see if I was missing something.

 

1 ACCEPTED SOLUTION

Allen Andreas
Administrator
Administrator

Hi,

As Michael mentioned, OOB there isn't a way to do this however, I came across the thread below and there seems to be a scripted way to accomplish this (if you desperately want to get those variables changes in the activity log) through BR as you guessed. Posting link here just in case you wanted to take a peek:

https://community.servicenow.com/community?id=community_question&sys_id=997a47e9db5cdbc01dcaf3231f96...

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

2 REPLIES 2

Michael Jones -
Giga Sage

 

Unfortunately, you are correct; there is no way to add Catalog variables to the activities formatter using the platform. The only ways that I can think to accomplish the task would be...ugly and difficult. 

It's a nebulous idea in the back of my head, but it might almost be easier to make your own formatter to add to the form and the pull data from the sys_history_line table related to the record and display it, rather than trying to manage an update for an update. 

Just a thought. 

 

If this was helpful or correct, please be kind and remember to click appropriately!

Michael Jones - Proud member of the CloudPires team!

I hope this helps!
Michael D. Jones
Proud member of the GlideFast Consulting Team!

Allen Andreas
Administrator
Administrator

Hi,

As Michael mentioned, OOB there isn't a way to do this however, I came across the thread below and there seems to be a scripted way to accomplish this (if you desperately want to get those variables changes in the activity log) through BR as you guessed. Posting link here just in case you wanted to take a peek:

https://community.servicenow.com/community?id=community_question&sys_id=997a47e9db5cdbc01dcaf3231f96...

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!