BusinessRule
Creates a Business Rule: logic that runs when database records are queried, updated,
Creates a Business Rule: logic that runs when database records are queried, updated,
Creates a Flow record (syshubflow) that defines a series of actions to execute when triggered.
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.
Creates a Scheduled Script Execution: a server-side script that runs automatically
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().
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).