Available script types
- UpdatedJan 30, 2025
- 5 minutes to read
- Yokohama
- Building applications
Scripts can be used in many places. The most important detail is whether the script runs on the client or the server.
Script | Description | Runs on |
---|---|---|
Access Control | Determines whether access will be granted for a specified operation to a
specific entity.
Can be defined by roles, conditional expressions or scripts. |
server - script and any condition run on the server |
Ajax Scripts | Enables the client to get data from the server to dynamically incorporate
into a page without reloading the whole page.
|
|
Business Rules | Customizes system behavior
|
server - script and any condition run on the server |
Service Catalog UI policies | Defines the display of a variable set or a catalog item (from the service catalog). |
|
Client Scripts | Used for making changes to the appearance of forms, displaying different fields
based on values that are entered or other custom display options.
Client Scripts can also be called by other scripts or modules, including UI policies. |
client |
Script actions | Contains scripts which run when an event occurs, for example
Can have a condition which must be true for the script to run. Commonly used to call a Script Include. |
server - script and any condition run on the server |
Script Includes | Contains scripts which can be functions or classes. These scripts run only when called by other scripts (often Business Rules). Any server script which is complicated or reusable should be a Script Include (especially complicated Business Rules). |
server |
Transform maps | Used for importing data.
Do not always include scripts. |
server |
UI actions | Creates the ability to choose a specific action such as clicking a button or a link. UI Actions put these items on forms and lists:
|
|
UI Context Menus | Defines which "right-click menu" will pop-up in which area, and the menu choices that will be available Note: If you use a left-handed mouse configuration, right-click
means "click the other button." |
|
UI macros | Contains modular, reusable components that can contain Jelly and are called by UI pages. They also contain different types of scripts and may be called multiple times on the same page. Note: Jelly turns XML into HTML. |
|
UI Pages | Used to create and display pages, forms, dialogs, lists and other UI components. Can be displayed on a standalone basis, or called as a usable component, as part of a larger page. Can contain
Note: Jelly turns XML into HTML. |
|
UI Policies | Defines the behavior and visibility of fields on a form.
Use UI Policies rather than client scripts whenever possible.
|
|
UI Properties | Designates what the instance will look like. |
no scripts |
UI Scripts | Contains client scripts stored for re-use. Only used when called from other scripts. Not recommended for use. |
client |
Validation Scripts | Validates that values are in a specified format. For example, a validation script can verify that the only value allowed in a specific field is an integer. |
client |
Workflow editor | Used to create or change a workflow. Scripts can be run at any point in a workflow, or different scripts can be run at different points. Scripts also can be found inside every workflow activity and can be modified (although do so with extreme caution). |
server - script and any conditions run on the server |