Issues with recordWatch

David Carlin
Giga Guru

I am having an issue with a custom widget that I created in ServiceNow. This widget is used to allow users to book cube reservations for working on prem on any given day, otherwise they work from home.

I am using spUtil.recordWatch() in my client script and during testing I was getting the expected results... when I modified a record on the table being watched, the function inside of recordWatch would run.

The issue is, when I go on as a different user and different computer, it doesn't seem like recordWatch is running. Why is this?

How does record watch work with a given user? Is it something only an admin can use? Why doesn't it work when I am under another user.

Thanks!

David