Is it possible to have a User Event script trigger...
# suitescript
b
Is it possible to have a User Event script triggered from a process external to Netsuite that has token-based authorization?
didn’t see anything in the Audience tab for the script’s deployment that would indicate allowing it to trigger from anything token-based
j
Like a Restlet creates a record and you want to know if that creation would trigger the user event for that record?
👍 1
Assuming restlet and the role used for that integration authenticating over TBA has permission on that record it should trigger the user event script of that record
👍 1
b
it’s a Boomi integration (not a Restlet) that creates/edits records directly in Netsuite via TBA with a role called
Full Access deprecated
, so maybe this “deprecated” role is the problem
j
If you haven't created a custom role for your integrations yet, I'd suggest this bundle to get you started. Then you just remove anything you don't want. Custom Administrator - No 2FA Bundle Id: 249470
👍 1
b
thanks @jarens, I just installed it in our sandbox and we are going to re-create the TBA with this new role and test our integration again. As long as it’s a fact that User Event scripts can definitely be triggered from TBA-initiated processes, then it sounds like the
Full Access deprecated
role may have been our problem
e
There's also a setting to check off in Boomi to run server side scripts, it's on the connection operation