Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Script and Workflow Execution Order
I recall seeing an article that explains in depth which workflow contexts and script contexts (both client and user event) work in which order. I can't seem to find it now (when I need it!)
I have found this article:
Execution Order of Scripts and Workflows (custhelp.com)
Which simply says:
if both the script and the Workflow is to set a value to the same field, the value that will be set to that of the field will be the value coming from the Workflow.
My problem is not workflows / scripts trying to update the same field, but the dreaded 'record has changed' error. I have 3 or 4 User Event Scripts running 'after submit' - and I assume (based on the Scripted Records page) that these are processed sequentially. There are also some 'after submit' actions on the Workflow.