Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Reporting on UI Action Usage

Erik Nelson
Kilo Sage

Is there a way to report on when a UI Action is clicked to see how many times it is being used? I'm working on some updates to customizations (hopefully to revert them) and want to see, from a data standpoint, what the potential impacts could be. Specifically this would be for a Related Link UI Action (Calculate Risk on Change), but could prove beneficial across all UI Types.

 

Thank you,
Erik

3 REPLIES 3

AshishKM
Kilo Patron
Kilo Patron

Hi @Erik Nelson,

You can create a new field [integer type ] in the table on which this UI Action applied, and increment that field value on every click. 

 

-Thanks,

AshishKMishra


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Is there a way to get reports on existing usage? Sorry, I should have been more clear that's what I'm looking for is historical data.

 

Thanks,

Erik

I don't think so, because that onClick counter data is not saved any where. You have to create custom arrangement for counter.

Refer as example 

https://www.servicenow.com/community/itsm-forum/calculate-count-based-on-ui-button/m-p/245807/page/2

 

-Thanks,

AshishKMishra

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution