Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
User Event beforeSubmit working but not afterSubmit
I have a 1.0 Suitelet generating a record.
Then a User Event on that record type catching on userEvent.Type.CREATE and creating a scheduled MR task.
When I run this beforeSubmit, everything works fine, but I need the ID of the record to be passed to my MR task. So I switched things over to afterSubmit and it doesn't appear to be kicking the script at all now. I tried logging at entry, and I'm not getting anything back. Does afterSubmit not register when coming from 1.0 to 2.0 but perhaps beforeSubmit does?
0