Customization Performance Portlets for Script and Workflow

Customization Performance Portlets provide insights into NetSuite customizations, helping monitor script execution and workflow efficiency.

·3 min read·View Oracle Docs

TL;DR Opening

Customization Performance Portlets allow users to monitor performance metrics of NetSuite customizations, including user event scripts and workflows. Through these portlets, developers can identify performance bottlenecks and enhance the efficiency of scripts and workflows.

What are Customization Performance Portlets?

Customization Performance Portlets are tools available on the Action History Detail page that provide insights into the performance of your customizations in NetSuite. If you have the Application Performance (APM) SuiteApp installed, you can access performance metrics and detailed views through links to Profiler Details and SuiteScript Analysis pages.

User Event Scripts Performance

The User Event Scripts portlet offers detailed performance data specifically for user event scripts. This can assist developers in detecting long-running scripts that may affect performance. The following metrics are displayed:

MetricDescription
Date and TimeThe timestamp when the script began execution.
Total DurationTotal runtime of user event scripts associated with the action.
Record TypeThe type of record the script operates on (e.g., Customer).
EventThe specific action occurring in the script (e.g., AfterSubmit).
Script NameClickable link to the script record.
FunctionName of the function executed by the script.
SuiteAppIdentifies if the script is tied to a SuiteApp.
OperationsCount of record operations executed by the script.
Profiler DetailsLink to view detailed profiling information.
SuiteScript AnalysisLink to access script performance analysis over time.

Important: Access to Profiler Details and SuiteScript Analysis requires the Application Performance (APM) SuiteApp.

Workflows Performance

The Workflows portlet provides performance metrics for workflows within NetSuite. This information is crucial for understanding how custom workflows impact system performance. Here's what it tracks:

MetricDescription
Date and TimeTimestamp when the workflow begins execution.
Total DurationDuration the workflow took to complete.
Record TypeAssociated record type, such as Customer.
Entry PointThe initial entry point used in the workflow script.
Workflow NameClickable link to open the workflow page.
SuiteAppIndicates if the workflow is included in a SuiteApp.
Profiler DetailsLink to gather performance data on the workflow.

Important: The Application Performance (APM) SuiteApp must be enabled to view Profiler Details.

Custom Client Script URL Requests Performance

This portlet shows data from client scripts that operate in the browser, often for form events or user data validation. The metrics available include:

MetricDescription
Date and TimeTimestamp when the request was processed.
Total DurationTotal time taken for the client script request to process.
Client Script URLShows the request URL for the client script.

Conclusion

Utilizing these portlets enables administrators and developers to keep a close eye on the custom scripts and workflows that drive their NetSuite environment. By leveraging performance data, organizations can make informed decisions to optimize their customizations, thus enhancing system efficiency and user experience.

Key Takeaways

  • The Customization Performance Portlets provide real-time insights into the performance of user event scripts and workflows.
  • Detailed metrics allow for efficient troubleshooting of long-running scripts.
  • The Application Performance (APM) SuiteApp is necessary for accessing advanced profiling tools.
  • Performance monitoring helps reduce inefficiencies in customizations, thereby improving overall system responsiveness.
  • Awareness of script performance can lead to proactive optimization efforts by development teams.

Frequently Asked Questions (4)

Do I need to have the Application Performance (APM) SuiteApp installed to use Customization Performance Portlets?
Yes, the APM SuiteApp is needed to access performance metrics and detailed views through Profiler Details and SuiteScript Analysis pages.
Which metrics are displayed for user event scripts in the Customization Performance Portlets?
The portlet displays metrics such as Date and Time, Total Duration, Record Type, Event, Script Name, Function, SuiteApp association, Operations count, and links for Profiler Details and SuiteScript Analysis.
Can the Customization Performance Portlets identify performance issues with workflows?
Yes, the Workflows portlet provides performance metrics that help understand the impact of custom workflows on system performance, including metrics like Date and Time, Total Duration, Record Type, Entry Point, and Workflow Name.
Are Custom Client Script URL Requests monitored in these portlets?
Yes, the portlets allow for monitoring client scripts that run in the browser, displaying metrics like Date and Time of processing, Total Duration, and the Client Script URL involved.
Source: Customization Performance Portlets Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in SuiteScript

View all SuiteScript articles →