wfa
The core building blocks for defining Flows and Subflows.
import { wfa } from '@servicenow/sdk/automation'
Members
| Member | Description |
|---|---|
flowLogic | Control flow operators for branching, looping, and flow control (if, elseIf, else, forEach, waitForADuration, setFlowVariables, assignSubflowOutputs, endFlow, exitLoop, skipIteration). |
action | Execute a built-in action step and capture its typed outputs. Pass an action definition from the action built-ins. |
approvalDueDate | Define a due-date policy for an action.core.askForApproval step. |
approvalRules | Build a structured approval rules configuration for action.core.askForApproval. |
dataPill | Create a typed data pill reference to a prior step's output or trigger data. |
inlineScript | Define a server-side script inline as an action or subflow input. |
trigger | Register the trigger that starts the flow. Pass a trigger definition from the trigger built-ins. |