custom change fields now show in approval summarizer

Brian Lancaster
Tera Sage

I created two new custom fields in Change Request table.   For some reason they are now showing on the approval summarizer.   I have other custom field that are displaying so I'm not sure why there ones are not.   Is there a step I am missing?

1 ACCEPTED SOLUTION

Hi Brian



That's usual OOB.   If I'm not wrong that particular xml is not directly available because physically on the server.


On the other hand it seems that the first macro to be evaluated is 'approval_summarizer'.


If you have a look to the code the system will try to find



'approval_summarizer_' + $[ref].sysapproval.sys_class_name; (e.g. approval_summarizer_sc_request)



If not available the one named 'approval_summarizer_default' will be used.


This specific UI macro looks for any UI View named 'approval' available for a specific table.


For example i can see on my instance an 'Approval' view for change and it is the one used.


Please have a look to the next images.



CHG0000015___ServiceNow.png



ServiceNow.png



For this reason I suspect that someone, maybe by mistake, someone changed the 'Approval' view on the change.



Cheers


Robo


View solution in original post

5 REPLIES 5

Ivano B
ServiceNow Employee
ServiceNow Employee

Hi Brian



The Approval summarizer is a formatter (available under System UI > Formatter)


Usually a fomatter uses UI macros (available under System UI > UI Macros).



In particular if you search 'approval_summarizer' under UI Macros the system will show you the following list


  • approval_summarizer
  • approval_summarizer_default
  • approval_summarizer_sc_request
  • approval_summarizer_sc_req_item
  • approval_summarizer_sc_task
  • approval_variable_summary


If i'm not wrong the system shows a specific view in case there is no dedicated UI Macro (as visible for request and request item).


Maybe you have another UI View that has been changed and it is the one shown.



I hope this will help.


Robo


I see the same list


When I look at Formatter for Approval Summarizer I see what is in the below screenshot.   Change was orignially develped by a different company for us.   Could the have changed the xml file.   Where can I find that?


approval summerizer.png


Hi Brian



That's usual OOB.   If I'm not wrong that particular xml is not directly available because physically on the server.


On the other hand it seems that the first macro to be evaluated is 'approval_summarizer'.


If you have a look to the code the system will try to find



'approval_summarizer_' + $[ref].sysapproval.sys_class_name; (e.g. approval_summarizer_sc_request)



If not available the one named 'approval_summarizer_default' will be used.


This specific UI macro looks for any UI View named 'approval' available for a specific table.


For example i can see on my instance an 'Approval' view for change and it is the one used.


Please have a look to the next images.



CHG0000015___ServiceNow.png



ServiceNow.png



For this reason I suspect that someone, maybe by mistake, someone changed the 'Approval' view on the change.



Cheers


Robo