We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Check if updated by System

Katie A
Mega Guru

I want to write a Business Rule that checks if an update was made by the System account.

I know I can use gs.getUserName() or gs.getUserID()

But what would be the matching value? I do not see the System account in our user table.

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

You could check the sys_updated_by field to see if the value is 'system'. Is that what you are looking for?


View solution in original post

1 REPLY 1

Chuck Tomasi
Tera Patron

You could check the sys_updated_by field to see if the value is 'system'. Is that what you are looking for?