make a custom scoped application service portal available to all authorized users?

woodyfairley
Tera Guru

My product owner has tasked me and the project manager with making the service portal forms available to all authorized users in the system. The intent is to allow anyone with a login to use the application's free version to create records in a series of custom scoped tables. What are the best practices to accomplish this requirement? I expect that more custom scoped applications will get this requirement, if we implement successfully (no security weaknesses, no additional licensing costs, and full user app availability).

 

I am a citizen developer so I'd be grateful to read some posts explaining it in simple terms but also with enough detail so that I can learn.

 

Kind Regards to all of my fellow developers,

woody

1 ACCEPTED SOLUTION

Sreeram Nair
Kilo Sage

Great question, and I had just done some research on this for one of my recent work. it’s worth getting right, because the same pattern will apply to future apps. The short version: give people access through record producers and ACLs, not by handing out roles. Roles are what usually drive licensing and security risk.

  1. Use record producers, not direct form access

A record producer is a catalog item that creates a record in a table of your choice, including your custom scoped tables. Users fill in a simple form on the Service Portal, and the producer creates the record behind the scenes.

This is the standard way to let everyone submit records, because:

  • users don’t need any role, so you’re not handing out licensed roles
  • you control which fields they see, so internal fields stay hidden
  • you can map, default and validate values in the producer script

Create one record producer per table (or per type of request), put them in a catalog category for your app, and they’ll appear on the portal.

Read more:

  1. Control who sees each form with User Criteria

On each record producer, use “Available for” User Criteria to decide who can see it. For “anyone with a login”, you can leave it open to all logged-in users. If some forms should only be visible to certain groups or departments, User Criteria handles that without giving anyone roles.

One important point: User Criteria only control what people see in the catalog. They don’t protect the table itself, so the ACLs in step 3 are still essential.

Read more:

  1. Lock down the tables with ACLs

This is the part that protects you from security weaknesses. When you created the tables, ServiceNow may have created a role and ACLs for each one. Review them:

  • Read: users should normally only see their own records. Use an ACL condition such as “Opened by is (dynamic) Me” or “Created by is (dynamic) Me”.
  • Write: decide whether users can edit after submitting. Often the answer is no, or only while the record is in a draft state.
  • Delete: normally only your app’s admin role.

To create or change ACLs, you’ll need to elevate to the security_admin role, so ask your admin if you don’t have it.

 

If your instance has the snc_internal role (it comes with the Explicit Roles plugin and is given to internal users automatically), you can use it in ACLs to mean “any internal logged-in user” without assigning anything extra.

Read more:

  1. Make the portal pages available to logged-in users

Check that the portal and its pages don’t require a role and aren’t marked public. That makes them available to anyone who’s logged in, but not to anonymous visitors.

Read more:

  1. Let users see what they’ve submitted

Add a list or “My records” page on the portal, filtered to the current user’s records. Combined with the read ACL in step 3, users only ever see their own data.

  1. Test as a real user

Impersonate a user with no roles at all and walk through the whole journey: find the form, submit it, view the record, and try to open someone else’s record by changing the sys_id in the URL. If that last step shows anything, your read ACL needs tightening.

Read more:

A note on licensing: Requester-style access (submitting and viewing your own records) generally doesn’t need a fulfiller licence. However, every custom table in production has to be mapped to a subscription with custom table entitlement, so check how many your contract covers. Also watch out for tables that extend Task: under the Custom Table Guide effective 17 October 2025, a custom table that extends Task through a chain of only custom tables can’t count as an App Engine Starter table and needs an App Engine product subscription. If your tables extend Task, confirm with your ServiceNow account team before going further.

Read more:

What i also did was once this worked for one app, I wrote it up as a checklist (record producers, User Criteria, ACLs, portal access, impersonation test). Now the next app can follow the same pattern.

 

Hope this helps, and good luck with it!

View solution in original post

2 REPLIES 2

Sreeram Nair
Kilo Sage

Great question, and I had just done some research on this for one of my recent work. it’s worth getting right, because the same pattern will apply to future apps. The short version: give people access through record producers and ACLs, not by handing out roles. Roles are what usually drive licensing and security risk.

  1. Use record producers, not direct form access

A record producer is a catalog item that creates a record in a table of your choice, including your custom scoped tables. Users fill in a simple form on the Service Portal, and the producer creates the record behind the scenes.

This is the standard way to let everyone submit records, because:

  • users don’t need any role, so you’re not handing out licensed roles
  • you control which fields they see, so internal fields stay hidden
  • you can map, default and validate values in the producer script

Create one record producer per table (or per type of request), put them in a catalog category for your app, and they’ll appear on the portal.

Read more:

  1. Control who sees each form with User Criteria

On each record producer, use “Available for” User Criteria to decide who can see it. For “anyone with a login”, you can leave it open to all logged-in users. If some forms should only be visible to certain groups or departments, User Criteria handles that without giving anyone roles.

One important point: User Criteria only control what people see in the catalog. They don’t protect the table itself, so the ACLs in step 3 are still essential.

Read more:

  1. Lock down the tables with ACLs

This is the part that protects you from security weaknesses. When you created the tables, ServiceNow may have created a role and ACLs for each one. Review them:

  • Read: users should normally only see their own records. Use an ACL condition such as “Opened by is (dynamic) Me” or “Created by is (dynamic) Me”.
  • Write: decide whether users can edit after submitting. Often the answer is no, or only while the record is in a draft state.
  • Delete: normally only your app’s admin role.

To create or change ACLs, you’ll need to elevate to the security_admin role, so ask your admin if you don’t have it.

 

If your instance has the snc_internal role (it comes with the Explicit Roles plugin and is given to internal users automatically), you can use it in ACLs to mean “any internal logged-in user” without assigning anything extra.

Read more:

  1. Make the portal pages available to logged-in users

Check that the portal and its pages don’t require a role and aren’t marked public. That makes them available to anyone who’s logged in, but not to anonymous visitors.

Read more:

  1. Let users see what they’ve submitted

Add a list or “My records” page on the portal, filtered to the current user’s records. Combined with the read ACL in step 3, users only ever see their own data.

  1. Test as a real user

Impersonate a user with no roles at all and walk through the whole journey: find the form, submit it, view the record, and try to open someone else’s record by changing the sys_id in the URL. If that last step shows anything, your read ACL needs tightening.

Read more:

A note on licensing: Requester-style access (submitting and viewing your own records) generally doesn’t need a fulfiller licence. However, every custom table in production has to be mapped to a subscription with custom table entitlement, so check how many your contract covers. Also watch out for tables that extend Task: under the Custom Table Guide effective 17 October 2025, a custom table that extends Task through a chain of only custom tables can’t count as an App Engine Starter table and needs an App Engine product subscription. If your tables extend Task, confirm with your ServiceNow account team before going further.

Read more:

What i also did was once this worked for one app, I wrote it up as a checklist (record producers, User Criteria, ACLs, portal access, impersonation test). Now the next app can follow the same pattern.

 

Hope this helps, and good luck with it!

Thank you Sreeram, your guidance is very helpful! Well done! I will work toward publishing a record producer that replicates the original developer's service portal, and extend the required functionality from there. Thank you!

Warm regards,

woody