Programming basics

  • Release version: Zurich
  • Updated July 31, 2025
  • 4 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Programming basics

    This content introduces ServiceNow customers to the fundamental steps of software development within the ServiceNow platform, emphasizing the available coding options from low-code to pro-code. It guides new and experienced developers through deciding whether to create a new application, defining its purpose, planning, coding, testing, deploying, maintaining, and documenting it effectively.

    Show full answer Show less

    Key Features

    • Low-code and Pro-code Options: ServiceNow provides a range of development tools tailored to different coding skill levels, including Creator Studio for low-code, App Engine Studio for mid-level coding, and ServiceNow Studio or SDK for pro-code development. This flexibility supports developers of all experience levels.
    • Software Development Life Cycle (SDLC): The process follows standard stages—defining the problem, planning the solution, coding, testing, deploying, and documenting—structured to help customers systematically build and maintain applications.
    • Application Necessity Assessment: Customers are encouraged to evaluate if creating a new application is necessary by considering factors such as extendability of existing apps, user base size, maintenance willingness, and usage frequency.
    • Planning Tools and Permissions: Use flowcharts to design the application logic and obtain necessary permissions for data access and app creation, including citizen developer permissions via App Engine Management Center.
    • Robust Testing Practices: Emphasizes thorough testing with varied data inputs—including invalid and empty data—to ensure error handling and user experience are optimized.
    • Deployment and Maintenance Roles: Highlights the role distinction where system administrators handle deployment, while developers focus on ongoing maintenance and feature updates.
    • Importance of Documentation: Stresses comprehensive documentation for both developers and end-users to facilitate maintenance and usability, recommending usability testing and potentially engaging technical writers.

    Key Outcomes

    • Enables customers to confidently approach application development on the ServiceNow platform regardless of coding expertise.
    • Promotes efficient development through a clear, structured life cycle and decision-making framework to avoid unnecessary application creation.
    • Ensures applications are reliable and user-friendly by advocating for rigorous testing and thoughtful error handling.
    • Supports sustainable application management with clear roles for deployment and maintenance, and thorough documentation to aid future developers and users.

    Software development usually encompasses a standard set of steps. If you're new to developing applications, read on.

    Your job as a developer

    If you're new to developing applications, if you don't even know how to code, ServiceNow has a low-code development platform called Creator Studio that makes creating a basic request-fulfill application possible for you. Development might be new waters for you to swim in but you will find the low-code tools easy to use. So, don't be shy about developing an app!

    Software developers do many things but what they have in common is solving problems using computer code. ServiceNow offers coding platforms that require no coding experience, mid-level coding experience, and expert coding experience. The less coding required, the more work the coding platform does for you. So, even experienced software developers will appreciate low- and mid-level coding platforms, such as Creator Studio and App Engine Studio.

    Software development life cycle

    The common stages of developing an application are:
    1. Define the problem.
    2. Plan the solution.
    3. Code the solution.
    4. Test the application.
    5. Deploy the application.
    6. Document the application.

    These steps are commonly referred to as the software development life cycle. ServiceNow developer documentation is grouped according to these steps.

    Do you really need to create a new application

    Your first step is to determine if creating an application is necessary. Consider:

    If creating a new application makes sense, then move forward.

    Defining the problem

    If you're planning to create an application, you must have some notion of what you want it to do. You might not have a detailed idea of the solution, however. At a minimum, you need to define in detail:
    • Desired application output
    • Data going into the application
    The data going in typically comes from a table of data. You need to know the table name and the type of data in it. You can use ServiceNow tools, like Table Builder, to store and customize your data.

    The desired output might be a dashboard, data stored in a table, or a piece of equipment being sent to an employee. Before you decide on the output, show a mockup of your output to a lot of people to see if they can suggest improvements to the output. Do not skip this step.

    Planning the solution

    There are various ways to create an algorithm that produces the output you want. The easiest methodology is to use a flowchart that starts with the input data and shows each step in the process that leads to the output. Using a flowchart enables you to focus on the big picture of what you want to do and avoid how to do it. Look at your flowchart critically to optimize the process.

    You may need to get permissions to use tables of data or even permission to create an application. For example, citizen developers are granted app development permissions through App Engine Management Center.

    For more information about ServiceNow planning tools, see Planning your application.

    Coding the application

    To code the application, you can use:For more information about ServiceNow coding platforms, see Developing your application.

    Testing your application

    Testing your application requires inputting data to make sure the outcome is accurate. It is important to input a lot of data, even incorrect data, to see how well your application handles correct and incorrect inputs. Put in data that is too large or the wrong type. Put in no data at all. Try to break your application to prevent your users from doing so. Handling error conditions gracefully is critical for a good customer experience.

    For more information about ServiceNow testing tools, see Testing and debugging applications.

    Deploying your application

    Now that you've tested your application, it's time to deploy it so customers can use it. Application deployment is done by system administrators not developers.

    For information about ServiceNow deployment tools, see Deploying applications.

    Maintaining your application

    Maintaining the application deals with issues such as overloading a server, application errors, and feature updates. Accounting for feature updates is a developer's job. Seeing how well an application is working is a system administrator's job.

    For more information about ServiceNow tools that help you maintain your application, see Maintaining your application.

    Documenting your application

    Application development is never complete until the application is documented. There are many reasons to document your application:
    • Internal notes help other developers work on your application. It takes a lot of time to figure out the reasoning behind programming decisions and methodology. Documenting those helps future developers maintain your application.
    • Users need to know how to use your application. As transparent as you believe the application is, you will find many people who get frustrated trying to use it. Do a usability test on your application and documentation to see where users run into problems. The broader the audience, the more important the application, the more important the documentation. Consider using an experienced technical writer to write the documentation.