Guidance Required on ServiceNow Interview Questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2025 09:35 AM
Hello Team,
Yesterday, I had a ServiceNow interview where I was asked a few questions that I couldn’t answer. I would appreciate it if someone could guide me on the below queries:
There is an XYZ table accessible only to admins. An admin created a report using this table and shared it with a manager who does not have the admin role. Without modifying existing ACLs, how can we give access to the manager to view the report?
When moving a Knowledge Article from one instance to another, how can we move the associated approvals along with it?
How can we update data in multiple tables when the data is received through an integration?
On the Incident form, there are 100 fields. The admin should see 50 fields, an ITIL user should see 20 fields, and so on. How can we manage field visibility based on roles?
Thank you in advance for your support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2025 09:51 AM
1. Schedule the Report with Output
Admin schedules the report (PDF, Excel, chart) via email or dashboard to the manager. So, Manager sees the output, not the raw data.
2. Be cautious: Migrating approvals can break workflows if contexts aren't present. It's often better to restart approval on the target. Possible by creating a custom data migration script to:
Export Knowledge Article (kb_knowledge)
Export related approvals (sysapproval_approver) and associate via document_id
3. Option 1 : Parse incoming data using Scripted REST API or IntegrationHub. Use GlideRecord or Flow Designer Actions to update: table_1, table_2, table_3, etc.
Option 2 : Use Import Set with Multiple Transform Maps
Set up 1 import set table, then Create multiple Transform Maps, each for a target table
4. Option A: UI Policies, Create UI Policies per role: Condition: gs.hasRole('admin') | Actions: Show/hide fields accordingly
Option B : Option B: Form Views, Create different views: Admin View: 50 fields & ITIL View: 20 fields
If my response solves your query, please marked helpful by selecting Accept as Solution and Helpful.