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.

Dconsta3 Rookie Asked on October 30, 2019 in Performance.

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.

on October 30, 2019.
Add Comment
3 Answers

If you can do what you want with a workflow, unless you have a big scripting shop/depth-of-knowledge where it’s overwhelmingly easier to do scripting than workflows, stick with your workflows.  IME scripts tend to run afoul of issues due to hotfixes/upgrates waaaay more than workflows. So you’ve got to factor in that additional time to get that panicked ticket after a new release, update the script, and resolve lingering record issues. Plus administration is a lot easier if you don’t have scripting resources when you inevitably want to make changes.

Performance-wise, I think that SS 2.0 might have a slightly smaller footprint if you make everything exactly the same, but:

  1. Performance is typically a secondary consideration as @Eric Grubaugh mentioned and I alluded to above.
  2. Your script will almost never be *exactly* the same as a workflow, so it’s hard to make an apples to apples comparison anyway.  Things like logging, transitions, and other elements really don’t translate 1:1.

 

If performance is really an issue, I’d look at optimizing your existing workflows first before I jumped to scripting.  NetSuite support might be able to help in this regard, and they have the added benefit of being able to see a bit more on the performance side than us simple users can.

Beginner Answered on October 31, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.