What does the sys_package table store?

masahironaka
Tera Contributor

The sys_user_role table contains a "Packages" field, which refers to the sys_package table.

Questions:

  1. What does the sys_package table store?
  2. Does the sys_package table contain detailed records of plugins that have been installed in the past?
  3. What is the purpose of the sys_package table?
2 ACCEPTED SOLUTIONS

Astik Thombare
Tera Sage

Hi @masahironaka ,

 

You're absolutely right! The sys_user_role table's "Packages" field references the sys_package table in ServiceNow. Here's a breakdown of your questions:

 

What does the sys_package table store?

 

The sys_package table primarily stores information about applications and plugins installed in your ServiceNow instance. It acts as a central registry, containing details like:

  • Package Name: Unique identifier for the application or plugin.
  • Version: Specific version of the application/plugin installed.
  • State: Whether the package is active, inactive, or uninstalled.
  • Description: Brief overview of the application/plugin's functionality.
  • Dependencies: Lists other packages this application/plugin relies on.

Does the sys_package table contain detailed records of plugins that have been installed in the past?

 

No, the sys_package table typically doesn't store historical data about past versions of plugins. It reflects the current state of installed applications and plugins.

 

What is the purpose of the sys_package table?

The sys_package table serves several crucial purposes:

  • Package Management: It provides a central record of all installed applications and plugins, simplifying management tasks like upgrades or troubleshooting.
  • Access Control: The "Packages" field in the sys_user_role table leverages the sys_package information to control user access to specific features or functionalities introduced by certain applications/plugins.
  • Dependency Management: By recording dependencies between packages, the sys_package table helps ensure smooth upgrades by identifying potential conflicts before they occur.

Documentation Link:

While there isn't a dedicated documentation page for the sys_package table itself, you can find relevant information within the ServiceNow documentation on:

These resources explain application and plugin management in ServiceNow, which heavily relies on the sys_package table behind the scenes.

 

   If my reply helped with your issue please mark helpful 👍 and correct ✔️ if your issue is resolved.

 

                         By doing so you help other community members find resolved questions which may relate to an issue they're having

 

 

Thanks,

Astik

View solution in original post

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @masahironaka ,

 

Below i have addressed your questions:

 

Questions:

 

  1. What does the sys_package table store?

It stores the list of application and dependencies installed on your instace.

 

  1. Does the sys_package table contain detailed records of plugins that have been installed in the past?

short answer is yes !

 

  1. What is the purpose of the sys_package table?

It stores all info on application and the reason its residing on sys_user_role table is it grant access to application / modules based on the roles granted to users... 

 

I hope i answerd your questions....


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

View solution in original post

4 REPLIES 4

Astik Thombare
Tera Sage

Hi @masahironaka ,

 

You're absolutely right! The sys_user_role table's "Packages" field references the sys_package table in ServiceNow. Here's a breakdown of your questions:

 

What does the sys_package table store?

 

The sys_package table primarily stores information about applications and plugins installed in your ServiceNow instance. It acts as a central registry, containing details like:

  • Package Name: Unique identifier for the application or plugin.
  • Version: Specific version of the application/plugin installed.
  • State: Whether the package is active, inactive, or uninstalled.
  • Description: Brief overview of the application/plugin's functionality.
  • Dependencies: Lists other packages this application/plugin relies on.

Does the sys_package table contain detailed records of plugins that have been installed in the past?

 

No, the sys_package table typically doesn't store historical data about past versions of plugins. It reflects the current state of installed applications and plugins.

 

What is the purpose of the sys_package table?

The sys_package table serves several crucial purposes:

  • Package Management: It provides a central record of all installed applications and plugins, simplifying management tasks like upgrades or troubleshooting.
  • Access Control: The "Packages" field in the sys_user_role table leverages the sys_package information to control user access to specific features or functionalities introduced by certain applications/plugins.
  • Dependency Management: By recording dependencies between packages, the sys_package table helps ensure smooth upgrades by identifying potential conflicts before they occur.

Documentation Link:

While there isn't a dedicated documentation page for the sys_package table itself, you can find relevant information within the ServiceNow documentation on:

These resources explain application and plugin management in ServiceNow, which heavily relies on the sys_package table behind the scenes.

 

   If my reply helped with your issue please mark helpful 👍 and correct ✔️ if your issue is resolved.

 

                         By doing so you help other community members find resolved questions which may relate to an issue they're having

 

 

Thanks,

Astik

This is very clear, thank you Astik Thombare. My questions regarding sys_package have been resolved.

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @masahironaka ,

 

Below i have addressed your questions:

 

Questions:

 

  1. What does the sys_package table store?

It stores the list of application and dependencies installed on your instace.

 

  1. Does the sys_package table contain detailed records of plugins that have been installed in the past?

short answer is yes !

 

  1. What is the purpose of the sys_package table?

It stores all info on application and the reason its residing on sys_user_role table is it grant access to application / modules based on the roles granted to users... 

 

I hope i answerd your questions....


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Thank you for the detailed explanation, Sohail Khilji.
To grant users access to applications/modules, should I configure it from the sys_user_role table?
If so, could you please walk me through the process?