Setting Script Deployment Status

Note:

This topic applies to all versions of SuiteScript.

A script’s deployment status can be set to Testing or Released. When the status is set to Testing, the script will execute for the script owner and specified audience. Setting the status to Released means that the script will run in the accounts of all specified audience members

To set the deployment status, select either Testing or Release from the Status field on the Script Deployment page:

Setting Script Deployment Status section of the Setting Runtime Options page
Note:

The Testing and Released statuses do not apply to scheduled scripts. To learn about scheduled script deployment statuses, see SuiteScript 2.x Scheduled Script Submission.

Status Set to Testing

When a script's deployment status is set to Testing, only the script owner will be able to run the script. The script owner can test the script functionality in a different role using the Audience tab, but the script will not be available for other users until the status is set to Released. For information, see Using the Audience Subtab to Test Scripts.

Note that when using the SuiteScript Debugger to test scripts, the script's deployment status must be set to Testing. You cannot debug a Deployed script if the status has been set to Released. (See Debugging Deployed SuiteScript 1.0 and SuiteScript 2.0 Server Scripts and Debugging Deployed SuiteScript 2.1 Server Scripts for more information on using the SuiteScript Debugger to test existing scripts.)

If you are working with Suitelet Script Deployment records, also see Errors Related to the Available Without Login URL, which discusses the relevance of the Testing status as it pertains to internally and externally available Suitelets.

Note:

A bundle installation script cannot execute in target accounts if its deployment status is set to Testing.

Status Set to Released

A script deployment status set to Released means that the script will run in the accounts of all specified audience members. (See Defining Script Audience for information on defining script audiences.) When the deployment status is set to Released, the script is considered to be “production ready.”

Be aware that if you do not specify any values on the Audience subtab, the script will execute only for the script owner, even if the script deployment status is set to Released.

Note:

Bundle installation scripts and scheduled scripts do not have an audience. If the deployment status is set to Released for a bundle installation script, the script will execute automatically in target accounts when the associated bundle is installed or updated.

If you are working with Suitelet Script Deployment records, also see Errors Related to the Available Without Login URL, which discusses the relevance of the Released status as it pertains to internally and externally available Suitelets.

General Notices