Scripting
Aggregation API
The Aggregate API offers a series of functions to execute aggregations on a Table, rather than utilising the Table API. Whilst the Table API will still be used to get information from records, this API focuses much more on aggregate functions to make sure it is much more efficient and easier to use for specific purposes.
Logger API
Logging Business API The Logger functionality provides the ability to log application messages, the logger can be configured to log only messages if the desired logging level are set. There are 5 levels of logging in Servicely.
Money API (BigDecimal)
When scripting, calculating decimals can often be problematic on certain coding languages. However, to remediate this, we have implemented a library within the platform, to allow you to easily and accurately calculate decimal values.
Provisioning Scripts
Provisioning Scripts can be used to automate tasks on certain events within the lifecycle of the application instances. For example, scripts can be run on node-startup, platform update, or application upgrade.
Script Libraries
A Script library allows you to create reusable scripts to run across different server side capabilities of the platform including A Script library also helps to abstract complexities that would otherwise be exposed onto the respective platform capabilities mentioned above. If we are to call a function (called IncidentUtil.
Table API (Client)
To interact with specific fields on the form on the client side, we have a variety of functions and methods you can use to make fields read only, required and more. The majority of these can be accessed in the following way.
Table API (Server)
The Table and Table Record objects are used to deal with Servicely tables and the records stored in them. They offer a series of functions to query, create, update and delete Table records.
Trigger
A Trigger automates business logics before/after a record creation/update/deletion. For example, a Trigger can automatically set a record’s field to a particular value, after you make a certain change on that record.
UI Event
A UI Event automates business logics on a Servicely Table’s form and/or fields as they are loaded or as you interact with them on your web browser, i. e.
User Object (Client and Server)
To assist in getting quick access to various details of a user record, we have two different versions of the User Object. One for server side, one for client side.
Running Server Scripts
You can use this functionality to run any server side script (runs on Servicely servers) of your own choosing. Examples include, not limited to Test/troubleshoot scripts that are part of a Trigger or a Script library OR Perform one-off automation such as bulk creating/updating/deleting records OR Querying set of records to validate their output, e.
Other API / Javascript Scripts
To support other areas and features in the platform, there are other features in the platform that you can make use of which have a very particular purpose. As these are too small to have their own page, this page groups these items all together in one page.
TableChecks
The TableChecks configuration object is a powerful tool that governs the behavior of various system operations by allowing the selective activation or deactivation of multiple predefined settings. These settings encompass aspects such as permissions, validations, event triggers, and system protections, each of which influences how the system processes and interacts with data.