Customization Performance Portlets for Script and Workflow
Customization Performance Portlets provide insights into NetSuite customizations, helping monitor script execution and workflow efficiency.
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:
| Metric | Description |
|---|---|
| Date and Time | The timestamp when the script began execution. |
| Total Duration | Total runtime of user event scripts associated with the action. |
| Record Type | The type of record the script operates on (e.g., Customer). |
| Event | The specific action occurring in the script (e.g., AfterSubmit). |
| Script Name | Clickable link to the script record. |
| Function | Name of the function executed by the script. |
| SuiteApp | Identifies if the script is tied to a SuiteApp. |
| Operations | Count of record operations executed by the script. |
| Profiler Details | Link to view detailed profiling information. |
| SuiteScript Analysis | Link 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:
| Metric | Description |
|---|---|
| Date and Time | Timestamp when the workflow begins execution. |
| Total Duration | Duration the workflow took to complete. |
| Record Type | Associated record type, such as Customer. |
| Entry Point | The initial entry point used in the workflow script. |
| Workflow Name | Clickable link to open the workflow page. |
| SuiteApp | Indicates if the workflow is included in a SuiteApp. |
| Profiler Details | Link 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:
| Metric | Description |
|---|---|
| Date and Time | Timestamp when the request was processed. |
| Total Duration | Total time taken for the client script request to process. |
| Client Script URL | Shows 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?
Which metrics are displayed for user event scripts in the Customization Performance Portlets?
Can the Customization Performance Portlets identify performance issues with workflows?
Are Custom Client Script URL Requests monitored in these portlets?
Was this article helpful?
More in SuiteScript
- Scheduling Map/Reduce Script Submissions in NetSuite
Learn how to schedule map/reduce scripts for one-time or recurring submissions in NetSuite, enhancing automation and efficiency.
- API Governance Units Calculation in NetSuite 2026.1
NetSuite 2026.1 introduces examples illustrating API governance unit calculations for both user event and scheduled scripts.
- Binary File Support in N/https Module for SuiteScript
SuiteScript enhances capabilities with binary file support in the N/https module, allowing improved data handling in external communications.
- Attach and Detach Operations in NetSuite 2026.1
Attach and detach operations for record relationships in NetSuite enhance data management and connectivity.
