servicenow only use js ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 10:00 PM
i`m studying SN and i have that doubt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2023 10:53 AM
Hi @rodrigod3v,
In ServiceNow, JavaScript is the main language used to customize and extend the platform. It’s used for creating rules, scripts, and automation.
ServiceNow uses JavaScript both on the server side apis (for back-end processes) and the client side apis(for user interfaces). and for portal use HTML,css,Angular js and jelly scripts for ui pages.
While JavaScript is the primary language, ServiceNow can connect to other systems using different languages and protocols when needed, like RESTful APIs or web services.
Please mark it as helpful and solution proposed if its serves your purpose.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2023 05:12 PM
ServiceNow provides a scripting environment that supports both client-side and server-side JavaScript. Here's a brief overview of the use of JavaScript in ServiceNow:
Client-side Javascript: Client-side scripts are primarily used for enhancing the user interface and experience. You can create custom forms, client scripts, and UI policies using JavaScript to make the user interface more dynamic and interactive.
Server-side Javascript: Server-side scripts are used for creating business rules, server scripts, and other server-side customizations. These scripts run on the server, handling various tasks like data manipulation, validation, and server-side business logic.
Business Rules: Business rules in ServiceNow are often written in server-side JavaScript. They define the conditions and actions to be taken when specific conditions are met, such as data validation or triggering a workflow.
Workflows: ServiceNow's workflow engine allows you to define complex processes using a combination of graphical tools and server-side JavaScript. JavaScript can be used in workflow activities to customize the behavior of a workflow.
Scripted REST APIs: You can create custom REST APIs in ServiceNow using server-side scripting, often written in JavaScript. These APIs allow external systems to interact with the ServiceNow platform.
Scripted Web Services: ServiceNow supports scripted web services that are created using server-side JavaScript to expose platform functionalities to external systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2023 05:56 PM
Hello @rodrigod3v
Welcome to the world of ServiceNow!
- ServiceNow platform is developed on Java.
- For most of the customizations, it uses Java script with its own subset of Glide APIs. Locations where we use this are, Client Script, Catalog Client Script, UI Policy Scripts, Business Rules, Script Includes, Scheduled Jobs, Fix Scripts, Background Script, Script Action, Widgets, email Scripts, transform maps, scripted APIs etc.
- It also uses Apache's Jelly Script for UI elements like Macros.
- It uses Bootstrap package for User Interface.
- We use Angular JS in portal widgets.
- HTML and XML markup languages
- And CSS for styling.
Please mark my answer helpful and accept as solution if it helped 👍✅
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2023 06:17 AM
Hi @rodrigod3v ,
- The main scripting language used in Servicenow is JavaScript. JavaScript is used to write server-side scripts, such as business rules, script includes, scheduled jobs, and workflows. JavaScript is also used to write client-side scripts, such as client scripts, UI policies, UI actions, and catalog client scripts .
- Another scripting language used in ServiceNow is Jelly. Jelly is an XML-based scripting language that allows you to create dynamic HTML pages and UI components. Jelly is used to write UI pages, UI macros, UI scripts, and email templates.
- ServiceNow also supports AngularJS, a JavaScript framework that enables you to create dynamic and interactive web applications. AngularJS is used to write widgets, portals, and pages for the Service Portal, which is a modern and user-friendly interface for ServiceNow .
- In addition, ServiceNow allows you to use other scripting libraries such as jQuery, node.js, Bootstrap, and ECMAScript to enhance your web development and user experience.
If you want to learn more about scripting in ServiceNow, you can check out the following resources:
- Introduction to Scripting in ServiceNow, a free online course that covers the basics of scripting in ServiceNow.
Scripting in ServiceNow Fundamentals, a paid instructor-led course that teaches you how to write, test, and debug common script types in ServiceNow.
ServiceNow Developer Program, a community platform that provides access to developer tools, resources, and best practices for ServiceNow development.
If my response helps you resolve your issue. Kindly mark it as helpful & correct.
Dipen