Script Execution Time Limits

Each server script type and plug-in type has a limit on the amount of time it can run in a single execution. If the time limit is exceeded, an SSS_TIME_LIMIT_EXCEEDED error is thrown and script execution stops. However, a script may run for a long time, and you may not see the SSS_TIME_LIMIT_EXCEEDED error under these conditions:

The following tables list the time limit (in seconds) for each script type, core plug-in type, and custom plug-in type.

Script Type

Time Limit (in Seconds)

Bundle Installation Scripts (SuiteScript 1.0)

SuiteScript 2.x Bundle Installation Script Type

3,600

Client Scripts (SuiteScript 1.0)

SuiteScript 2.x Client Script Type

300

Custom record action

300

Map/reduce (input stage)

SuiteScript 2.x Map/Reduce Script Type

3,600

Map/reduce (map stage)

SuiteScript 2.x Map/Reduce Script Type

300

Map/reduce (reduce stage)

SuiteScript 2.x Map/Reduce Script Type

900

Map/reduce (summarize stage)

SuiteScript 2.x Map/Reduce Script Type

3,600

Mass Update Scripts (SuiteScript 1.0)

SuiteScript 2.x Mass Update Script Type

300

Portlet Scripts (SuiteScript 1.0)

SuiteScript 2.x Portlet Script Type

300

RESTlets (SuiteScript 1.0)

SuiteScript 2.x RESTlet Script Type

300

SuiteScript 2.x SDF Installation Script Type

3,600

Single-page application (SPA)

300

Scheduled Scripts (SuiteScript 1.0)

SuiteScript 2.x Scheduled Script Type

3,600

Suitelets (SuiteScript 1.0)

SuiteScript 2.x Suitelet Script Type

300

SuiteScript Server Pages (SSP) application

300

User Event Scripts (SuiteScript 1.0)

SuiteScript 2.x User Event Script Type

300

Workflow Action Scripts (SuiteScript 1.0)

SuiteScript 2.x Workflow Action Script Type

300

Core Plug-in Type

Time Limit (in Seconds)

Adjusted Consolidated Rates

300

Bank Connectivity Plug-in

300

Bank Statement Parser Plug-in

1,800

Custom GL Lines Plug-in

30

Dataset Builder Plug-in

300

Email Capture Plug-in

300

Financial Institution Connectivity Plug-in

3,600

Financial Institution Parser Plug-in

1,800

Payment Processing

300

Platform Extension

300

Promotions

300

Revenue Management

300

Shipping Partners

300

Tax Engine

60

Workbook Builder Plug-in

300

Custom Plug-in Type

Time Limit (in Seconds)

Plug-in Type

3,600

Plug-in Type Implementation

3,600

Related Topics

SuiteScript Governance and Limits
SuiteScript 2.x API Governance
Script Type Usage Unit Limits
Monitoring Script Usage
Governance on Script Logging
Search Result Limits
SuiteScript 2.x Script Types
Core Plug-ins
Custom Plug-ins

General Notices