This article is going to show you how to create a scoped app in ServiceNow App Engine low-code no-code platform. This tutorial was created using a ServiceNow instance on the Paris release.
If you're interested in learning more about ServiceNow App Engine low-code no-code platform, check out this ultimate guide. If you’re interested in learning more about ServiceNow IntegrationHub, check out this article.
To create a scoped app, you must have the System Administrator role.
What is a Scoped App in ServiceNow?
In ServiceNow App Engine, a scoped app is a private container that stores all of the files and components associated with a specific app. Think of a scoped app as a shell that defines the boundary of the app that protects its components from changes made elsewhere in ServiceNow. For example, if you created a data table specifically for a scoped app, that table would not be accessible to other users. If you wanted to create an app and expose its components to others, then you would want to create an app with a Global Scope.
Let’s get started!
How to Create a Scoped App in ServiceNow App Engine
Step 1: To get started, in the ServiceNow Navigator, type “Studio”. Under System Applications click “Studio”. This will launch the App Studio which is the integrated development environment (IDE) where apps in ServiceNow are built.
Step 2: Next, we’re going to create a new application. If you had previously built apps, they would be listed here. Since we’re starting with a new app, click “Create Application”.
Step 3: Next, enter the name of your app, enter a description, and upload a logo for your app if you would like one displayed. In this example, we are going to create a simple invoice approval app. This app will allow a user to submit a request with an invoice attachment to their manager for approval.
Step 4: Click “Create”.
Step 5: Next, we’re going to be prompted to select the user roles for our app. Roles will define what the users will be able to do in our app and what information they will have access to. In this example, we’re going to create new roles for our app. Click “Create new role”.
Step 6: Enter a name for your role and click “Create”. Note that you’ll want to be descriptive when creating role names. The name should clearly outline what function the role will perform. In our case, an Invoice Submitter makes it clear that users with this role will be responsible for submitting invoices through the app.
Step 7: Next, we added in a second role called Invoice Approvers who will be responsible for approving invoices. Note that in this example, we’re using the Guided App Creator to create user roles however, after the scoped app is created, you can always add more roles if required. Click “Continue”.
Step 8: Next, you’ll select the type of app that you want to create. You can choose from a “workspace”, “mobile” or “classic” app. You can always add these different app experiences after the app is created. In this example, we’re creating a workspace app. Click “Continue”.
Step 9: Next, you’ll be prompted to select data tables to be used in your app. You can choose from existing system tables or create new ones. You can also just skip this step and add in tables after you’ve created the scoped app. In this example, we’ll just skip adding in tables. Click “Done with tables”.
Step 10: Click “Start” to complete the scoped app setup.
That’s it. You’ve completed all of the steps to create the scoped app. Be sure to join our mailing list to stay up to date on the latest ServiceNow low-code no-code articles, tutorials, and more.