I'm troubleshooting an error that seems to be happ...
# suitescript
k
I'm troubleshooting an error that seems to be happening in a user event script on a scheduled basis. There are also client scripts going off on the same records at the same time. What sorts of automations can trigger user events and client scripts and run as a user?
b
probably want to share the record type
off the top of my head, client scripts can trigger serverside for some webstore related records
i believe client scripts can trigger serverside for addresses too
k
It's a custom record type and I don't think they have a web store
b
is it related to a netsuite created bundle
some of those are weird
k
yeah, it's from their initial implementation in 2012
at least the custom record and the user event that's throwing the error are
b
might want to add more logging for the execution context and the user event/client types
k
That was my thinking too
Is there a 1.0 function for finding out what triggered the UE or CS to run?
I know I can at least get the context it's running in but not sure of anything else beyond that
b
id for for the role and user too
perhaps the type from the user event type parameters
and the type from the client script's page init
k
I'll try that, thanks!