RE: What uses less resources on NetSuite? Suitescripts or Workflows?
Which customization uses the least resources on NetSuite’s performance? Suitescripts or Workflows? We have a set number of Workflows for our Sales Order Records and are wondering if converting them to Suitescripts would make the creation and view processes of the Sales Orders faster.
I’m not sure there is a way to know this without some thorough experimentation on your part. It’s certainly not documented anywhere. Workflows are just a UI for SuiteScript; when you save a Workflow, SuiteScript is generated for you behind the scenes, so the primary differences are mostly going to show up in the opimization of the generator’s SuiteScript versus your own.
I’m not sure there’s any difference on the NetSuite side between loading up a Workflow and loading a Script because they’re essentially the same.
At any rate, I never advocate trying to optimize performance too early. I wouldn’t worry about it unless you can definitively prove there is a significant difference causing your users noticeable pain. Here’s a video I did with Matt Dahse discussing other Workflow vs Script considerations: https://www.youtube.com/watch?v=DfoiE_0yNVg
dmashburn3
I definitely do not know the answer to this, but I would bet that it heavily depends on what a workflow is doing versus a script.
If they were one for one doing the same exact thing, my guess is that the difference would be negligible. Just my 2 cents.