Programming basics
Summarize
Summary of Programming Basics
The programming basics guide provides a structured approach for new developers using ServiceNow to create applications. It introduces low-code tools like Creator Studio, enabling users without coding experience to develop applications effectively.
Show less
Key Features
- Development Life Cycle: The application development process consists of defining the problem, planning the solution, coding, testing, deploying, and documenting the application.
- Low-Code Development: Tools like Creator Studio and App Engine Studio simplify the development process for users with varying coding experience.
- Planning and Mockups: Before coding, it is vital to define the desired application output and gather feedback through mockups to enhance usability.
- Coding Options: Depending on experience, developers can choose low-code, mid-level, or pro-code platforms for building applications.
- Testing Procedures: Rigorous testing with various data inputs ensures the application can handle both correct and incorrect data gracefully.
- Documentation Importance: Proper documentation aids future development and provides users with necessary operational guidance.
Key Outcomes
By following these guidelines, ServiceNow customers can efficiently create, test, and maintain applications that meet user needs, while ensuring a smooth deployment process. Effective documentation and user feedback will enhance the overall application experience and support future updates.
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
- Define the problem.
- Plan the solution.
- Code the solution.
- Test the application.
- Deploy the application.
- 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
- Can you extend an existing application instead of creating a new one?
- How many people will the application serve? If not many, is it worth the effort?
- Are you willing to maintain the application as things change over time?
- How often will anyone use this application? If not often, is it worth the effort?
If creating a new application makes sense, then move forward.
Defining the problem
- Desired application output
- Data going into the application
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
- Low-code ServiceNow tools, such as App Engine Studio.
- Mid-level and pro-code ServiceNow tools, such as ServiceNow Studio.
- Pro-dev source code tools, such as ServiceNow IDE and ServiceNow SDK.
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
- 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.