Join Slack
Powered by
How can I limit my user event script to run only o...
# suitescript
a
Alan Fitch
07/20/2021, 12:47 AM
How can I limit my user event script to run only on create?
question answered
1
b
barinvon
07/20/2021, 12:55 AM
context.type === context.UserEventType.CREATE
a
Alan Fitch
07/20/2021, 12:57 AM
Do i have to import context to get that enum?
Alan Fitch
07/20/2021, 12:57 AM
Will this work?
Alan Fitch
07/20/2021, 12:57 AM
message has been deleted
Alan Fitch
07/20/2021, 1:00 AM
It did work. Thanks
b
battk
07/20/2021, 1:08 AM
Setting Script Execution Event Type from the UI
should end up being faster if you only want 1 event type
a
Alan Fitch
07/20/2021, 1:23 AM
Aha. I thought I saw a drop down somewhere. Thanks.
3
Views
Open in Slack
Previous
Next