What do you mean "on a record"? `N/runtime.executi...
# suitescript
e
What do you mean "on a record"?
N/runtime.executionContext
will tell you whether a SOAP web service request triggered the script during, for instance, a User Event.