Skip to main content

Managing Scripts in Script Engine

Create, schedule and monitor the workspace's JavaScript scripts in Workspace Administration > Script Engine.

Written by Jon Darbyshire

Script Engine is the page in Workspace Administration where Administrators create, schedule and monitor the JavaScript scripts that run in the workspace. It shows every script, a code editor, memory and timeout settings, the secrets each script may use, and every run.

Here is the test: is a script syncing data, calling another system or keeping records current? Then it belongs on this page, where you can see when it runs and whether it worked.

Example: a compliance team runs a script named nightly-evidence-sync. It pulls control evidence from an outside system every night. Each morning, its run history shows whether the pull worked.

Plan Availability

Enterprise and Signature.

Permissions

Workspace Administrators create, edit, duplicate, schedule, export and monitor scripts in Workspace Administration > Script Engine.

Platform

Web

Related Reading


My script did not run or did not finish: check these five things, in order

Workspace Administrators on Enterprise or Signature manage scripts. If you are not one, send this page and the script name to an Administrator.

  1. Find the script. Select the failed-runs count at the top of Script Engine, then open the script's run history.

  2. Validation did not pass. The status badge shows it. Hover over the badge for the reason.

  3. No schedule. A dash in the Schedule column means the script never runs on its own.

  4. A missing secret. A script can choose only secrets that already exist on the Secrets page. See Secrets Management.

  5. Memory or Timeout too low. Each script has its own settings. Raise them when you edit the script. See Getting Started with SmartSuite Script Engine.

Still stuck: open the chat button in the lower-right corner of SmartSuite and select Send a message. Include the script name, the run time from its history and the message you saw.


The Script Engine page

Open it from the left sidebar: Workspace Administration > Script Engine.

The top of the page shows three counts:

  • Active scripts.

  • Scheduled scripts.

  • Failed runs in the last 24 hours.

Select a count to filter the list to the matching scripts.

The Script Engine page in Workspace Administration, with the three counts at the top and the script list with Status, Last run, Trigger and Runtime columns.

The Script Engine page in Workspace Administration, with the three counts at the top and the script list with Status, Last run, Trigger and Runtime columns.

The list loads in pages. Select Load more at the bottom to see more scripts.

To change the columns:

  1. Open the column options.

  2. Check or uncheck columns. The list updates as you go.

  3. Select Apply, or Reset to defaults to go back to the original columns.

Note: Column choices are saved in your browser. Another browser shows the default columns.

You can export the list as a CSV file, an Excel (.xlsx) file or a Google Sheet.


Creating a script

  1. In the left sidebar, open Workspace Administration and select Script Engine.

  2. Select New Script. The Create Script window opens.

  3. Enter a Display Name and a Script ID.

  4. Write or paste your JavaScript into the Source editor.

  5. Set Memory and Timeout.

  6. Open Choose secrets, check the secrets the script needs and select Done. They appear as tags in the field.

  7. Optional: under Trigger, select Schedule to run the script on a schedule instead of On Demand.

  8. Select Save.

The Create Script window with Display Name, Script ID, Trigger, Runtime, Entry Point, Memory, Timeout, Secrets and the Source editor.

The Create Script window with Display Name, Script ID, Trigger, Runtime, Entry Point, Memory, Timeout, Secrets and the Source editor.

A Script ID is 3 to 63 characters long. It uses only lowercase letters, numbers and hyphens, and it is unique in the workspace. nightly-evidence-sync is valid. Nightly_Sync is not.

Tip: You can choose only secrets that already exist. Create a new one on the Secrets page first, directly below Script Engine in Workspace Administration.


Validation and status

The script is checked each time you save it. Its status badge shows the result:

  • Active: the script is ready to run.

  • Inactive: the script is not running.

  • If validation does not pass, the badge says so. Hover over it to see the reason, when one is given.


Schedules

A script runs on a preset schedule or a custom expression. The Schedule column shows:

  • Hourly, Daily or Weekly for a preset.

  • The expression itself for a custom schedule, such as rate(6 hours) or cron(0 12 * * ? *).

  • A dash when the script has no schedule.

In the evidence example, nightly-evidence-sync runs Daily.


Managing a script

  • Edit: open the script to change its code, settings, schedule, Memory, Timeout or secrets. It is checked again when you save.

  • Duplicate: copy a script as the start of a new one. Give the copy a new, unique Script ID before you save it.

  • Export: save a script's full definition as a JSON file. It lists the secrets the script uses, never their values.

  • Run history: review past runs, with each run's mode and the script version that ran. Filter and sort to find a run, then select it for details.

To try a change safely, duplicate the script and change the copy. Update the original once the copy works.


Frequently asked questions

Who can use Script Engine?

Workspace Administrators on the Enterprise or Signature plan.

Where are secrets managed now?

On their own Secrets page in Workspace Administration, directly below Script Engine. Scripts choose secrets by reference with Choose secrets. See Secrets Management.

Does exporting a script expose my secrets?

No. The JSON export lists the secrets a script uses, never their values.

How do I rotate a credential used by several scripts?

Replace the value on the Secrets page. Every script that uses that secret picks up the new value, with no script edits.

Why do I see the default columns on another computer?

Column choices are saved in your browser. A different browser or device starts with the default columns.

Need more help? Ask the SmartSuite Community, where builders, administrators and the SmartSuite team answer questions about building on SmartSuite. For your account, billing or data, select the chat button in the lower-right corner of SmartSuite to reach support.

Last verified 1 Nov 2026.

Did this answer your question?