I have a custom record type and User Event scripts...
# suitescript
b
I have a custom record type and User Event scripts are running on that record type. I created a record using SuiteScript by
record.create()
and I want to run those UE script as well. When I edit that created record in UI those script runs but not by script. How can I run that UE script?
m
A user event script cannot trigger another user event. This is to prevent cascading events. If you're
record.create()
is in a UE script, the UE script on your custom record will not trigger.
b
Thank you @Mike Robbins