Knowledgebase articles
- Welcome to the Knowledge Base
- Training
- Welcome to Workbooks Support: Your Go-To Guide
- Workbooks Customer Hub
- Getting Started
- Preferences
- Activities
- Cases
- Email
- Importing Data
- Leads
- Marketing
- Introduction to Marketing
- Mailshots
- Templates
- Event Management
- Compliance Records
- Spotler Integration
- What is Spotler?
- Navigating your Spotler homepage
- Introduction to GatorMail
- GatorMail Configuration
- GatorMail Hard Bounces
- Advanced Features
- Sending Emails in GatorMail
- GatorCreator
- Setting up the Plugin
- Viewing Web Insights Data on your Form Layouts
- Domain Names and Online Activities
- Reporting incorrect Leads created through Web Insights
- Reporting on Web Insights data
- Using UTM Values
- Why aren’t Online Activities being created in the database?
- Why is GatorLeads recording online activities in a foreign language?
- GatorSurvey
- GatorPopup
- Dotdigital
- Integrations
- SFTP/FTP Processes
- Docusign Integration
- DocuSign Functionality
- Adobe Sign Integration
- Zapier
- Introduction to Zapier
- Available Triggers and Actions
- Linking your Workbooks Account to Zapier
- Posted Invoices to Xero Invoices
- Xero payments to Workbooks Tasks
- New Case to Google Drive folder
- New Case to Basecamp Project
- New Workbooks Case to JIRA Ticket
- Jira Issue to new Case
- 123FormBuilder Form Entry to Case
- Eventbrite Attendee to Sales Lead and Task
- Facebook Ad Leads to Sales Leads
- Wufoo Form Entry to Sales Lead
- Posted Credit Note to Task
- Survey Monkey responses to Tasks
- Multistep Zaps
- Email Integrations
- Microsoft Office
- Auditing
- Comments
- Using Postcode Lookup
- Data Enrichment
- Reporting
- Using Reports
- Advanced Reporting
- Reporting FAQs
- Transaction Documents
- Displaying & Adding Transaction Documents
- Copying Transaction Documents
- Transaction Documents Fields Help
- Transaction Documents Line Items Help
- Printing & Sending Transaction Documents
- Managing Transaction Document Currencies
- Managing Transaction Document Statuses
- Setting a Blank Default Currency on Transaction Documents
- Credit Notes
- Customer Orders
- Invoices
- Quotations
- Supplier Orders
- Sagelink
- Configuration
- Releases & Roadmap
- Workbooks Glossary
How Workbooks Runs Scripts
Scripts are run “at arm’s length” in a separate environment known as a “Jail”. This page explains what that means in more detail.
![]()
How Workbooks Runs Scripts
A Workbooks Script can be very flexible, so for security reasons, Scripts are run “at arm’s length” in a separate environment known as a “Jail”. They access the main Workbooks service in the same way as any other Workbooks API program.
Tip
Don’t assume your Script will always run to completion.
As well as enforcing basic security limits, the Jail gives the Workbooks Script access to a reasonable amount of memory and processor time. The Script is stopped if it runs longer than the runtime you set when creating the Process, or if it goes over the memory and processor usage limits.
PHP Libraries
Within the Jail, the Script is interpreted as PHP code and has access to a number of useful PHP libraries, including:
- Web Services: xmlrpc, curl
- Email: imap
- Databases:
- SQLite: sqlite, sqlite3
- Microsoft SQL: mssql
- MySQL: mysql, mysqli, pdo_mysql
- ODBC: odbc, pdo_odbc, pdo_mysql, pdo_pgsql, pdo_sqlite
- PostgreSQL: pgsql, pdo_pgsql
The current PHP version is 8.4. Workbooks will update this from time to time.