Skip to main content
Version: 4.5.0

wfa

The core building blocks for defining Flows and Subflows.

import { wfa } from '@servicenow/sdk/automation'

Members

MemberDescription
flowLogicControl flow operators for branching, looping, and flow control (if, elseIf, else, forEach, waitForADuration, setFlowVariables, assignSubflowOutputs, endFlow, exitLoop, skipIteration).
actionExecute a built-in action step and capture its typed outputs. Pass an action definition from the action built-ins.
approvalDueDateDefine a due-date policy for an action.core.askForApproval step.
approvalRulesBuild a structured approval rules configuration for action.core.askForApproval.
dataPillCreate a typed data pill reference to a prior step's output or trigger data.
inlineScriptDefine a server-side script inline as an action or subflow input.
triggerRegister the trigger that starts the flow. Pass a trigger definition from the trigger built-ins.