sndev.io / docs

execute

Run a manifest against your ServiceNow instance.

The execute command processes every step in a manifest sequentially: resolving $ref values from prior step results, validating inputs against the table schema, and calling the skill operation. Results are saved to .sn-results/ for use by validate and test.
sn execute <manifest.ts> [--warm-refs] [--depth N] [--no-required-only]

Run all manifest steps against the connected instance.

Arguments

NameRequiredDescription
manifest.tsYesPath to the manifest TypeScript file.

Flags

FlagDefaultDescription
--warm-refsPre-cache schemas for tables referenced in manifest inputs.
--depth N1Depth of reference-following for schema warming.
--no-required-onlyInclude optional fields when warming schema cache.

Examples

sn execute examples/test-business-rule/manifest.ts
Executing manifest: 3 steps
✓ my_rule business-rule create 0.8s
✓ my_test atf create_test 1.2s
✓ my_suite atf create_suite 0.6s
3/3 steps passed (2.6s)
Execute creates or updates real records on your instance. Always use a sub-production instance for development. All operations are idempotent — re-running the same manifest updates existing records rather than creating duplicates.