Showing changes to variables in SC Items in the Activity register

nmcl
Giga Expert

Hi, I can see the audit history for variables within service catalog items, however I want to show any changes within 'activity'.

I've tried adding all available fields within 'personalize activities' but this does not capture any changes to the variables.

 

Has anyone else managed to do this?

19 REPLIES 19

Latest update for reference field... Seems to work per my initial testing ....




case('8'): //reference   investigate this
 
var getReferenceDisplayValue = new GlideRecord(q_type.reference.toString());
if(getReferenceDisplayValue.get(q_value))
{
answer = getReferenceDisplayValue.getDisplayValue();
}

break;


awesome code i have added that to my rule.. i will probably use the same method to get list collectors identified!! THANKS!


This code is above my station but it seems to be working great my end too so thank-you. Please let me know if you get it working for list collectors also. Cheers, Daniel


Also, out of interest - we currently have auditing of variables turned on and showing under it's own tab 'Audit history' - this obviously mitigates the issue of sys IDs being shown instead of display values currently etc. however is this a bad idea to have turned on (and if so why)? Thanks, Daniel


i don't like doing much with the sys audit table as it is very slow.. and one of our requirements was to get the information so the customers can see it so we needed it on the item or task form.. since the variables are on the item that seemed the best way.