Create a Simple app "To Do List"
Import
·
Jun 06, 2024
·
article
Creating a simple ServiceNow app involves defining a new application, creating tables and fields, and building a basic user interface. Below is a step-by-step guide to help you get started with building a simple to-do list application on ServiceNow.
Step 1: Access ServiceNow
- Log in to ServiceNow: Use your ServiceNow instance URL and credentials to log in.
Step 2: Create a New Application
- Navigate to Studio: In the left-hand navigation pane, type "Studio" in the filter navigator and select "Studio" under "System Applications."
- Create Application: Click the "Create Application" button.
- Fill in Application Details:
- Name: To-Do List
- Scope: Automatically generated based on the name
- Description: A simple to-do list application
- Name: To-Do List
Step 3: Create a New Table
- Create Table:
- In Studio, click "Create Application File."
- Select "Data Model" > "Table."
- Name your table (e.g., "To-Do Tasks").
- In Studio, click "Create Application File."
- Add Fields to the Table:
- Task Name: Field Type: String
- Description: Field Type: String
- Due Date: Field Type: Date/Time
- Priority: Field Type: Choice (Low, Medium, High)
- Status: Field Type: Choice (Open, In Progress, Completed)
- Task Name: Field Type: String
Step 4: Create User Interface
- Create Form Layout:
- Go to your new table in Studio.
- Click on "Form Layout" under the table name.
- Add the fields you created to the form layout.
- Go to your new table in Studio.
- Create List Layout:
- Go to your new table in Studio.
- Click on "List Layout" under the table name.
- Add the fields you want to display in the list view.
- Go to your new table in Studio.
Step 5: Create a Module
- Create Module:
- In Studio, click "Create Application File."
- Select "Navigation" > "Module."
- Fill in the details:
- Title: To-Do Tasks
- Table: To-Do Tasks
- Link Type: List of Records
- Title: To-Do Tasks
- In Studio, click "Create Application File."
Step 6: Test Your Application
- Navigate to To-Do Tasks Module: In the main ServiceNow interface, use the filter navigator to find your "To-Do Tasks" module.
- Create a New Task:
- Click the "New" button to create a new task.
- Fill in the form and submit.
- Click the "New" button to create a new task.
- View Tasks: Your tasks will appear in the list view.
Step 7: Publish Your Application (Optional)
- Publish Application:
- In Studio, click the "Publish" button to make your application available to other users.
Additional Tips
- Automation: You can add business rules or workflows to automate task updates based on certain conditions.
- Reporting: Create reports or dashboards to view and manage tasks efficiently.
View original source
https://www.servicenow.com/community/app-engine-articles/create-a-simple-app-quot-to-do-list-quot/ta-p/2954224
