HR Leave · Australia

11 — Studio Practice Companion

Day-to-day Studio workflow — points to chapters 01–12. No external CLI.

Scopex_786686_hr_leave
sys_ide5f5bc9493a303507520703efaba104d
Instance labdev398980
URL token{BASE}
Quick open Visual map Studio Scripts portal

Visual map — Ch.11 · Studio daily practice

See in 10 seconds

Picker · update set · one artefact family

You build

Habit loop

Track

Development

PICKHR Leave
→
SETYours
→
EDITOne family
→
TESTThen next
✓ Glance picker every New✗ Studio edit if SDK owns it

Full visual path (all chapters): VISUAL_FROM_SCRATCH_00_16.html

Studio-only from scratch: Studio practice companion only. Build the core app via 01 Development and Studio Create All first.

Also open: Properties + Direct Links · Schema · Studio Create All Objects · Previous: 10 Implementation

How chapters map to Studio work

Part 1 daily workflow → Part 2 object-type table (chapters 01–12) → Part 3 scripts portal for paste-ready code.


Rule 0 — Before any object (Application + Update Set + Studio)

Repeat these checks before creating or editing any application file. This section is also section 00 Update Set — create the capture set first.

  1. Application picker — top-right globe / application menu → select HR Leave (x_786686_hr_leave). Never leave Global selected when creating scoped artifacts.
  2. Update Set — All → System Update Sets → Local Update Sets → New:
    FieldValue
    NameHR Leave – Build
    ApplicationHR Leave
    StateIn Progress
    DescriptionCaptures all HR Leave lab artifacts
    After submit: open the record → click Make Current. Direct list: {BASE}/sys_update_set_list.do
  3. Open Studio — {BASE}/$studio.do → confirm header shows HR Leave.

If artifacts land in Global scope, delete them and recreate under HR Leave. ACLs and events created globally will not behave correctly for this app.

Verify Update Set: Create a test Script Include in Studio → open HR Leave – Build → Related List Customer Updates shows the new file.


Part 1: Daily Workflow in Studio

Purpose

Repeatable steps every time you create or edit HR Leave artifacts.

Navigation path

Step-by-step create

  1. Set Application picker to HR Leave (x_786686_hr_leave).
  2. Set Local Update Set current (HR Leave – Build).
  3. Open Studio → select HR Leave.
  4. Create Application File → choose type (Table, Business Rule, Client Script, Script Include, …).
  5. Fill every form field from the matching chapter Part section.
  6. Paste script from embedded <pre> blocks or Scripts portal.
  7. Save → open list/form URL → run Verify + Demo for that Part.

Verify checklist

Demo / test

One object per session: create → verify → demo before moving on.


Part 2: Object Type → Chapter Map (01–12)

Purpose

Quick lookup: which chapter documents each ServiceNow object type.

ObjectStudio / NavigationChapter · Part
Application / Tables / SI / BR / CS / UIStudio → Create Application File01 Parts 1–15
Roles / Groups / Users / ACLs / PropertiesSecurity / User Administration02 Parts 1–6
Record Producer / CategoryService Catalog03 Parts 1–5
Portal widgets / PageService Portal04 Parts 1–3
UI Builder workspaceNow Experience → UI Builder05 Parts 1–4
Events / Notifications / JobsSystem Policy / System Definition06 Parts 1–3
Reports / DashboardReports / Dashboards07 Parts 1–2
ATFAutomated Test Framework08 Parts 1–4
Menu / Modules / FlowApplication Menus / Flow Designer09 Parts 1–3
Seed / UAT / Update SetBackground scripts / Update Sets10 Parts 1–4
Scripted RESTSystem Web Services12 Parts 1–4

Verify checklist


Part 3: Scripts Portal

Purpose

Browse paste-ready scripts mirrored from HR_Leave_App/src/ on disk.

Navigation path

Direct URL

Step-by-step create

  1. Open Scripts portal → find script by name (e.g. RP_submit_leave.js, annual_accrual.js).
  2. Copy from HTML pre block OR open chapter Part Full script section.
  3. Paste into Studio form Script field while Application = HR Leave.

Verify checklist

Demo / test

Practice companion verify checklist

  1. Workflow habit: picker + Update Set before every create.
  2. Object table bookmarked.
  3. Scripts portal used for paste source.