--- title: Mobile client GlideForm (g form) scripting and migration description: Client scripting for mobile is identical to scripting for the web, with some exceptions. All new scripts must conform to certain guidelines.
The Script Debugger API provides endpoints to debug lines of server-side JavaScript code, such as business rules and script includes.Retrieve a list of breakpoints or logpoints in a server-side script, such as a business rule or script include.Add, update, or remove breakpoints…
You can create custom SLA condition rules to determine whether an SLA should attach, pause, complete, reattach, or cancel. SLA condition classes contain script to define processing for an SLA condition rule. Create an SLA condition rule after the SLA condition class is defined.
Enable users with coding experience to write inline scripts that set and modify input values during the configuration of an action or flow. Use inline scripts to modify input values that require small format conversions, data transformations, or math operations.
To aid in performance evaluation, the Stats Tools records statistics for system activities that affect performance such as the execution of queries, scripts, and transactions.
Use scripted extension points to decide which dosage characteristics are mapped to the fields on the Dosage details section of a Medication Prescription form.
On a technical dashboard, configure a special client script-based event handler for a Filter component so it can be followed by any Lists or Data Visualizations. It is not necessary to configure an event handler for filters on inline dashboards.
Use the Alarm Management Open API to create and update data in the Events [em_event] table.The Alarm Management Open API can be extended by editing script includes.
Using an agent or building an integration?
The same documentation is available through the public REST API.
GET /api/docs/search?q=GlideRecord&limit=20
GET /api/docs/document?path=…
GET /api/docs/:id?revision=…
Search returns document paths, IDs, snippets, and an index revision. Read by path for a stable reference; numeric IDs should be used with the returned revision. Document bodies are Markdown.