Skip to main content

6 docs tagged with "automation"

View all tags

BusinessRule

Creates a Business Rule: logic that runs when database records are queried, updated,

Flow

Creates a Flow record (syshubflow) that defines a series of actions to execute when triggered.

Scheduled Script Guide

Create ServiceNow Scheduled Script Executions (sysauto_script) to run server-side logic on a time-based schedule. This guide covers all 11 frequency types, script file patterns, timezone handling, conditional execution, business calendar integration, and best practices.

ScheduledScript

Creates a Scheduled Script Execution: a server-side script that runs automatically

Subflow

Creates a reusable Subflow with typed inputs, outputs, and an optional body. Subflows are invoked from inside a Flow or another Subflow via wfa.subflow().

wfa

The wfa (Workflow Activity) namespace provides the core building blocks for defining Flows and Subflows. Use wfa.trigger() to start a flow, wfa.action() to execute built-in actions, and wfa.flowLogic for control flow (If/Else, ForEach, GoBackTo).