System variables
The System variables feature introduces a set of predefined variables that you can use across your Integray environment. These variables provide direct access to essential company-related information, making referencing key values in scripts, configurations, and API calls easier.
Why?
Manually retrieving company-specific values such as Company ID, Name, or URL often led to redundant lookups and inconsistencies. Developers needed a way to reference this data dynamically without hardcoding values or maintaining separate configurations. With System variables, you can now access this information instantly, ensuring accuracy while simplifying development workflows.
How it works
Each company now has access to a predefined System variable set that dynamically updates if company data changes.
Available System variables
-
SYSTEM_CompanyID – Stores the company's ID.
-
SYSTEM_CompanyName – Stores the name of the company.
-
SYSTEM_CompanySlug – Stores the slug (short name) of the company.
-
SYSTEM_BaseURL – Stores the base URL for the company’s API interactions.
Getting started
Work smarter with predefined System variables and let Integray handle the details! You can start using System variables immediately - simply type SYSTEM_ in the code editor to trigger the code completion and select the variable you need. Click here to learn more.